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

Building Error - CESM2.1.4 on Derecho

cskinner

New Member
Hi,

From a previous post, I saw that CESM2.1.4 has been ported to Derecho. I checked out cesm2.1.4 via "git checkout release-cesm2.1.4".

I created a new case (B1850 compset) but run into an error during the build stage.

The error message is:
ERROR: BUILD FAIL: cism.buildlib failed, cat /glade/derecho/scratch/cskinner/b.day1.0/bld/glc.bldlog.230928-132108

Do I need to follow any additional steps to get this version of CESM running on Derecho?

Thank you!
Chris
 

jedwards

CSEG and Liaisons
Staff member
The required change is well documented in the error file:
/glade/u/home/cskinner/my_cesm_sandbox/components/cism/source_cism/libglimmer/writestats.c:70:10: note: include the header <ctype.h>

Simply add #include <ctype.h> at the top of file writestats.c
 

Ming Chen

Ming Chen
New Member
Just wonder which CAM version can be run in Derecho? Currently I am running CAM6_3_059 with MPAS dynamic core in Cheyenne. I tried to run it in Derecho but the colde failed to compile.
Any suggestions will be highly appreciated.
 

Ming Chen

Ming Chen
New Member
Jim,
Thank you for the kind information. I have checked out CESM2_3_beta15. However, my attempt to compile the code failed. In the log file, I can find the error message:

Code:
Lmod has detected the following error: The following module(s) are unknown:
"xxdiff"
Please check the spelling or version number. Also try "module spider ..."
It is also possible your cache file is out-of-date; it may help to try:
$ module --ignore_cache load "xxdiff"
Also make sure that all modulefiles written in TCL start with the string
#%Module
Lmod has detected the following error: The following module(s) are unknown:
"grib-bins"

The log file ended with
Code:
Create namelist for component cam
Calling /glade/derecho/scratch/chenming/cesm2_3_beta15/components/cam//cime_config/buildnml
  ...calling cam buildcpp to set build time options

I have the script and log files saved in /glade/work/chenming/MMM/csh/ (test.csh and test.log).

I am not sure what is wrong. It will be highly appreciated if you have any suggestion how to fix the issue. Thanks in advance.

Ming
 

Ming Chen

Ming Chen
New Member
By the way, I have tried the command " qcmd -A $proj -- ./case.build" and "./case.build', none of them work. Thanks again.
 

jedwards

CSEG and Liaisons
Staff member
I'm sorry - your csh scripts are not part of the cesm distribution, I am not responsible for debugging them.
xxdiff is available on derecho without the use of a module load command, I have no idea about grib-bins.

If you were using the cesm tools directly instead of through the script you would see the error:

ERROR: No default value found for drydep_srf_file
I believe that you can set
drydep_srf_file="$DIN_LOC_ROOT/atm/cam/chem/trop_mam/atmsrf_mpasa15_20210804.nc"
in user_nl_cam

to get past this issue.
 

sqd

Suqin Duan
New Member
Hello, I am using cesm2.1.4-rc.08, which seems to be not running on derecho. Then, I followed the threads here and tried:

1) git checkout CESM2_3_beta15
2) added #include <ctype.h> at the top of file writestats.c

Yet, I still get the error:

Create namelist for component cism
Running /glade/work/USERNAME/cesm2.1.4-rc.08/components/cism//cime_config/buildnml
Died at /glade/work/USERNAME/cesm2.1.4-rc.08/components/cism//bld/build-namelist line 1009.
ERROR: For cism_phys = cism2, allowable grids are: gland20, gland4
Current value of GLC_GRID is: gris4
ERROR cism buildnml: /glade/work/USERNAME/cesm2.1.4-rc.08/components/cism//bld/build-namelist -infile ...

Does anyone have insight for it?

Thanks!
 
Top