forked from elemental/Elemental
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hello,
I am build Hydrogen using CMake 3.15.1 and GNU 7.4.0 (OpenBLAS v0.3.9, OpenMPI 4.0.1, Aluminum v0.3.3). Everything is built from scratch including GCC, they are all install in their own directories.
From the command line and errors below, it seems that -lgfortran is missing from the LDFLAGS.
FYI: it is not a blocking issue as I just set LDFLAGS=-lgfortran when running cmake.
Thanks,
-Tristan
$ /opt/gcc/7.4.0/release/install/bin/g++ -Wl,-rpath -Wl,/opt/openmpi/4.0.1/release/install/lib -Wl,--enable-new-dtags -pthread CMakeFiles/EntrywiseMap.dir/blas_like/EntrywiseMap.cpp.o -o EntrywiseMap -Wl,-rpath,/opt/aluminum/v0.3.3/release/install/lib64:/opt/hwloc/hwloc-2.2.0/release/install/lib:/opt/openmpi/4.0.1/release/install/lib ../libHydrogen_CXX.a /opt/aluminum/v0.3.3/release/install/lib64/libAl.so /opt/hwloc/hwloc-2.2.0/release/install/lib/libhwloc.so /opt/gcc/7.4.0/release/install/lib64/libgomp.so -lpthread
/opt/openmpi/4.0.1/release/install/lib/libmpi.so /opt/openblas/v0.3.9/release/install/lib64/libopenblas.a -lpthread
/opt/openblas/v0.3.9/release/install/lib64/libopenblas.a(sgesvd.f.o): In function `sgesvd_':
sgesvd.f:(.text+0x45e): undefined reference to `_gfortran_concat_string'
sgesvd.f:(.text+0x12c6): undefined reference to `_gfortran_concat_string'
/opt/openblas/v0.3.9/release/install/lib64/libopenblas.a(shseqr.f.o): In function `shseqr_':
shseqr.f:(.text+0x5eb): undefined reference to `_gfortran_concat_string'
/opt/openblas/v0.3.9/release/install/lib64/libopenblas.a(sormbr.f.o): In function `sormbr_':
sormbr.f:(.text+0x372): undefined reference to `_gfortran_concat_string'
sormbr.f:(.text+0x413): undefined reference to `_gfortran_concat_string'
/opt/openblas/v0.3.9/release/install/lib64/libopenblas.a(sormbr.f.o):sormbr.f:(.text+0x4be): more undefined references to `_gfortran_concat_string' follow
/opt/openblas/v0.3.9/release/install/lib64/libopenblas.a(slasd0.f.o): In function `slasd0_':
slasd0.f:(.text+0x71a): undefined reference to `_gfortran_pow_i4_i4'
/opt/openblas/v0.3.9/release/install/lib64/libopenblas.a(slasda.f.o): In function `slasda_':
slasda.f:(.text+0x1243): undefined reference to `_gfortran_pow_i4_i4'
slasda.f:(.text+0x1297): undefined reference to `_gfortran_pow_i4_i4'
/opt/openblas/v0.3.9/release/install/lib64/libopenblas.a(dgesvd.f.o): In function `dgesvd_':
dgesvd.f:(.text+0x45e): undefined reference to `_gfortran_concat_string'
dgesvd.f:(.text+0x12c6): undefined reference to `_gfortran_concat_string'
/opt/openblas/v0.3.9/release/install/lib64/libopenblas.a(dhseqr.f.o): In function `dhseqr_':
dhseqr.f:(.text+0x5ee): undefined reference to `_gfortran_concat_string'
/opt/openblas/v0.3.9/release/install/lib64/libopenblas.a(dormbr.f.o): In function `dormbr_':
dormbr.f:(.text+0x372): undefined reference to `_gfortran_concat_string'
dormbr.f:(.text+0x413): undefined reference to `_gfortran_concat_string'
/opt/openblas/v0.3.9/release/install/lib64/libopenblas.a(dormbr.f.o):dormbr.f:(.text+0x4be): more undefined references to `_gfortran_concat_string' follow
/opt/openblas/v0.3.9/release/install/lib64/libopenblas.a(dlasd0.f.o): In function `dlasd0_':
dlasd0.f:(.text+0x71a): undefined reference to `_gfortran_pow_i4_i4'
/opt/openblas/v0.3.9/release/install/lib64/libopenblas.a(dlasda.f.o): In function `dlasda_':
dlasda.f:(.text+0x1243): undefined reference to `_gfortran_pow_i4_i4'
dlasda.f:(.text+0x1297): undefined reference to `_gfortran_pow_i4_i4'
/opt/openblas/v0.3.9/release/install/lib64/libopenblas.a(cgesvd.f.o): In function `cgesvd_':
cgesvd.f:(.text+0x44c): undefined reference to `_gfortran_concat_string'
cgesvd.f:(.text+0x76d): undefined reference to `_gfortran_concat_string'
cgesvd.f:(.text+0x11d6): undefined reference to `_gfortran_concat_string'
/opt/openblas/v0.3.9/release/install/lib64/libopenblas.a(chseqr.f.o): In function `chseqr_':
chseqr.f:(.text+0x62c): undefined reference to `_gfortran_concat_string'
/opt/openblas/v0.3.9/release/install/lib64/libopenblas.a(ctrevc3.f.o): In function `ctrevc3_':
ctrevc3.f:(.text+0x278): undefined reference to `_gfortran_concat_string'
/opt/openblas/v0.3.9/release/install/lib64/libopenblas.a(cunmbr.f.o):cunmbr.f:(.text+0x39d): more undefined references to `_gfortran_concat_string' follow
collect2: error: ld returned 1 exit status
Metadata
Metadata
Assignees
Labels
No labels