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

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

  • case Test1_f2000climo.txt
    44.9 KB · Views: 6

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 :)
 
Top