Main menu

Navigation

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

1 post / 0 new
baisy@...
Running CAM5 with COSP enabled. Unable to build with modified source code

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 <END-OF-STATEMENT> ;

!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

Who's new

  • 935881015@...
  • zwolff@...
  • daigk@...
  • kimberly.a.casey@...
  • qin-y14@...