Running CAM5 with COSP enabled. Unable to build with modified source code

baih

New Member
Hi everyone,I'm running CAM5 with cosp enabled. I was successful running the model with source code untouched. But i was unable to build the case if i added modified source code file, cosp_constants.F90, into src.cam. I was unable to build the case even when i only copied the original cosp_constants.F90 and left it unchanged.Here's the error reported:/scratch/user/baisy/cesm1_2_2/models/atm/cam/src/utils/fft99.F90(310): remark #5140: Unrecognized directive!DIR$ CONCURRENT
/scratch/user/baisy/cesm1_2_2/models/atm/cam/src/physics/cam/qneg3.F90(68): remark #5140: Unrecognized directive!DIR$ preferstream
/scratch/user/baisy/cesm1_2_2/models/atm/cam/src/physics/cam/phys_grid.F90(1969): remark #5140: Unrecognized directive!dir$ concurrent
/scratch/user/baisy/cesm1_2_2/models/atm/cam/src/physics/cam/hk_conv.F90(610): remark #5140: Unrecognized directive!DIR$ CONCURRENT
/scratch/user/baisy/cesm1_2_2/models/atm/cam/src/physics/cam/cldwat.F90(1050): remark #5140: Unrecognized directive!DIR$ CONCURRENT
/scratch/user/baisy/cesm1_2_2/models/atm/cam/src/physics/cam/cldwat.F90(1020): remark #7713: This statement function has not been used.   [HEAVY]   real(r8) heavy, heavym, a1, a2, heavyp, heavymp
/scratch/user/baisy/cesm1_2_2/models/atm/cam/src/physics/cam/dadadj.F90(132): remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'.810   format(//,'DADADJ: Convergence criterion doubled to EPS=',E9.4, &-----------------------------------------------------------------^/scratch/user/baisy/cesm1_2_2/models/atm/cam/src/physics/cam/dadadj.F90(131): remark #8291: Recommended relationship between field width 'W' and the number of fractional digits 'D' in this edit descriptor is 'W>=D+7'.800   format(' lat,lon = ',2i5,', zeps= ',e9.4)
/scratch/user/baisy/cesm1_2_2/models/atm/cam/src/control/cam_history.F90(5193): remark #5082: Directive ignored - Syntax error, found IDENTIFIER 'NEVER' when expecting one of: RECURSIVE ;!dir$ INLINENEVER gen_hash_key
/scratch/user/baisy/cesm1_2_2/scripts/COSP_CAM5/SourceMods/src.cam/cospsimulator_intr.F90(620): error #6633: The type of the actual argument differs from the type of the dummy argument.                   flag_xyfill=.true., mdimnames=(/'cosp_tau','cosp_prs'/), fill_value=R_UNDEF) 
if you have any idea about what the error, or about how to change source code for COSP, please reply! Anything will be appreciated!
Thanks a lot,Qiu
 

Yingying

Yingying Feng
New Member
Hi Qiu,

Did you have any idea about this error? I met similar error "remark #5082: Directive ignored - Syntax error, found IDENTIFIER 'NEVER' when expecting one of: RECURSIVE ". Any suggestions is highly appreciable!

Sincerely,
Ying
 

slevis

Moderator
Staff member
I will try to be helpful, although I do not know what you are trying to do. The error says "found NEVER, expecting RECURSIVE" so maybe you should try your code modification using RECURSIVE instead of NEVER and see if it works.
 
Back
Top