steve_ghan@pnl_gov
New Member
I'm trying to compile cesm1.2 with pgi. It compiles everything, but fails in cesm.buildexe.csh:mpif90 -o /pic/scratch/d3e462/easm/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/pic/scratch/d3e462/easm/bld/lib/ -latm -L/pic/scratch/d3e462/easm/bld/lib/ -lice -L/pic/scratch/d3e462/easm/bld/lib/ -llnd -L/pic/scratch/d3e462/easm/bld/lib/ -locn -L/pic/scratch/d3e462/easm/bld/lib/ -lrof -L/pic/scratch/d3e462/easm/bld/lib/ -lglc -L/pic/scratch/d3e462/easm/bld/lib/ -lwav -L/pic/scratch/d3e462/easm/bld/lib -lcsm_share -L/pic/scratch/d3e462/easm/bld/mct/mct -lmct -L/pic/scratch/d3e462/easm/bld/mct/mpeu -lmpeu -L/pic/scratch/d3e462/easm/bld/pio -lpio -lgptl -L/pic/apps/netcdf/4.1.3/pgi/11.8/lib/../lib -lnetcdf -lnetcdff -lpmi -time -Wl,--allow-multiple-definition
/pic/scratch/d3e462/easm/bld/lib//liblnd.a(BandDiagonalMod.o): In function `banddiagonalmod_banddiagonal_':
/pic/projects/camdev/d3e462/CAM/code/model/cesm1_2_0/models/lnd/clm/src/clm4_5/biogeophys/BandDiagonalMod.F90:210: undefined reference to `dgbsv_'
gmake: *** [/pic/scratch/d3e462/easm/bld/cesm.exe] Error 2
dgbsv is called, but I cannot find where it should be. it looks like a standard tridiagonal solver. Is a library missing?Steve Ghan
/pic/scratch/d3e462/easm/bld/lib//liblnd.a(BandDiagonalMod.o): In function `banddiagonalmod_banddiagonal_':
/pic/projects/camdev/d3e462/CAM/code/model/cesm1_2_0/models/lnd/clm/src/clm4_5/biogeophys/BandDiagonalMod.F90:210: undefined reference to `dgbsv_'
gmake: *** [/pic/scratch/d3e462/easm/bld/cesm.exe] Error 2
dgbsv is called, but I cannot find where it should be. it looks like a standard tridiagonal solver. Is a library missing?Steve Ghan