-
Notifications
You must be signed in to change notification settings - Fork 926
Open
Labels
Description
On a OpenSuse Linux system I'm trying to install OpenMPI 4.1.1 using LLVM 12.0 (clang and flang). The "configure" and "make" portions complete with no errors but the "make install" attempts to re-link a number of libraries and fails when it can't find "libmpi_usempi.so.40.30.0". I've searched around and found similar "make install" errors when the compiler is not found but this is not the same. Any ideas on how to fix this issue ???
Commands:
> module list 1) cmake/3.20.2 2) llvm/12.0.0 3) hwloc/2.4.1 4) ucx/1.10.1 5) libevent/2.1.12 > echo $CC /home/bflynt/opt/modman/apps/llvm/12.0.0/bin/clang > echo $CXX /home/bflynt/opt/modman/apps/llvm/12.0.0/bin/clang++ > echo $FC /home/bflynt/opt/modman/apps/llvm/12.0.0/bin/flang > ./configure --prefix=${LIB_INSTALL_DIR} \ --enable-mpi-cxx \ --enable-cxx-exceptions \ --enable-mpi-fortran=usempi \ --enable-mca-no-build=btl-uct \ --with-hwloc=${HWLOC_ROOT} \ --with-ucx=${UCX_ROOT} \ --with-libevent=${LIBEVENT_ROOT} \ --without-verbs \ -enable-mca-no-build=btl-uct .... Lots of Output But No Errors .... > make .... Lots of Output But No Errors .... > make install .... Checks Everything is Built ..... .... Lots of Re-Linking Warnings .... ..... Then this crash ..... Making install in mpi/fortran/use-mpi-tkr make[2]: Entering directory '/home/bflynt/opt/modman/build/openmpi/4.1.1/llvm/12.0.0/ompi/mpi/fortran/use-mpi-tkr' make[3]: Entering directory '/home/bflynt/opt/modman/build/openmpi/4.1.1/llvm/12.0.0/ompi/mpi/fortran/use-mpi-tkr' /usr/bin/mkdir -p '/home/bflynt/opt/modman/apps/openmpi/4.1.1/llvm/12.0.0/lib64' /bin/sh ../../../../libtool --mode=install /usr/bin/install -c libmpi_usempi.la '/home/bflynt/opt/modman/apps/openmpi/4.1.1/llvm/12.0.0/lib64' libtool: warning: relinking 'libmpi_usempi.la' libtool: install: (cd /home/bflynt/opt/modman/build/openmpi/4.1.1/llvm/12.0.0/ompi/mpi/fortran/use-mpi-tkr; /bin/sh "/home/bflynt/opt/modman/build/openmpi/4.1.1/llvm/12.0.0/libtool" --silent --tag FC --mode=relink /home/bflynt/opt/modman/apps/llvm/12.0.0/bin/flang -I../../../../ompi/include -I../../../../ompi/include -I. -I../../../.. -I../../../.. -I. -I../../../../ompi/mpi/fortran/use-mpi-tkr -fexceptions -version-info 70:0:30 -fexceptions -L/home/bflynt/opt/modman/apps/hwloc/2.4.1/llvm/12.0.0/lib -L/home/bflynt/opt/modman/apps/libevent/2.1.12/llvm/12.0.0/lib64 -o libmpi_usempi.la -rpath /home/bflynt/opt/modman/apps/openmpi/4.1.1/llvm/12.0.0/lib64 mpi.lo mpi_aint_add_f90.lo mpi_aint_diff_f90.lo mpi_comm_spawn_multiple_f90.lo mpi_testall_f90.lo mpi_testsome_f90.lo mpi_waitall_f90.lo mpi_waitsome_f90.lo mpi_wtick_f90.lo mpi_wtime_f90.lo mpi-tkr-sizeof.lo ../../../../ompi/mpi/fortran/mpif-h/libmpi_mpifh.la /home/bflynt/opt/modman/build/openmpi/4.1.1/llvm/12.0.0/opal/libopen-pal.la -lrt -lm -lutil -lz -lhwloc -levent_core -levent_pthreads ) mv: cannot stat 'libmpi_usempi.so.40.30.0': No such file or directory libtool: error: error: relink 'libmpi_usempi.la' with the above command before installing it make[3]: *** [Makefile:1932: install-libLTLIBRARIES] Error 1 make[3]: Leaving directory '/home/bflynt/opt/modman/build/openmpi/4.1.1/llvm/12.0.0/ompi/mpi/fortran/use-mpi-tkr' make[2]: *** [Makefile:2047: install-am] Error 2 make[2]: Leaving directory '/home/bflynt/opt/modman/build/openmpi/4.1.1/llvm/12.0.0/ompi/mpi/fortran/use-mpi-tkr' make[1]: *** [Makefile:3555: install-recursive] Error 1 make[1]: Leaving directory '/home/bflynt/opt/modman/build/openmpi/4.1.1/llvm/12.0.0/ompi' make: *** [Makefile:1901: install-recursive] Error 1