koichi_sakaguchi@pnnl_gov
Member
Dear all,
I'm trying to run CAM5-CLM4.0 coupled simulation using cesm2.1.
To use CLM4.0 with satellite phenology, I made the following change in env_build.xml:
./xmlchange --append CLM_CONFIG_OPTS="-phys clm4_0 -bgc none"
I also added the following to use the simple year 2000 surface data
./xmlchange CLM_NML_USE_CASE='2000_control'
With these changes, the clm itself is successfully compiled. But case.build fails while cesm.exe is being built.
The cesm log file says
"gmake: *** No rule to make target '../../intel/mpt/nodebug/nothreads/mct/noesmf/lib/libclm.a', needed by '/global/cscratch1/sd/ksa/simulation/MPAS/cesm21/cam5
4-clm4_test01_mp120a/bld/cesm.exe'. Stop."
Indeed the clm library file is not located in ${casename}/bld/intel/mpt/nodebug/nothreads/mct/noesmf/lib/libclm.a, but it is in ${casename}/bld/lib, along with other libraries for other model components:
include/ libatm.a libclm.a libesp.a libglc.a libice.a libocn.a librof.a libwav.a
When I build cesm2.1 with CLM5.0, then I see the libclm.a file in
${casename}/bld/intel/mpt/nodebug/nothreads/mct/noesmf/lib
where I also see the following subdirectories
c1a1l1i1o1r1g1w1e1/ clm/ include/ lib/
(When I try to build cesm2.1 with CLM4.0, the last three directories (clm/ include/ lib/) do not exist here; I see only c1a1l1i1o1r1g1w1e1/)
So it seems that case.build does not know where clm is installed when CLM4.0 is used.
Could you point me to the file(s) I can modify so that cesm2.1 can be build with the CLM4.0 physics?
I cannot use a later version of CESM2 since we have significantly modified the CAM source code in our cesm2.1 copy.
Thanks in advance,
Koichi
I'm trying to run CAM5-CLM4.0 coupled simulation using cesm2.1.
To use CLM4.0 with satellite phenology, I made the following change in env_build.xml:
./xmlchange --append CLM_CONFIG_OPTS="-phys clm4_0 -bgc none"
I also added the following to use the simple year 2000 surface data
./xmlchange CLM_NML_USE_CASE='2000_control'
With these changes, the clm itself is successfully compiled. But case.build fails while cesm.exe is being built.
The cesm log file says
"gmake: *** No rule to make target '../../intel/mpt/nodebug/nothreads/mct/noesmf/lib/libclm.a', needed by '/global/cscratch1/sd/ksa/simulation/MPAS/cesm21/cam5
4-clm4_test01_mp120a/bld/cesm.exe'. Stop."
Indeed the clm library file is not located in ${casename}/bld/intel/mpt/nodebug/nothreads/mct/noesmf/lib/libclm.a, but it is in ${casename}/bld/lib, along with other libraries for other model components:
include/ libatm.a libclm.a libesp.a libglc.a libice.a libocn.a librof.a libwav.a
When I build cesm2.1 with CLM5.0, then I see the libclm.a file in
${casename}/bld/intel/mpt/nodebug/nothreads/mct/noesmf/lib
where I also see the following subdirectories
c1a1l1i1o1r1g1w1e1/ clm/ include/ lib/
(When I try to build cesm2.1 with CLM4.0, the last three directories (clm/ include/ lib/) do not exist here; I see only c1a1l1i1o1r1g1w1e1/)
So it seems that case.build does not know where clm is installed when CLM4.0 is used.
Could you point me to the file(s) I can modify so that cesm2.1 can be build with the CLM4.0 physics?
I cannot use a later version of CESM2 since we have significantly modified the CAM source code in our cesm2.1 copy.
Thanks in advance,
Koichi