Hello everyone, I'm attempting to run CESM1.2.2.1 on Derecho and have encountered build errors. Does anyone have suggestions or insights on resolving this issue? Thank you!
>> ./test.build:
CESM BUILDEXE SCRIPT STARTING
rm: No match.
COMPILER is intel
- Build Libraries: mct gptl pio csm_share
Thu 05 Oct 2023 07:54:06 AM MDT /glade/derecho/scratch/jingyiz/test/bld/intel/intelmpi/nodebug/nothreads/mct.bldlog.231005-075346
Thu 05 Oct 2023 07:54:08 AM MDT /glade/derecho/scratch/jingyiz/test/bld/intel/intelmpi/nodebug/nothreads/gptl.bldlog.231005-075346
Thu 05 Oct 2023 07:54:08 AM MDT /glade/derecho/scratch/jingyiz/test/bld/intel/intelmpi/nodebug/nothreads/pio.bldlog.231005-075346
Thu 05 Oct 2023 07:54:09 AM MDT /glade/derecho/scratch/jingyiz/test/bld/intel/intelmpi/nodebug/nothreads/csm_share.bldlog.231005-075346
ERROR: buildlib.csm_share failed, see /glade/derecho/scratch/jingyiz/test/bld/intel/intelmpi/nodebug/nothreads/csm_share.bldlog.231005-075346
ERROR: cat /glade/derecho/scratch/jingyiz/test/bld/intel/intelmpi/nodebug/nothreads/csm_share.bldlog.231005-075346
>> cat /glade/derecho/scratch/jingyiz/test/bld/intel/intelmpi/nodebug/nothreads/csm_share.bldlog.231005-075346:
/glade/work/jingyiz/code/cesm1_2_2_1/models/csm_share/shr/shr_isnan.c:21:2: error: "Unrecognized Fortran-mangle type"
#error "Unrecognized Fortran-mangle type"
^
1 error generated.
gmake: *** [/glade/work/jingyiz/cases/cesm1_2_2_1/test/Tools/Makefile:635: shr_isnan.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake complib -j 16 MODEL=csm_share COMPLIB=libcsm_share.a USER_CPPDEFS=" -DNUM_COMP_INST_ATM=1 -DNUM_COMP_INST_LND=1 -DNUM_COMP_INST_OCN=1 -DNUM_COMP_INST_ICE=1 -DNUM_COMP_INST_GLC=1 -DNUM_COMP_INST_WAV=1 -DNUM_COMP_INST_ROF=1" -f /glade/work/jingyiz/cases/cesm1_2_2_1/test/Tools/Makefile returned non-zero exit status 2
>> ./test.build:
CESM BUILDEXE SCRIPT STARTING
rm: No match.
COMPILER is intel
- Build Libraries: mct gptl pio csm_share
Thu 05 Oct 2023 07:54:06 AM MDT /glade/derecho/scratch/jingyiz/test/bld/intel/intelmpi/nodebug/nothreads/mct.bldlog.231005-075346
Thu 05 Oct 2023 07:54:08 AM MDT /glade/derecho/scratch/jingyiz/test/bld/intel/intelmpi/nodebug/nothreads/gptl.bldlog.231005-075346
Thu 05 Oct 2023 07:54:08 AM MDT /glade/derecho/scratch/jingyiz/test/bld/intel/intelmpi/nodebug/nothreads/pio.bldlog.231005-075346
Thu 05 Oct 2023 07:54:09 AM MDT /glade/derecho/scratch/jingyiz/test/bld/intel/intelmpi/nodebug/nothreads/csm_share.bldlog.231005-075346
ERROR: buildlib.csm_share failed, see /glade/derecho/scratch/jingyiz/test/bld/intel/intelmpi/nodebug/nothreads/csm_share.bldlog.231005-075346
ERROR: cat /glade/derecho/scratch/jingyiz/test/bld/intel/intelmpi/nodebug/nothreads/csm_share.bldlog.231005-075346
>> cat /glade/derecho/scratch/jingyiz/test/bld/intel/intelmpi/nodebug/nothreads/csm_share.bldlog.231005-075346:
/glade/work/jingyiz/code/cesm1_2_2_1/models/csm_share/shr/shr_isnan.c:21:2: error: "Unrecognized Fortran-mangle type"
#error "Unrecognized Fortran-mangle type"
^
1 error generated.
gmake: *** [/glade/work/jingyiz/cases/cesm1_2_2_1/test/Tools/Makefile:635: shr_isnan.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake complib -j 16 MODEL=csm_share COMPLIB=libcsm_share.a USER_CPPDEFS=" -DNUM_COMP_INST_ATM=1 -DNUM_COMP_INST_LND=1 -DNUM_COMP_INST_OCN=1 -DNUM_COMP_INST_ICE=1 -DNUM_COMP_INST_GLC=1 -DNUM_COMP_INST_WAV=1 -DNUM_COMP_INST_ROF=1" -f /glade/work/jingyiz/cases/cesm1_2_2_1/test/Tools/Makefile returned non-zero exit status 2