cism.buildlib failed for CESM2.1.4 on Derecho

Shuai Li

Shuai Li
New Member
When I tried to build a case on Derecho, I got failed with CISM, the error message is as follows.
ERROR: BUILD FAIL: cism.buildlib failed, cat /glade/derecho/scratch/shuail/Test1_f2000climo/bld/glc.bldlog.231005-102922

After type "cat /glade/derecho/scratch/shuail/Test1_f2000climo/bld/glc.bldlog.231005-102922", the error message is as follows.

ERROR cism.buildexe: gmake -j 16 failed: 512

The version of CESM I am using is 2.1.4.

I am a novice, can you provide me with a detailed solution (how to operate)?
If necessary, please refer to the file attached below.
 

Attachments

jedwards

CSEG and Liaisons
Staff member
The error message is:
/glade/u/home/shuail/cesm_code/components/cism/source_cism/libglimmer/writestats.c:70:10: note: include the header <ctype.h> or explicitly provide a declaration for 'isalnum'

And all you need to do is add a line
#include <ctype.h> at the top of file writestats.c
 

Shuai Li

Shuai Li
New Member
The error message is:
/glade/u/home/shuail/cesm_code/components/cism/source_cism/libglimmer/writestats.c:70:10: note: include the header <ctype.h> or explicitly provide a declaration for 'isalnum'

And all you need to do is add a line
#include <ctype.h> at the top of file writestats.c
That works. Thanks a lot :)
 
Back
Top