Chris, Did you double check libopen-rte.so.40 and libopen-pal.so.40 are installed in /mnt/software/o/openmpi/4.1.4-ct-test/lib?
If they are not present, it means your install is busted and you should try to reinstall it. Cheers, Gilles On Sat, Nov 5, 2022 at 3:42 AM Chris Taylor via users < users@lists.open-mpi.org> wrote: > I built 4.1.4 from a tarball using gcc 11.1.0 with just --prefix as an > option for configure. I get a long list of errors trying to compile a > hello-world. I know it's something simple but I'm at a loss as to how to > troubleshoot- > > > > $ mpicc -o hello-world hello-world.c > > /mnt/software/g/gcc/gcctoolchain/gcctoolchain-release_10.2.0.125178/gcc/gcc_11.1.0.pbi01/build-libc_2.17/target-libc_2.17/binnowrap/x86_64-libc_2.17-linux-gnu-ld.bfd: > warning: libopen-rte.so.40, needed by > /mnt/software/o/openmpi/4.1.4-ct-test/lib/libmpi.so, not found (try using > -rpath or -rpath-link) > > /mnt/software/g/gcc/gcctoolchain/gcctoolchain-release_10.2.0.125178/gcc/gcc_11.1.0.pbi01/build-libc_2.17/target-libc_2.17/binnowrap/x86_64-libc_2.17-linux-gnu-ld.bfd: > warning: libopen-pal.so.40, needed by > /mnt/software/o/openmpi/4.1.4-ct-test/lib/libmpi.so, not found (try using > -rpath or -rpath-link) > > /mnt/software/g/gcc/gcctoolchain/gcctoolchain-release_10.2.0.125178/gcc/gcc_11.1.0.pbi01/build-libc_2.17/target-libc_2.17/binnowrap/x86_64-libc_2.17-linux-gnu-ld.bfd: > /mnt/software/o/openmpi/4.1.4-ct-test/lib/libmpi.so: undefined reference to > `mca_base_framework_components_close' > > /mnt/software/g/gcc/gcctoolchain/gcctoolchain-release_10.2.0.125178/gcc/gcc_11.1.0.pbi01/build-libc_2.17/target-libc_2.17/binnowrap/x86_64-libc_2.17-linux-gnu-ld.bfd: > /mnt/software/o/openmpi/4.1.4-ct-test/lib/libmpi.so: undefined reference to > `opal_list_sort' > > > > ... > > ... > > > > > > $ mpicc --showme:link > > -pthread -L/mnt/software/o/openmpi/4.1.4-ct-test/lib -Wl,-rpath > -Wl,/mnt/software/o/openmpi/4.1.4-ct-test/lib -Wl,--enable-new-dtags -lmpi > > $ mpicc --showme:compile > > -I/mnt/software/o/openmpi/4.1.4-ct-test/include -pthread > > >