gouravsaha1995 / GEOS-Chem-Adjoint

0 stars 0 forks source link

Compilation issue during executing geos_chem_adj_mod.f file #1

Open gouravsaha1995 opened 1 year ago

gouravsaha1995 commented 1 year ago

v/GEOS-Chem-Libraries/opt/ifort/nc4/include -L/home/cas/irdstaff/ird600165/scratch/gourav/GEOS-Chem-Libraries/opt/ifort/nc4/lib -c -r8 adjoint/geos_chem_adj_mod.f adjoint/geos_chem_adj_mod.f(3856): error #5082: Syntax error, found '&' when expecting one of: ( ... FILENAME = 'home/cas/irdstaff/ird600165/scratch/' // & -----------------------------------------------------------^ adjoint/geos_chem_adj_mod.f(3857): error #5120: Unterminated character constant 'gourav/CO2_Code/ctm/GEOS_4x5/CO2_202206/PriorErrMip10/sf3d.C -----------^ adjoint/geos_chem_adj_mod.f(3857): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: ( 'gourav/CO2_Code/ctm/GEOS_4x5/CO2_202206/PriorErrMip10/sf3d.C ------------------------------------------------------------------------^ adjoint/geos_chem_adj_mod.f(3858): error #5082: Syntax error, found '//' when expecting one of: ( '01' // '01' // '.bpch' Read data from the binary punch file ----------------^ adjoint/geos_chem_adj_mod.f(3858): error #5082: Syntax error, found IDENTIFIER 'READDATAFROMTHEBINARYPUNCHFILE' when expecting one of: ( ) :: , ; . (/ + - : ] /) ' / // > .LT. ... '01' // '01' // '.bpch' Read data from the binary punch file -----------------------------------^ compilation aborted for adjoint/geos_chem_adj_mod.f (code 1) make: [geos_chem_adj_mod.o] Error 1

gouravsaha1995 commented 1 year ago
  ! 2. Land Prior Error: change for 4 prior models !!!!!!
  ! read in spatial error map
  FILENAME = 'home/cas/irdstaff/ird600165/scratch/' // &
       'gourav/CO2_Code/ctm/GEOS_4x5/CO2_202206/PriorErrMip10/sf3d.CT19B.' // YEAR_STR // &
       '01' // '01' // '.bpch'

This is my code