Problem building with COSP in CESM1.0.6

jedwards

CSEG and Liaisons
Staff member
This error looks as if you are not running the cpp preprocessor on the file before trying to run it through the fortran compiler.  What does the compile line look like for file pspect.F90?What compiler and version are you using
 
Thanks for the quick reply!  Is the file "sst_HadOIBl4k_bc_1.9x2.5_1850_2012_c140320.nc" one that you created yourself (e.g. adding 4K yourself using an NCO operator) or is it a file that is readily available?  
 
Hi, is this the line you are referring to (it's from atm.bldlog.160721-085642)?   mpif90 -c -I.  -I/glade/apps/opt/netcdf/4.3.0/intel/13.1.2/include -I/glade/apps/opt/netcdf/4.3.0/intel/13.1.2/include -I/include -I/glade/apps/opt/pnetcdf/1.4.1/intel/13.1.2/include -I. -I/glade/scratch/ivytan/Control_amip4k/SourceMods/src.cam -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/chemistry/pp_trop_mam3 -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/chemistry/modal_aero -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/chemistry/mozart -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/chemistry/bulk_aero -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/chemistry/utils -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/physics/rrtmg -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/physics/rrtmg/ext/rrtmg_mcica -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/physics/rrtmg/ext/rrtmg_lw -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/physics/rrtmg/ext/rrtmg_sw -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/physics/cam -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/dynamics/fv -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/cpl_mct -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/cpl_share -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/control -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/utils -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/utils/pilgrim -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/physics/cosp -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/physics/icarus-scops -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/physics/cosp/quickbeam -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/physics/cosp/actsim -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/physics/cosp/llnl -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/physics/cosp/MISR_simulator -I/glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/physics/cosp/MODIS_simulator -I/glade/scratch/ivytan/Control_amip4k/lib/include  -DLINUX -DSEQ_ -DFORTRANUNDERSCORE -DNO_MPI2 -fpp -fp-model source -convert big_endian -assume byterecl -ftz -traceback -O2 -FR   /glade/p/cesm/releases/cesm1_0_6/models/atm/cam/src/control/pspect.F90
 
Back
Top