Thanks to all who helped me getting netCDF and ifort up and going. I am now trying to get the AGRIF version compiled. I have made some changes to the jobcomp file to try and get things going but I'm a bit stumped now.
I'm using the ifort compiler and netCDF 3.6.2.
The changes I made are:
set NETCDFLIB=-L/usr/local/lib
set NETCDFINC=-I/usr/local/include
changed to:
set NETCDFLIB=/usr/local/lib
set NETCDFINC=/usr/local/include
and then I commented out the following
#### if ($OS == Linux) then
#### if ($LINUX_FC == g77) then
#### if ($BITS == THIRTYTWO) then
#### set NETCDFLIB=-L../netcdf_g77/
#### set NETCDFINC=-I../netcdf_g77/
#### endif
#### else if ($LINUX_FC == ifort) then
#### if ($BITS == THIRTYTWO) then
#### set NETCDFLIB=-L../netcdf_ifc/
#### set NETCDFINC=-I../netcdf_ifc/
#### else
#### set NETCDFLIB=-L../netcdf_x86_64
#### set NETCDFINC=-I../netcdf_x86_64
#### endif
#### endif
#### endif
setenv CPPFLAGS1 "$NETCDFINC -IROMSFILES/AGRIF_INC"
changed to:
setenv CPPFLAGS1 "$NETCDFINC"
setenv CPP1 "fpp -traditional"
changed to:
setenv CPP1 "/opt/intel/fc/10.0.026/bin/fpp "
This is the output I get after those changes:
root@drew-linux:/home/drew/Programs/Matlab75/Roms_tools/Roms_Agrif# ./jobcomp_new
OPERATING SYSTEM IS: Linux
PROCESSOR IS: i686
file namelist.trc.sms exists in Run directory
/bin/rm -rf core *.o AGRIFZOOM/AGRIF_YOURFILES/*.o *.i *.s *.f *.trace *.mod
/bin/rm -rf roms mpc cross_matrix cppcheck srcscheck checkkwds partit ncjoin ncrename ./rii_files
/opt/intel/fc/10.0.026/bin/fpp -P /usr/local/include mpc.F > mpc_.f
include: fatal: can't fgets from file: include
make: *** [mpc] Error 1
/opt/intel/fc/10.0.026/bin/fpp -P /usr/local/include main.F | ./mpc > main_.f
/bin/sh: ./mpc: not found
include: fatal: can't fgets from file: include
make: *** [main.o] Error 127
mv: cannot stat `roms': No such file or directory
Any suggestions to how to go about this next debug? Thanks again.