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

CESM2 build error: ERROR: BUILD FAIL: clm.buildlib failed

rjallen@ucr_edu

New Member
I think I mistakenly posted this in the wrong forum on Friday...re-posting here.

I'm trying to port CESM2 to a new cluster. I've followed the guidelines, and I get as far as ./case.build, where I get the following error:

PGF90-S-0087-Non-constant expression where constant expression required (/home/rallen/my_cesm_sandbox/components/clm/src/utils/clmfates_paraminterfaceMod.F90: 197)
PGF90-S-0081-Illegal selector - KIND parameter has unknown value for data type (/home/rallen/my_cesm_sandbox/components/clm/src/utils/clmfates_paraminterfaceMod.F90: 197)
0 inform, 0 warnings, 2 severes, 0 fatal for parametersfromnetcdf
make: *** [clmfates_paraminterfaceMod.o] Error 2
make: *** Waiting for unfinished jobs....

ERROR: Command make complib -j 8 MODEL=clm COMPLIB=/projects/ps-rallen/rallen/cam6_runs/scratch/B_1850/bld/pgi/mvapich2/nodebug/nothreads/mct/noesmf/lib/libclm.a -f /home/rallen/my_cesm_sandbox/cime/scripts/B_1850/Tools/Makefile MACFILE=/home/rallen/my_cesm_sandbox/cime/scripts/B_1850/Macros.tscc failed with rc=2

I don't see any prior discussions of a similar error. Any suggestions on how to fix it? I can provide additional information if necessary...
 

jedwards

CSEG and Liaisons
Staff member
I moved your post because it should go to the clm support team. This is almost certainly a pgi compiler issue - do you have any other compilers available?
 
Top