-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
Follow-up on issue #100
When building the combination eclm-parflowGPU with jsc.2025.intel.psmpi I get the following error:
[ 99%] Building Fortran object eclm/CMakeFiles/eclm.dir/cime_driver.F90.o
[100%] Linking Fortran executable eclm.exe
ld: ../clm5/libclm.a(SoilWaterMovementMod.F90.o): in function `dgtsv_.t253890p.t253891p.t253892p.t253893p.t253894p.t253895p.t253896p.t253897p':
/p/scratch/cslts/gonzalez5/TSMP2/BUILDS/TSMP2_autom_builds/models/eCLM/src/clm5/biogeophys/SoilWaterMovementMod.F90:(.text+0x280855): undefined reference to `dgtsv_'
ld: ../clm5/libclm.a(UrbBuildTempOleson2015Mod.F90.o): in function `dgesv_.t58174p.t58175p.t58176p.t58177p.t58178p.t58179p.t58180p.t58181p':
/p/scratch/cslts/gonzalez5/TSMP2/BUILDS/TSMP2_autom_builds/models/eCLM/src/clm5/biogeophys/UrbBuildTempOleson2015Mod.F90:(.text+0x237ae5): undefined reference to `dgesv_'
ld: ../clm5/libclm.a(BandDiagonalMod.F90.o): in function `dgbsv_.t839p.t840p.t841p.t842p.t843p.t844p.t845p.t846p.t847p.t848p':
/p/scratch/cslts/gonzalez5/TSMP2/BUILDS/TSMP2_autom_builds/models/eCLM/src/clm5/biogeophys/BandDiagonalMod.F90:(.text+0x28eaf): undefined reference to `dgbsv_'
gmake[5]: *** [eclm/CMakeFiles/eclm.dir/build.make:500: eclm/eclm.exe] Error 1
gmake[4]: *** [CMakeFiles/Makefile2:582: eclm/CMakeFiles/eclm.dir/all] Error 2
gmake[3]: *** [Makefile:136: all] Error 2
gmake[2]: *** [CMakeFiles/eCLM.dir/build.make:112: eCLM/src/eCLM-stamp/eCLM-install] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:113: CMakeFiles/eCLM.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2
Do these undefined reference to 'dgesv_', 'dgbsv_','dgtsv_' errors mean that the LAPACK routines are not being linked into the final executable when using intel.psmpi environment?
NOTE: the eclm-parflowGPU builds for gnu.psmpi and gnu.openmpi environments work fine.