[MacPorts] #69403: superlu_dist @ 8.2.1_0+gcc10+openblas+openmpi : Undefined symbols
MacPorts
noreply at macports.org
Mon Feb 26 14:55:02 UTC 2024
#69403: superlu_dist @ 8.2.1_0+gcc10+openblas+openmpi : Undefined symbols
------------------------------+--------------------------
Reporter: lazersos | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Keywords: superlu_dist mpi | Port: superlu_dist
------------------------------+--------------------------
The superlu_dist port is failing to compile due to a werid MPI issue it
appears:
{{{
install superlu_dist +gcc10+openblas+openmpi-accelerate
---> Computing dependencies for superlu_dist
---> Fetching archive for superlu_dist
---> Attempting to fetch
superlu_dist-8.2.1_0+gcc10+openblas+openmpi.darwin_21.x86_64.tbz2 from
https://cph.dk.packages.macports.org/superlu_dist
---> Attempting to fetch
superlu_dist-8.2.1_0+gcc10+openblas+openmpi.darwin_21.x86_64.tbz2 from
https://nue.de.packages.macports.org/superlu_dist
---> Attempting to fetch
superlu_dist-8.2.1_0+gcc10+openblas+openmpi.darwin_21.x86_64.tbz2 from
https://fra.de.packages.macports.org/superlu_dist
---> Fetching distfiles for superlu_dist
---> Verifying checksums for superlu_dist
---> Extracting superlu_dist
---> Configuring superlu_dist
Error: Failed to configure superlu_dist: consult
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_superlu_dist/superlu_dist/work/build/CMakeFiles/CMakeError.log
Error: Failed to configure superlu_dist: configure failure: command
execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_superlu_dist/superlu_dist/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port superlu_dist failed
}}}
The actual error in the log file is:
{{{
Run Build Command(s):/usr/bin/make -f Makefile cmTC_7da32/fast &&
/Library/Developer/CommandLineTools/usr/bin/make -f
CMakeFiles/cmTC_7da32.dir/build.make CMakeFiles/cmTC_7da32.dir/build
Building CXX object CMakeFiles/cmTC_7da32.dir/test_mpi.cpp.o
/opt/local/bin/mpicxx-openmpi-gcc10 -pipe -Os -DNDEBUG
-I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch
x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
-mmacosx-version-min=12.0 -std=gnu++11 -o
CMakeFiles/cmTC_7da32.dir/test_mpi.cpp.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_superlu_dist/superlu_dist/work/build/CMakeFiles/FindMPI/test_mpi.cpp
Linking CXX executable cmTC_7da32
/opt/local/bin/cmake -E cmake_link_script
CMakeFiles/cmTC_7da32.dir/link.txt --verbose=1
/opt/local/bin/mpicxx-openmpi-gcc10 -pipe -Os -DNDEBUG
-I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch
x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
-mmacosx-version-min=12.0 -Wl,-search_paths_first
-Wl,-headerpad_max_install_names -L/opt/local/lib
-Wl,-headerpad_max_install_names -stdlib=libc++
-Wl,-rpath,/opt/local/lib/libgcc
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
-L/opt/local/lib CMakeFiles/cmTC_7da32.dir/test_mpi.cpp.o -o cmTC_7da32
/opt/local/lib/openmpi-gcc10/libmpi_cxx.dylib /opt/local/lib/openmpi-
gcc10/libmpi.dylib
Undefined symbols for architecture x86_64:
"__ZNSt8ios_base4InitC1Ev", referenced from:
__GLOBAL__sub_I_test_mpi.cpp in test_mpi.cpp.o
"__ZNSt8ios_base4InitD1Ev", referenced from:
__GLOBAL__sub_I_test_mpi.cpp in test_mpi.cpp.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[1]: *** [cmTC_7da32] Error 1
make: *** [cmTC_7da32/fast] Error 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/69403>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list