New installation of CESM2.2 on Derecho

James King

James King
Member
Hi,

I’m trying to install and test CESM2.2 on Derecho. I’ve followed the steps on the UCAR wiki [https://wiki.ucar.edu/display/camchem/Run+CESM+with+Chemistry+on+Derecho] but run into issues on the final step:

git checkout release-cesm2.2.01/hist_opt

This does not appear to exist, nor is there a ‘hist_opt’ in any of the available cesm2.2.0 releases that I can see.

Omitting this step allows me to install CESM2.2 in the usual way. However, I am unable to build a case on Derecho as there is a failure of the build scripts somewhere in CLM. The Wiki instructions imply to me that the last few steps are some sort of CLM patch but they appear to be out of date. I’ve attached the CLM build log from the attempted build which failed. Any advice on what might be going wrong here would be appreciated, and a heads-up that that wiki page probably needs updating.

Thanks,

James
 

Attachments

jedwards

CSEG and Liaisons
Staff member
You need two changes to build this version of cism on derecho:

In file libglimmer/writestats.c. add #include <ctype.h>

in file cism/cime_config/buildlib. change:
-my $sysmod = "$GMAKE $glc_dir/Makefile MODEL=cism USER_CMAKE_OPTS=\"$cmake_opts\" USER_MKDEPENDS_OPTS=\"$mkdepends_opts\" GLCROOT=$GLCROOT GLC_DIR=$glc_dir -f $CASETOOLS/Makefile EXEROOT=$EXEROOT $GMAKE_OPTS";

to

+my $sysmod = "$GMAKE GLCMakefile MODEL=cism USER_CMAKE_OPTS=\"$cmake_opts\" USER_MKDEPENDS_OPTS=\"$mkdepends_opts\" GLCROOT=$GLCROOT GLC_DIR=$glc_dir -f $CASETOOLS/Makefile EXEROOT=$EXEROOT $GMAKE_OPTS";
 
Back
Top