Hi, I tried to build Open MPI 1.5 on Solaris X86 and x86_64 with Oracle Studio 12.2. I can compile Open MPI with thread support, but I can only partly install it because "libtool" will not find "f95" although it is available. "make check" shows no failures.
tyr openmpi-1.5-SunOS.x86_64.32_cc 188 ssh sunpc4 cc -V cc: Sun C 5.11 SunOS_i386 145355-01 2010/10/11 usage: cc [ options ] files. Use 'cc -flags' for details No suspicious warnings or errors in log.configure.SunOS.x86_64.32_cc. tyr openmpi-1.5-SunOS.x86_64.32_cc 182 grep -i warning: log.make.SunOS.x86_64.32_cc | more ".../opal/mca/crs/none/crs_none_module.c", line 136: warning: statement not reached ".../orte/mca/errmgr/errmgr.h", line 135: warning: attribute "noreturn" may not be applied to variable, ignored (a lot of these warnings) ".../orte/mca/rmcast/tcp/rmcast_tcp.c", line 982: warning: assignment type mismatch: ".../orte/mca/rmcast/tcp/rmcast_tcp.c", line 1023: warning: assignment type mismatch: ".../orte/mca/rmcast/udp/rmcast_udp.c", line 877: warning: assignment type mismatch: ".../orte/mca/rmcast/udp/rmcast_udp.c", line 918: warning: assignment type mismatch: ".../orte/tools/orte-ps/orte-ps.c", line 288: warning: initializer does not fit or is out of range: 0xfffffffe ".../orte/tools/orte-ps/orte-ps.c", line 289: warning: initializer does not fit or is out of range: 0xfffffffe grep -i error: log.make.SunOS.x86_64.32_cc | more tyr openmpi-1.5-SunOS.x86_64.32_cc 185 grep -i FAIL log.make-check.SunOS.x86_64.32_cc tyr openmpi-1.5-SunOS.x86_64.32_cc 186 grep -i SKIP log.make-check.SunOS.x86_64.32_cc tyr openmpi-1.5-SunOS.x86_64.32_cc 187 grep -i PASS log.make-check.SunOS.x86_64.32_cc PASS: predefined_gap_test File opened with dladvise_local, all passed PASS: dlopen_test All 2 tests passed - 1 threads: Passed - 2 threads: Passed - 4 threads: Passed - 5 threads: Passed - 8 threads: Passed PASS: atomic_barrier - 1 threads: Passed - 2 threads: Passed - 4 threads: Passed - 5 threads: Passed - 8 threads: Passed PASS: atomic_barrier_noinline - 1 threads: Passed - 2 threads: Passed - 4 threads: Passed - 5 threads: Passed - 8 threads: Passed PASS: atomic_spinlock - 1 threads: Passed - 2 threads: Passed - 4 threads: Passed - 5 threads: Passed - 8 threads: Passed PASS: atomic_spinlock_noinline - 1 threads: Passed - 2 threads: Passed - 4 threads: Passed - 5 threads: Passed - 8 threads: Passed PASS: atomic_math - 1 threads: Passed - 2 threads: Passed - 4 threads: Passed - 5 threads: Passed - 8 threads: Passed PASS: atomic_math_noinline - 1 threads: Passed - 2 threads: Passed - 4 threads: Passed - 5 threads: Passed - 8 threads: Passed PASS: atomic_cmpset - 1 threads: Passed - 2 threads: Passed - 4 threads: Passed - 5 threads: Passed - 8 threads: Passed PASS: atomic_cmpset_noinline All 8 tests passed All 0 tests passed All 0 tests passed decode [PASSED] PASS: opal_datatype_test PASS: checksum PASS: position decode [PASSED] PASS: ddt_test decode [PASSED] PASS: ddt_raw All 5 tests passed SUPPORT: OMPI Test Passed: opal_path_nfs(): (0 tests) PASS: opal_path_nfs 1 test passed tyr openmpi-1.5-SunOS.x86_64.32_cc 190 grep -i warning: log.make-install.SunOS.x86_64.32_cc | more libtool: install: warning: relinking `libmpi_cxx.la' libtool: install: warning: relinking `libmpi_f77.la' libtool: install: warning: relinking `libmpi_f90.la' tyr openmpi-1.5-SunOS.x86_64.32_cc 191 grep -i error: log.make-install.SunOS.x86_64.32_cc | more libtool: install: error: relink `libmpi_f90.la' with the above command before installing it tyr openmpi-1.5-SunOS.x86_64.32_cc 194 tail -20 log.make-install.SunOS.x86_64.32_cc make[4]: Leaving directory `.../ompi/mpi/f90/scripts' make[4]: Entering directory `.../ompi/mpi/f90' make[5]: Entering directory `.../ompi/mpi/f90' test -z "/usr/local/openmpi-1.5_32_cc/lib" || /usr/local/bin/mkdir -p "/usr/local/openmpi-1.5_32_cc/lib" /bin/bash ../../../libtool --mode=install /usr/local/bin/install -c libmpi_f90.la '/usr/local/openmpi-1.5_32_cc/lib' libtool: install: warning: relinking `libmpi_f90.la' libtool: install: (cd /export2/src/openmpi-1.5/openmpi-1.5-SunOS.x86_64.32_cc/ompi/mpi/f90; /bin/bash /export2/src/openmpi-1.5/openmpi-1.5-SunOS.x86_64.32_cc/libtool --silent --tag FC --mode=relink f95 -I../../../ompi/include -I../../../../openmpi-1.5/ompi/include -I. -I../../../../openmpi-1.5/ompi/mpi/f90 -I../../../ompi/mpi/f90 -m32 -version-info 1:0:0 -export-dynamic -m32 -o libmpi_f90.la -rpath /usr/local/openmpi-1.5_32_cc/lib mpi.lo mpi_sizeof.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 ../../../ompi/mpi/f77/libmpi_f77.la -lsocket -lnsl -lrt -lm ) /export2/src/openmpi-1.5/openmpi-1.5-SunOS.x86_64.32_cc/libtool: line 7846: f95: command not found libtool: install: error: relink `libmpi_f90.la' with the above command before installing it make[5]: *** [install-libLTLIBRARIES] Error 1 make[5]: Leaving directory `.../ompi/mpi/f90' make[4]: *** [install-am] Error 2 make[4]: Leaving directory `.../ompi/mpi/f90' make[3]: *** [install-recursive] Error 1 make[3]: Leaving directory `.../ompi/mpi/f90' make[2]: *** [install] Error 2 make[2]: Leaving directory `.../ompi/mpi/f90' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `.../ompi' make: *** [install-recursive] Error 1 tyr openmpi-1.5-SunOS.x86_64.32_cc 195 Why doesn't libtool find "f95"? sunpc4 fd1026 101 which f77 /opt/solstudio12.2/bin/f77 sunpc4 fd1026 102 which f95 /opt/solstudio12.2/bin/f95 sunpc4 fd1026 103 sunpc4 openmpi-1.5-SunOS.x86_64.32_cc 114 grep f95 log.configure.SunOS.x86_64.32_cc checking whether f95 accepts -g... yes checking whether f77 and f95 compilers are compatible... yes ... I have the same problem with the 64-bit version. I have looked into "libtool" but don't understand what happens in line 7846. Does anybody know what I can do to install the package? Please let me know if you want any log-files or other files. Kind regards Siegmar