JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser .
Error in buiding CESM1.2.0
Hi everyone,Im running CESM1.2.0 with active CLM4.5 and active CAM5 with user defined compset. My step to create the case is:/home/apps/cesm/cesm1_2_0/scripts/create_newcase -case Ocomp_1deg_144 -res f09_f09 -user_compset CAM5_CLM45_CICE%PRES_DOCN%DOM -mach IITD -mpilib mpich -compiler pgiIm using 144 cores with 6 nodes (24 max pes/node) and ATM_NCPL = 48.In the build step I faced the same problem for 1 degree resolution and 2 degree resolution which is: mpif90 -c -I. -I/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/pio -I/home/apps/cesm/depedencies/netcdf/include -I/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/atm/obj -I/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/lnd/obj -I/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/ice/obj -I/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/ocn/obj -I/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/glc/obj -I/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/rof/obj -I/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/wav/obj -I/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/mct/mct -I/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/mct/mpeu -I/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/pio -I/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/gptl -I/home/apps/cesm/cesm1_2_0/models/utils/pio -I/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/lib/include -I. -I/home/cas/phd/asz122525/TEST_1deg/Ocomp_1deg_144/SourceMods/src.drv -I/home/apps/cesm/cesm1_2_0/models/drv/driver -I/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/lib/include -i4 -gopt -Mlist -time -Mextend -byteswapio -Mflushz -Kieee -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 -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DLINUX -DCPRPGI -DHAVE_SLASHPROC -Mfree /home/apps/cesm/cesm1_2_0/models/drv/driver/ccsm_driver.F90
Timing stats:
import 83 millisecs 22%
expand 217 millisecs 59%
schedule 66 millisecs 18%
Total time 366 millisecs
mpif90 -o /scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/cesm.exe ccsm_comp_mod.o ccsm_driver.o mrg_mod.o seq_avdata_mod.o seq_diag_mct.o seq_domain_mct.o seq_flux_mct.o seq_frac_mct.o seq_hist_mod.o seq_map_esmf.o seq_map_mod.o seq_mctext_mod.o seq_rest_mod.o -L/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/lib/ -latm -L/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/lib/ -lice -L/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/lib/ -llnd -L/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/lib/ -locn -L/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/lib/ -lrof -L/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/lib/ -lglc -L/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/lib/ -lwav -L/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/lib -lcsm_share -L/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/mct/mct -lmct -L/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/mct/mpeu -lmpeu -L/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/pio -lpio -lgptl -L/home/apps/cesm/depedencies/netcdf/lib -lnetcdf -lnetcdff -time -Wl,--allow-multiple-definition
/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/lib//liblnd.a(BandDiagonalMod.o): In function `banddiagonalmod_banddiagonal_':
/home/apps/cesm/cesm1_2_0/models/lnd/clm/src/clm4_5/biogeophys/BandDiagonalMod.F90:213: undefined reference to `dgbsv_'
gmake: *** [/scratch/cas/phd/asz122525/Ocomp_1deg_144/bld/cesm.exe] Error 2
Please let know if it is a machine based error or some model related error.Thanks in advance
CSEG and Liaisons
Staff member
dgbsv is in the lapack library, you need to build and install it seperatly.
Thanks for the reply,that problem is solved but now it is unable to build the Srcfile and is showing the following error:-------------------------------------------------------------------------
Building a single executable version of CESM
-------------------------------------------------------------------------
cat: Srcfiles: No such file or directory
/home/cas/phd/asz122525/test_Ocomp_1mon_576/Tools/mkSrcfiles
cp -f /scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/cesm/obj/Filepath /scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/cesm/obj/Deppath
/home/cas/phd/asz122525/test_Ocomp_1mon_576/Tools/mkDepends Deppath Srcfiles > /scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/cesm/obj/Depends
mpif90 -c -I. -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/pio -I/home/apps/cesm/depedencies/netcdf/include -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/atm/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/lnd/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/ice/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/ocn/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/glc/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/rof/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/wav/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/mct/mct -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/mct/mpeu -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/pio -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/gptl -I/home/apps/cesm/cesm1_2_0/models/utils/pio -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/lib/include -I. -I/home/cas/phd/asz122525/test_Ocomp_1mon_576/SourceMods/src.drv -I/home/apps/cesm/cesm1_2_0/models/drv/driver -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/lib/include -i4 -gopt -Mlist -time -Mextend -byteswapio -Mflushz -Kieee -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 -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DLINUX -DCPRPGI -DHAVE_SLASHPROC -Mfree /home/apps/cesm/cesm1_2_0/models/drv/driver/seq_diag_mct.F90
mpif90 -c -I. -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/pio -I/home/apps/cesm/depedencies/netcdf/include -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/atm/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/lnd/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/ice/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/ocn/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/glc/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/rof/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/wav/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/mct/mct -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/mct/mpeu -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/pio -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/gptl -I/home/apps/cesm/cesm1_2_0/models/utils/pio -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/lib/include -I. -I/home/cas/phd/asz122525/test_Ocomp_1mon_576/SourceMods/src.drv -I/home/apps/cesm/cesm1_2_0/models/drv/driver -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/lib/include -i4 -gopt -Mlist -time -Mextend -byteswapio -Mflushz -Kieee -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 -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DLINUX -DCPRPGI -DHAVE_SLASHPROC -Mfree /home/apps/cesm/cesm1_2_0/models/drv/driver/seq_map_esmf.F90
mpif90 -c -I. -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/pio -I/home/apps/cesm/depedencies/netcdf/include -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/atm/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/lnd/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/ice/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/ocn/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/glc/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/rof/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/wav/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/mct/mct -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/mct/mpeu -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/pio -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/gptl -I/home/apps/cesm/cesm1_2_0/models/utils/pio -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/lib/include -I. -I/home/cas/phd/asz122525/test_Ocomp_1mon_576/SourceMods/src.drv -I/home/apps/cesm/cesm1_2_0/models/drv/driver -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/lib/include -i4 -gopt -Mlist -time -Mextend -byteswapio -Mflushz -Kieee -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 -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DLINUX -DCPRPGI -DHAVE_SLASHPROC -Mfree /home/apps/cesm/cesm1_2_0/models/drv/driver/seq_avdata_mod.F90
mpif90 -c -I. -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/pio -I/home/apps/cesm/depedencies/netcdf/include -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/atm/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/lnd/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/ice/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/ocn/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/glc/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/rof/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/wav/obj -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/mct/mct -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/mct/mpeu -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/pio -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/gptl -I/home/apps/cesm/cesm1_2_0/models/utils/pio -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/lib/include -I. -I/home/cas/phd/asz122525/test_Ocomp_1mon_576/SourceMods/src.drv -I/home/apps/cesm/cesm1_2_0/models/drv/driver -I/scratch/cas/phd/asz122525/test_Ocomp_1mon_576/bld/lib/include -i4 -gopt -Mlist -time -Mextend -byteswapio -Mflushz -Kieee -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 -DLINUX -DMCT_INTERFACE -DHAVE_MPI -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DLINUX -DCPRPGI -DHAVE_SLASHPROC -Mfree /home/apps/cesm/cesm1_2_0/models/drv/driver/mrg_mod.F90
CSEG and Liaisons
Staff member
There is no error here - please attach the buildlog with a .txt extension or just cut and paste the relevent bit.
There is no error here - please attach the buildlog with a .txt extension or just cut and paste the relevent bit.
I have the same problem and I can't understand your answer. Could you explain it more clearly? Thanks a lot.