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.build_ failed in Derecho

dharmendraks841

Dharmendra Kumar Singh
Member
Hi Derecho and CESM users,

Can you please look into this issue, a error was is encountered while ./case.build



Building rof with output to /glade/derecho/scratch/dksingh/bssp245smbb_hybrid2033/bld/rof.bldlog.240204-093240

Building glc with output to /glade/derecho/scratch/dksingh/bssp245smbb_hybrid2033/bld/glc.bldlog.240204-093240

Building wav with output to /glade/derecho/scratch/dksingh/bssp245smbb_hybrid2033/bld/wav.bldlog.240204-093240

Building esp with output to /glade/derecho/scratch/dksingh/bssp245smbb_hybrid2033/bld/esp.bldlog.240204-093240

mosart built in 2.231916 seconds

cice built in 2.717597 seconds

sesp built in 3.768538 seconds

cam built in 6.232555 seconds

ww built in 6.672138 seconds

pop built in 7.283777 seconds

cism built in 8.370537 seconds

ERROR: BUILD FAIL: cism.buildlib failed, cat /glade/derecho/scratch/dksingh/bssp245smbb_hybrid2033/bld/glc.bldlog.240204-093240

dksingh@derecho1:/glade/work/dksingh/code_cesmupdated_derecho/bssp245smbb_hybrid2033> vi user_nl_cam

dksingh@derecho1:/glade/work/dksingh/code_cesmupdated_derecho/bssp245smbb_hybrid2033> vi /glade/derecho/scratch/dksingh/bssp245smbb_hybrid2033/bld/glc.bldlog.240204-093240



icx: warning: -Wl,-rpath,/glade/u/apps/derecho/23.06/spack/opt/spack/intel-oneapi-mkl/2023.0.0/oneapi/2023.0.0/f2sh/mkl/2023.0.0/lib/intel64: 'linker' input unused [-Wunused-command-line-argument]

/glade/work/dksingh/code/my_cesm_code/components/cism/source_cism/libglimmer/writestats.c:70:10: error: call to undeclared library function 'isalnum' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]

while (isalnum(resfname) && i < CFG_LEN) i++;

^

/glade/work/dksingh/code/my_cesm_code/components/cism/source_cism/libglimmer/writestats.c:70:10: note: include the header <ctype.h> or explicitly provide a declaration for 'isalnum'

1 error generated.

gmake[2]: *** [CMakeFiles/glimmercismfortran.dir/build.make:1106: CMakeFiles/glimmercismfortran.dir/libglimmer/writestats.c.o] Error 1

gmake[2]: Leaving directory '/glade/derecho/scratch/dksingh/bssp245smbb_hybrid2033/bld/glc'

gmake[1]: *** [CMakeFiles/Makefile2:86: CMakeFiles/glimmercismfortran.dir/all] Error 2

gmake[1]: Leaving directory '/glade/derecho/scratch/dksingh/bssp245smbb_hybrid2033/bld/glc'

gmake: *** [Makefile:94: all] Error 2

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


Kind regards
Dharmendra
 

slevis

Moderator
Staff member
If you have not modified the model in some way, then I would double check that you completed all of these steps:
1) ran ./manage_externals/checkout_externals
2) created the case
3) ran ./case_setup
4) then ran ./case_build

Maybe start over to make sure. If you still get the error, then I will let someone else try to help.
 
Top