You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build impi/2021.9.0-intel-compilers-2023.1.0 and it fails during the sanity check, I believe due to building with RPATH enabled and libfabric not being found.
The sanity check fails after a small test has been built with mpicc -cc=icx ... -o mpi_test. The compilation succeeds, but running with mpirun -n 8 .../mpi_test fails with not much help:
== 2024-04-04 16:41:21,155 build_log.py:171 ERROR EasyBuild crashed with an error (at easybuild/tools/build_log.py:111 in caller_info): Sanity check failed: sanity check command mpirun -n 8 /tmp/eessi-build.gkHxuLQPcO/easybuild/build/impi/2021.9.0/intel-compilers-2023.1.0/mpi_test exited with code 143 (output: Abort(1090959) on node 0 (rank 0 in comm 0): Fatal error in PMPI_Init: Other MPI error, error stack:
MPIR_Init_thread(176)........:
MPID_Init(1546)..............:
MPIDI_OFI_mpi_init_hook(1480):
(unknown)(): Other MPI error
...
Abort(1090959) on node 0 (rank 0 in comm 0): Fatal error in PMPI_Init: Other MPI error, error stack:
MPIR_Init_thread(176)........:
MPID_Init(1546)..............:
MPIDI_OFI_mpi_init_hook(1480):
(unknown)(): Other MPI error
) (at easybuild/framework/easyblock.py:3661 in _sanity_check_step)
Some digging (reproducing the install environment and running with I_MPI_DEBUG=30 mpirun -v -n 2 .../mpi_test) shows me:
[1] MPI startup(): failed to load libfabric: libfabric.so.1: cannot open shared object file: No such file or directory
I originally thought there might be a problem with mpicc -cc=icx not using icx with an RPATH wrapper, since readelf -d .../mpi_test shows
So I'm not sure why the executable is not picking up the libfabric libraries when compiled with RPATH. Any help would be greatly appreciated! As a side note, this is being done on top of EESSI, so if there's anything relevant there that I can share, please let me know.
The text was updated successfully, but these errors were encountered:
I'm trying to build
impi/2021.9.0-intel-compilers-2023.1.0
and it fails during the sanity check, I believe due to building with RPATH enabled andlibfabric
not being found.The sanity check fails after a small test has been built with
mpicc -cc=icx ... -o mpi_test
. The compilation succeeds, but running withmpirun -n 8 .../mpi_test
fails with not much help:Some digging (reproducing the install environment and running with
I_MPI_DEBUG=30 mpirun -v -n 2 .../mpi_test
) shows me:I originally thought there might be a problem with
mpicc -cc=icx
not usingicx
with an RPATH wrapper, sincereadelf -d .../mpi_test
showsI tried forcing a compilation of the new copy with the wrapper which gave me
but had the same problem (even though the runpath includes the path to the
libfabric
libs).Eventually running with
succeeds with no errors.
So I'm not sure why the executable is not picking up the
libfabric
libraries when compiled with RPATH. Any help would be greatly appreciated! As a side note, this is being done on top of EESSI, so if there's anything relevant there that I can share, please let me know.The text was updated successfully, but these errors were encountered: