Skip to content

building on Marvin fails with undefined reference to `dgtsv_' #118

Description

@mvhulten

There is problem compiling TSMP2/eCLM in the linking phase on Marvin:

~/software/models/TSMP2$ ./build_tsmp2.sh eCLM

/opt/software/easybuild-INTEL/software/binutils/2.40-GCCcore-12.3.0/bin/ld: ../clm5/libclm.a(SoilWaterMovementMod.F90.o): in function `__soilwatermovementmod_MOD_soilwater_moisture_form':
SoilWaterMovementMod.F90:(.text+0x1d85): undefined reference to `dgtsv_'
/opt/software/easybuild-INTEL/software/binutils/2.40-GCCcore-12.3.0/bin/ld: ../clm5/libclm.a(UrbBuildTempOleson2015Mod.F90.o): in function `__urbbuildtempoleson2015mod_MOD_buildingtemperature':
UrbBuildTempOleson2015Mod.F90:(.text+0x2d36): undefined reference to `dgesv_'
/opt/software/easybuild-INTEL/software/binutils/2.40-GCCcore-12.3.0/bin/ld: ../clm5/libclm.a(BandDiagonalMod.F90.o): in function `__banddiagonalmod_MOD_banddiagonal':
BandDiagonalMod.F90:(.text+0xbbf): undefined reference to `dgbsv_'
collect2: error: ld returned 1 exit status
gmake[5]: *** [eclm/CMakeFiles/eclm.dir/build.make:496: 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:111: eCLM/src/eCLM-stamp/eCLM-install] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/eCLM.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2

I have compiled eCLM on Marvin in the past with success.
There is no problem with compiling ParFlow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions