Main menu

Navigation

CESM building error (BandDiagonalMod.F90:(.text+0x638): undefined reference to `dgbsv_')

1 post / 0 new
sachin.budakoti...
CESM building error (BandDiagonalMod.F90:(.text+0x638): undefined reference to `dgbsv_')

when i am running the case.build executable for the generated case then the following error is coming during the generation of the cesm executable (BandDiagonalMod.F90:(.text+0x638): undefined reference to `dgbsv_')) as i had already gone through the discussion which has happened over this forum for the same error by steve and erik. the discussion about how to rectify the above mentioned error to use the "-llapack -lblas" flag in the Macros and config_compiler.xml file. and i have followed the same procedure but still i m facing the same error after the modification of Macros and config_compiler.xml file. as i have set up the case with userdefined machine type. 

Fri Feb 8 11:39:15 IST 2019 /data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/bld/cesm.bldlog.190208-113900

cd /data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/bld/cesm/obj

echo -------------------------------------------------------------------------

-------------------------------------------------------------------------

echo  Building a single executable version of CESM

 Building a single executable version of CESM

echo -------------------------------------------------------------------------

-------------------------------------------------------------------------

cat

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

gmake exec_se -j 8 EXEC_SE=/data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/bld/cesm.exe MODEL=driver 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 -f /data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/Tools/Makefile

/data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/Tools/mkSrcfiles

cp -f /data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/bld/cesm/obj/Filepath /data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/bld/cesm/obj/Deppath

/data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/Tools/mkDepends  Deppath Srcfiles > /data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/bld/cesm/obj/Depends

/data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/Tools/mkSrcfiles

mpif90  -o /data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/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/data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/bld/lib/ -latm  -L/data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/bld/lib/ -lice  -L/data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/bld/lib/ -llnd  -L/data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/bld/lib/ -locn  -L/data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/bld/lib/ -lrof  -L/data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/bld/lib/ -lglc  -L/data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/bld/lib/ -lwav -L/data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/bld/lib -lcsm_share  -L/data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/bld/mct/mct -lmct -L/data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/bld/mct/mpeu -lmpeu -L/data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/bld/pio -lpio -lgptl -L/home/supanth/ncpgcc_413/lib -lnetcdff -lnetcdf  -time -Wl,--allow-multiple-definition

/data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/bld/lib//liblnd.a(lnd_comp_mct.o): In function `lnd_comp_mct_lnd_init_mct_':

/data_new/sachinb/CESM_ORIG/cesm12/models/lnd/clm/src/cpl_mct/lnd_comp_mct.F90:277: undefined reference to `mct_gsmap_psize_'

/data_new/sachinb/CESM_ORIG/cesm12/models/lnd/clm/src/cpl_mct/lnd_comp_mct.F90:326: undefined reference to `mct_gsmap_psize_'

/usr/bin/ld: Dwarf Error: Could not find abbrev number 116.

/data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/bld/lib//liblnd.a(BandDiagonalMod.o): In function `banddiagonalmod_banddiagonal_':

BandDiagonalMod.F90:(.text+0x638): undefined reference to `dgbsv_'

gmake: *** [/data_new/sachinb/CESM_ORIG/cesm12/scripts/EXP/EXP1/bld/cesm.exe] Error 2

exit 2

~

 

sachin

Who's new

  • hellosyndy@...
  • soorajkrish90@...
  • joao.bettencourt@...
  • oumzh6@...
  • turuncu