Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

CAM5 off line simulation building error

I want to run CAM5 off-line simulation using CESM1.2.0 with compset FC5 and MERRA meteorology fields.
I set the model run as follows:

In env_build.xml:
set CAM_CONFIG_OPTS to "-phys cam5 -offline_dyn -nlev 56"
set USE_ESMF_LIB to "TRUE"
set CALENDAR to "GREGORIAN"

In env_run.xml:
set RUN_STARTDATE to "2000-01-01"

In user_nl_cam:
ncdata = '/ocean2/zth/inputdata/atm/cam/inic/fv/camchem_ic_2008-01-01_1.9x2.5_L56_c110118.nc'
bnd_topo = '/ocean2/zth/inputdata/atm/cam/met/USGS-gtopo30_1.9x2.5_phys_merra_c101026.nc'
met_data_file = 'MERRA_19x2_20000101.nc'
met_data_path = '/ocean2/zth/inputdata/atm/cam/met/MERRA'
met_filenames_list = '/ocean2/zth/inputdata/atm/cam/met/MERRA_filenames_list.txt'

when I build the case,there are some errors as follows:

CESM BUILDEXE SCRIPT STARTING
COMPILER is pgi
- Build Libraries: mct gptl pio csm_share
Mon Jul 21 15:48:22 CST 2014 /ocean2/liurj/merra_FC5/bld/mct/mct.bldlog.140721-154817
ERROR: buildlib.mct failed, see /ocean2/liurj/merra_FC5/bld/mct/mct.bldlog.140721-154817
ERROR: cat /ocean2/liurj/merra_FC5/bld/mct/mct.bldlog.140721-154817

#cat /ocean2/liurj/merra_FC5/bld/mct/mct.bldlog.140721-154817

Mon Jul 21 15:48:22 CST 2014 /ocean2/liurj/merra_FC5/bld/mct/mct.bldlog.140721-154817
Copying source to CCSM EXEROOT...
New build of MCT
Running configure...
for OS=Linux.intel MACH=sharp
cat: Filepath: No such file or directory
/home/liurj/cesm1_2_0/scripts/merra_FC5/Tools/Makefile:465: undefined_CCSM_ESMFMKFILE: No such file or directory
cat: Srcfiles: No such file or directory
/home/liurj/cesm1_2_0/scripts/merra_FC5/Tools/mkSrcfiles
cp -f /share/ocean2/liurj/merra_FC5/bld/mct/Filepath /share/ocean2/liurj/merra_FC5/bld/mct/Deppath
/home/liurj/cesm1_2_0/scripts/merra_FC5/Tools/mkDepends Deppath Srcfiles > /share/ocean2/liurj/merra_FC5/bld/mct/Depends
gmake: *** No rule to make target `undefined_CCSM_ESMFMKFILE'. Stop.
cp: cannot stat `Makefile.conf': No such file or directory
Makefile:4: Makefile.conf: No such file or directory
gmake: *** No rule to make target `Makefile.conf'. Stop.


But if I set USE_ESMF_LIB to "FALSE",there are no errors when building the case.
So,I think maybe there are some errors with ESMF. I reinstall ESMF,but can not fix this problem.
Can any one give me some suggestions,Thank you!
 

santos

Member
I don't have much experience with the ESMF build, but I think that you need to set ESMF_LIBDIR to the location of your ESMF directory.
 

santos

Member
I don't have much experience with the ESMF build, but I think that you need to set ESMF_LIBDIR to the location of your ESMF directory.
 
Thanks for your suggestion!I have one more question confused.as mentioned above, I set ncdata = '/ocean2/zth/inputdata/atm/cam/inic/fv/camchem_ic_2008-01-01_1.9x2.5_L56_c110118.nc'but I want to run this off-line simulation from 2000-01-01, I am not sure if this IC file is right for my case, is it ok?Thank you!  Best wishes!
 
Thanks for your suggestion!I have one more question confused.as mentioned above, I set ncdata = '/ocean2/zth/inputdata/atm/cam/inic/fv/camchem_ic_2008-01-01_1.9x2.5_L56_c110118.nc'but I want to run this off-line simulation from 2000-01-01, I am not sure if this IC file is right for my case, is it ok?Thank you!  Best wishes!
 

tilmes

Member
Hi Liurj,you can use this IC file, but it is always good to run one year spinup to produce your own IC file for the specific year and conditions you are running with.Simone 
 

tilmes

Member
Hi Liurj,you can use this IC file, but it is always good to run one year spinup to produce your own IC file for the specific year and conditions you are running with.Simone 
 
Top