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
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