Building errors relating to undefined reference of 'nfmpi_strerror_' and 'dgbsv_'

I'm trying to compile cesm1.2 with intel( running a CLM45 I compset). It compiles everything, but fails in cesm.buildexe.csh:mpiifort  -o /home/luhui/WORK/cesm/cesm1_2_1/scripts/clmplease/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/home/luhui/WORK/cesm/cesm1_2_1/scripts/clmplease/bld/lib/ -latm  -L/home/luhui/WORK/cesm/cesm1_2_1/scripts/clmplease/bld/lib/ -lice  -L/home/luhui/WORK/cesm/cesm1_2_1/scripts/clmplease/bld/lib/ -llnd  -L/home/luhui/WORK/cesm/cesm1_2_1/scripts/clmplease/bld/lib/ -locn  -L/home/luhui/WORK/cesm/cesm1_2_1/scripts/clmplease/bld/lib/ -lrof  -L/home/luhui/WORK/cesm/cesm1_2_1/scripts/clmplease/bld/lib/ -lglc  -L/home/luhui/WORK/cesm/cesm1_2_1/scripts/clmplease/bld/lib/ -lwav -L/home/luhui/WORK/cesm/cesm1_2_1/scripts/clmplease/bld/lib -lcsm_share  -L/home/luhui/WORK/cesm/cesm1_2_1/scripts/clmplease/bld/mct/mct -lmct -L/home/luhui/WORK/cesm/cesm1_2_1/scripts/clmplease/bld/mct/mpeu -lmpeu -L/home/luhui/WORK/cesm/cesm1_2_1/scripts/clmplease/bld/pio -lpio -lgptl -L/home/luhui/usr/local/lib -lnetcdff -lnetcdf -lpnetcdf -lhdf5_hl -lhdf5 -ldl -lm -lz -lcurl -L/home/luhui/usr/local/lib -lpnetcdf
/apps/intel/2013Compiler/composer_xe_2013.1.117/compiler/lib/intel64/libimf.so: warning: warning: feupdateenv is not implemented and will always fail
/home/luhui/WORK/cesm/cesm1_2_1/scripts/clmplease/bld/lib//liblnd.a(BandDiagonalMod.o): In function `banddiagonalmod_mp_banddiagonal_':
/work/luhui_work/cesm/cesm1_2_1/models/lnd/clm/src/clm4_5/biogeophys/BandDiagonalMod.F90:(.text+0x11fa): undefined reference to `dgbsv_'
/home/luhui/WORK/cesm/cesm1_2_1/scripts/clmplease/bld/lib//libpio.a(pio_utils.o): In function `pio_utils_mp_check_netcdf_':
/work/luhui_work/cesm/cesm1_2_1/models/utils/pio/pio_utils.F90:(.text+0x1db): undefined reference to `nfmpi_strerror_'
gmake: *** [/home/luhui/WORK/cesm/cesm1_2_1/scripts/clmplease/bld/cesm.exe] Error 1I have already added "-llapack -lblas" to my machine in scripts/Machines/config_compilers.xml (the SLIBS), but there are still the same errors exist, I wonder how can I solve the problem? Thanks a lot!Chengwei Li 
 

jedwards

CSEG and Liaisons
Staff member
It looks like it found PIO but that PIO didn;t find netcdf.  Function nfmpi_strerror should be in /home/luhui/usr/local/lib/libnetcdff.a 
 
Back
Top