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

./case.setup error: CESM2.1.5 on Niagara cluster

MS_CLM

New Member
I'm trying to compile CESM2.1.5 as a test-case on Niagara cluster (based in Univ. of Toronto) as follows:

./create_newcase --case $SCRATCH/TEST_cesm2.1.5_cam --res T42z30_T42_mg17 --compset FDABIP04 --mach niagara #done
./case.setup #this step gives a xs:boolean-related error -- please see below.

On Niagara cluster, I'm loading the following modules to build/compile the model:
modules.png


Any suggestions please?

Is that related to the version of the model?
-- I'm not sure, as this error is NOT given for cesm2.2.2 using the above machines --> config_machines.xml. However, the error is different for cesm2.2.2, and occurs in last step: ./case.build as follows:
[ /gpfs/fs1/home/c/cgf/msol/cesm_2_2/CESM/components/cice/src/drivers/mct/ice_comp_mct.F90(570): error #6404: This name does not have a type, and must have an explicit type. /gpfs/fs1/home/c/cgf/msol/cesm_2_2/CESM/components/cice/src/drivers/mct/ice_comp_mct.F90(592): error #6404: This name does not have a type, and must have an explicit type.
Component ice build complete with 1 warnings cice built in 300.938456 seconds
ERROR: BUILD FAIL: cice.buildlib failed, cat /scratch/c/cgf/msol/cesm_2_2/runs/TEST_cesm_2_2_atm/bld/ice.bldlog.240124-125403
]
According to: Model Releases | Community Earth System Model, we prefer to use ''the supported CESM production release is CESM 2.1.5''

It seems that, the error is related to the compilers maybe? If so, do you see any conflict/issue in the above modules loaded to compile the model in terms of e.g., different versions,...?


Any suggestion/assistance is highly appreciated.

Thank you,
Mohsen

=========== ./case.setup error =========
ERROR: Command: '/usr/bin/xmllint --noout --schema /gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/xml_schemas/config_compilers_v2.xsd /gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml' failed with error '/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:79: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'FALSE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:94: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'FALSE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:110: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:126: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:146: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:161: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:162: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:191: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:193: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:204: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:205: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:212: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:229: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:235: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:244: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:285: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'FALSE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:299: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'FALSE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:317: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:353: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:364: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:381: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:424: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:425: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:459: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'FALSE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:611: element PFUNIT_PATH: Schemas validity error : Element 'PFUNIT_PATH', attribute 'compile_threaded': 'FALSE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:612: element PFUNIT_PATH: Schemas validity error : Element 'PFUNIT_PATH', attribute 'compile_threaded': 'TRUE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:736: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'FALSE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:746: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'FALSE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:749: element append: Schemas validity error : Element 'append', attribute 'compile_threaded': 'FALSE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:900: element PFUNIT_PATH: Schemas validity error : Element 'PFUNIT_PATH', attribute 'compile_threaded': 'FALSE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml:922: element PFUNIT_PATH: Schemas validity error : Element 'PFUNIT_PATH', attribute 'compile_threaded': 'FALSE' is not a valid value of the atomic type 'xs:boolean'.
/gpfs/fs1/home/c/cgf/msol/my_cesm2.1.5/cime/config/cesm/machines/config_compilers.xml fails to validate' from dir '/gpfs/fs0/scratch/c/cgf/msol/TEST_cesm2.1.5_cam'

==================================
 

jedwards

CSEG and Liaisons
Staff member
It seems that you have upcased all of the boolean values in your config_compilers.xml file. Correct this problem by reverting to the lower case values that the file shipped with.

As for the modules you are loading they are very old and you should consider updating your entire software stack, in particular:
intel compiler (newer versions are free to download, no excuse to use this 8 year old version)
netcdf 4.9.2 recommended
pnetcdf 1.12.3 recommended
hdf5 1.12.2 recommended
openmpi (have you considered impi?) at least version 4 but 5 is now available.
 

MS_CLM

New Member
It seems that you have upcased all of the boolean values in your config_compilers.xml file. Correct this problem by reverting to the lower case values that the file shipped with.

As for the modules you are loading they are very old and you should consider updating your entire software stack, in particular:
intel compiler (newer versions are free to download, no excuse to use this 8 year old version)
netcdf 4.9.2 recommended
pnetcdf 1.12.3 recommended
hdf5 1.12.2 recommended
openmpi (have you considered impi?) at least version 4 but 5 is now available.

Thank you for the suggestions.
I tried to load/use almost the latest versions of different modules available on Niagara cluster -- please see below, my modules loaded in --> config_machines.xml are as follows:

config_machines.png

It gives error in --> ./create.newcase

create.newcase_error.png

Any suggestions please?
 

jedwards

CSEG and Liaisons
Staff member
It says that your config_machines.xml file has an error at line 88. I don't think I see that line in what you have provided.
 

MS_CLM

New Member
It says that your config_machines.xml file has an error at line 88. I don't think I see that line in what you have provided.
Thank you. It worked.
Now, I tried to compile cesm2.2, and it gives an error in ./case.build -- please see below:

case.build_error.png

Any suggestions please?

The first and second steps worked well:
./create_newcase --case $SCRATCH/TEST_cesm2.2_cam --res T42z30_T42_mg17 --compset FDABIP04 --mach niagara
./case.setup
But, it gives the above error in --> ./case.build
 
Top