smrkafle1@gmail_com
New Member
Dear CESMs,I am trying to modify some CAM5 model routines (radsw.F90 and cam_comp.F90) to incorporate some satellite data. As instructed in CESM1.0.4 user manual under a section called "User-modified source code", I placed my modified routines (radsw.F90 and cam_comp.F90) in /CAM5checkn/SourceMods/src.cam/. When I try building the case (CAM5checkn) it always gives me following errors,CCSM BUILDEXE SCRIPT STARTING
- Build Libraries: mct pio csm_share
Thu Jul 18 12:38:48 PDT 2013 /oasis/tscc/scratch/dkafle/CAM5checkn/mct/mct.bldlog.130718-123845
Thu Jul 18 12:38:49 PDT 2013 /oasis/tscc/scratch/dkafle/CAM5checkn/pio/pio.bldlog.130718-123845
Thu Jul 18 12:38:50 PDT 2013 /oasis/tscc/scratch/dkafle/CAM5checkn/csm_share/csm_share.bldlog.130718-123845
Thu Jul 18 12:38:51 PDT 2013 /oasis/tscc/scratch/dkafle/CAM5checkn/run/cpl.bldlog.130718-123845
Thu Jul 18 12:38:51 PDT 2013 /oasis/tscc/scratch/dkafle/CAM5checkn/run/atm.bldlog.130718-123845
ERROR: cam.buildexe.csh failed, see /oasis/tscc/scratch/dkafle/CAM5checkn/run/atm.bldlog.130718-123845
ERROR: cat /oasis/tscc/scratch/dkafle/CAM5checkn/run/atm.bldlog.130718-123845Please also note, at the beginning, I created a newcase as below,create_newcase -case CAM5checkn -res f19_f19 -compset F_2000_CAM5 -mach generic_linux_intel -scratchroot /oasis/tscc/scratch/dkafle -din_loc_root_csmdata /home/dkafle/inputdata -max_tasks_per_node 16Also few lines from "atm.bldlog.130718-123845" files are as,Thu Jul 18 12:38:51 PDT 2013 /oasis/tscc/scratch/dkafle/CAM5checkn/run/atm.bldlog.130718-123845
/home/dkafle/cesm1_0_4/scripts/CAM5checkn/Tools/mkSrcfiles > /oasis/tscc/scratch/dkafle/CAM5checkn/atm/obj/Srcfiles
cp -f /oasis/tscc/scratch/dkafle/CAM5checkn/atm/obj/Filepath /oasis/tscc/scratch/dkafle/CAM5checkn/atm/obj/Deppath
/home/dkafle/cesm1_0_4/scripts/CAM5checkn/Tools/mkDepends Deppath Srcfiles > /oasis/tscc/scratch/dkafle/CAM5checkn/atm/obj/DependsAt the end,/home/dkafle/cesm1_0_4/scripts/CAM5checkn/SourceMods/src.cam/radsw.F90(729): error #5082: Syntax error, found '[' when expecting one of: ; BLOCK BLOCKDATA PROGRAM MODULE TYPE INTEGER REAL ...
[MAXVAL(Absp),MINVAL(Absp),MAXVAL(Sfc),MINVAL(Sfc),MAXVAL(solar),MINVAL(solar)]
-^
/home/dkafle/cesm1_0_4/scripts/CAM5checkn/SourceMods/src.cam/radsw.F90(729): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: % . = =>
[MAXVAL(Absp),MINVAL(Absp),MAXVAL(Sfc),MINVAL(Sfc),MAXVAL(solar),MINVAL(solar)]
--------------------------------------------------------------------------------^
compilation aborted for /home/dkafle/cesm1_0_4/scripts/CAM5checkn/SourceMods/src.cam/radsw.F90 (code 1)
gmake: *** [radsw.o] Error 1
gmake: *** Waiting for unfinished jobs....
/home/dkafle/cesm1_0_4/models/atm/cam/src/physics/cam/modal_aer_opt.F90(748): warning #7919: The value was too small when converting to REAL(KIND=4); the result is zero. [1.E-40]
if (wetvol(i) > 1.e-40) crefin(i) = crefin(i)/wetvol(i)Can anyone please suggest me how I correct these errors? Your help on this would be highly appreciated.Thank youDK
- Build Libraries: mct pio csm_share
Thu Jul 18 12:38:48 PDT 2013 /oasis/tscc/scratch/dkafle/CAM5checkn/mct/mct.bldlog.130718-123845
Thu Jul 18 12:38:49 PDT 2013 /oasis/tscc/scratch/dkafle/CAM5checkn/pio/pio.bldlog.130718-123845
Thu Jul 18 12:38:50 PDT 2013 /oasis/tscc/scratch/dkafle/CAM5checkn/csm_share/csm_share.bldlog.130718-123845
Thu Jul 18 12:38:51 PDT 2013 /oasis/tscc/scratch/dkafle/CAM5checkn/run/cpl.bldlog.130718-123845
Thu Jul 18 12:38:51 PDT 2013 /oasis/tscc/scratch/dkafle/CAM5checkn/run/atm.bldlog.130718-123845
ERROR: cam.buildexe.csh failed, see /oasis/tscc/scratch/dkafle/CAM5checkn/run/atm.bldlog.130718-123845
ERROR: cat /oasis/tscc/scratch/dkafle/CAM5checkn/run/atm.bldlog.130718-123845Please also note, at the beginning, I created a newcase as below,create_newcase -case CAM5checkn -res f19_f19 -compset F_2000_CAM5 -mach generic_linux_intel -scratchroot /oasis/tscc/scratch/dkafle -din_loc_root_csmdata /home/dkafle/inputdata -max_tasks_per_node 16Also few lines from "atm.bldlog.130718-123845" files are as,Thu Jul 18 12:38:51 PDT 2013 /oasis/tscc/scratch/dkafle/CAM5checkn/run/atm.bldlog.130718-123845
/home/dkafle/cesm1_0_4/scripts/CAM5checkn/Tools/mkSrcfiles > /oasis/tscc/scratch/dkafle/CAM5checkn/atm/obj/Srcfiles
cp -f /oasis/tscc/scratch/dkafle/CAM5checkn/atm/obj/Filepath /oasis/tscc/scratch/dkafle/CAM5checkn/atm/obj/Deppath
/home/dkafle/cesm1_0_4/scripts/CAM5checkn/Tools/mkDepends Deppath Srcfiles > /oasis/tscc/scratch/dkafle/CAM5checkn/atm/obj/DependsAt the end,/home/dkafle/cesm1_0_4/scripts/CAM5checkn/SourceMods/src.cam/radsw.F90(729): error #5082: Syntax error, found '[' when expecting one of: ; BLOCK BLOCKDATA PROGRAM MODULE TYPE INTEGER REAL ...
[MAXVAL(Absp),MINVAL(Absp),MAXVAL(Sfc),MINVAL(Sfc),MAXVAL(solar),MINVAL(solar)]
-^
/home/dkafle/cesm1_0_4/scripts/CAM5checkn/SourceMods/src.cam/radsw.F90(729): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: % . = =>
[MAXVAL(Absp),MINVAL(Absp),MAXVAL(Sfc),MINVAL(Sfc),MAXVAL(solar),MINVAL(solar)]
--------------------------------------------------------------------------------^
compilation aborted for /home/dkafle/cesm1_0_4/scripts/CAM5checkn/SourceMods/src.cam/radsw.F90 (code 1)
gmake: *** [radsw.o] Error 1
gmake: *** Waiting for unfinished jobs....
/home/dkafle/cesm1_0_4/models/atm/cam/src/physics/cam/modal_aer_opt.F90(748): warning #7919: The value was too small when converting to REAL(KIND=4); the result is zero. [1.E-40]
if (wetvol(i) > 1.e-40) crefin(i) = crefin(i)/wetvol(i)Can anyone please suggest me how I correct these errors? Your help on this would be highly appreciated.Thank youDK