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

CESM ./case.build -skip-provenance-check,cam.buildlib failed

zhangmeixin

mxzhang
Member
hello,everyone. When I conduct ./case.build -skip-provenance-check,failed with: "BUILD FAIL: cam.buildlib failed, cat /public/home/mxzhang/test_CESM2.1.3/scratch/B1850_1217/bld/atm.bldlog.231217-110856"

home/mxzhang/test_CESM2.1.3/components/cam/src/utils/pilgrim/memstuff.c' -I"/public/software/mpi/intelmpi/2021.3.0/include"
make: *** [memstuff.o] Error 137
ERROR: Command make complib -j 8 MODEL=cam COMPLIB=/public/home/mxzhang/test_CESM2.1.3/scratch/B1850_1217/bld/lib/libatm.a -f /public/home/mxzhang/test_CESM2.1.3/cime/scripts/B1850_1217/Tools/Makefile MACFILE=/public/home/mxzhang/test_CESM2.1.3/cime/scripts/B1850_1217/Macros.sugon USER_CPPDEFS=' -DPLON=288 -DPLAT=192 -DPLEV=32 -DPCNST=37 -DPCOLS=16 -DPSUBCOLS=1 -DN_RAD_CNST=30 -DPTRM=1 -DPTRN=1 -DPTRK=1 -DSPMD -DMODAL_AERO -DMODAL_AERO_4MODE -DCLUBB_SGS -DCLUBB_CAM -DNO_LAPACK_ISNAN -DCLUBB_REAL_TYPE=dp -DHAVE_VPRINTF -DHAVE_TIMES -DHAVE_GETTIMEOFDAY -DHAVE_COMM_F2C -DHAVE_NANOTIME -DBIT64 -DHAVE_SLASHPROC' failed with rc=2

The attached file is cat /public/home/mxzhang/test_CESM2.1.3/scratch/B1850_1217/bld/atm.bldlog.231217-110856.
I dont know how to solve it, can anyone has a idea? Appreciate for it!
 

Attachments

  • error.txt
    197.7 KB · Views: 4

zhangmeixin

mxzhang
Member
The problem has been resolved by doing some modifications in config_compilers.xml.
The line:
"<append MPILIB="openmpi"> -mkl=cluster </append> "
change the "openmpi" to "impi".
 
Top