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

SD-WACCM and ESMF

We are trying to build the compset F_SD_WACCM (FSDW), and it requires ESMF; with ESMF 5.2.0p2 I get this error:

/shared/ucl/apps/cesm/cesm1_0_4/models/csm_share/shr/shr_cal_mod.F90(48): error #7002: Error in opening the compiled module file
. Check INCLUDE paths. [ESMF_MOD]
use esmf_mod
-------^
/shared/ucl/apps/cesm/cesm1_0_4/models/csm_share/shr/shr_cal_mod.F90(194): error #6457: This derived type name has not been declared. [ESMF_TIME]
type(ESMF_time) :: ltime1,ltime2
--------^
/shared/ucl/apps/cesm/cesm1_0_4/models/csm_share/shr/shr_cal_mod.F90(253): error #6457: This derived type name has not been declared. [ESMF_TIME]
type(ESMF_time) :: ltime1,ltime2
--------^
/shared/ucl/apps/cesm/cesm1_0_4/models/csm_share/shr/shr_cal_mod.F90(393): error #6457: This derived type name has not been declared. [ESMF_TIME]
type(ESMF_Time) :: ltime
--------^
... (more cut)

while building csm_share.

Looking in the modules directory for ESMF, there is no esmf_mod.mod, only an esmf.mod.
(esmf_mod is part of version 3.x of ESMF.)
 

santos

Member
Francis Vitt has mentioned that you can work around the ESMF requirement by using the NOLEAP calendar rather than Gregorian, while using solar_parms datasets without leap days in them. (There's a related known issue mentioned here: http://www.cesm.ucar.edu/models/cesm1.0/tags/cesm1_0_4/minor3.html )

Failing that, your best bet may be to fall back to a previous ESMF version. This will be fixed in 1.1, because CESM no longer depends on an external ESMF.
 
Top