I regret to say that in my endless search for perfection (which is a journey, not a destination) I believe I found another issue:
I had mx2g sources sitting around, which I compiled and installed on two systems (x86 and x86-64). These provide only compile/link tests, since my systems lack the hardware (actually do have some in a box somewhere). Things worked fine on both systems when configure with --with-mx=[path]. However, on both systems adding "--enable-static --disable-shared" results in failure from "make check": make[3]: Entering directory `/home/phargrov/OMPI/openmpi-1.10.0rc5-linux-x86-mx-static/BLD/ompi/debuggers' CC predefined_gap_test.o CCLD predefined_gap_test CC dlopen_test.o CCLD dlopen_test make[3]: Leaving directory `/home/phargrov/OMPI/openmpi-1.10.0rc5-linux-x86-mx-static/BLD/ompi/debuggers' make check-TESTS make[3]: Entering directory `/home/phargrov/OMPI/openmpi-1.10.0rc5-linux-x86-mx-static/BLD/ompi/debuggers' ./predefined_gap_test: error while loading shared libraries: libmyriexpress.so: cannot open shared object file: No such file or directory FAIL: predefined_gap_test ./dlopen_test: error while loading shared libraries: libmyriexpress.so: cannot open shared object file: No such file or directory FAIL: dlopen_test The following *does* show mpicc using a correct rpath argument for the mx library: $ ./INST/bin/mpicc --show openmpi-1.10.0rc5/examples/ring_c.c gcc openmpi-1.10.0rc5/examples/ring_c.c -I/home/phargrov/OMPI/openmpi-1.10.0rc5-linux-x86-mx-static/INST/include -pthread -L/opt/mx2g/lib -Wl,-rpath -Wl,/opt/mx2g/lib -Wl,-rpath -Wl,/home/phargrov/OMPI/openmpi-1.10.0rc5-linux-x86-mx-static/INST/lib -Wl,--enable-new-dtags -L/home/phargrov/OMPI/openmpi-1.10.0rc5-linux-x86-mx-static/INST/lib -lmpi -lopen-rte -lopen-pal -lm -ldl -lrt -lmyriexpress -libverbs -lutil $ ls /opt/mx2g/lib debug libmyriexpress.a libmyriexpress.so However, the *test* is built without an rpath: /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -fno-strict-aliasing -pthread -g -o dlopen_test dlopen_test.o ../../ompi/ libmpi.la ../../opal/libopen-pal.la -lrt -lm -lutil libtool: link: gcc -std=gnu99 -fno-strict-aliasing -pthread -g -o dlopen_test dlopen_test.o ../../ompi/.libs/libmpi.a -L/opt/mx2g/lib -libverbs -lmyriexpress /home/phargrov/OMPI/openmpi-1.10.0rc5-linux-x86-mx-static/BLD/orte/.libs/libopen-rte.a /home/phargrov/OMPI/openmpi-1.10.0rc5-linux-x86-mx-static/BLD/opal/.libs/libopen-pal.a ../../opal/.libs/libopen-pal.a -ldl -lrt -lm -lutil -pthread I have no reason to suspect this is not also present in 1.8.x, but have not checked. Sometime after 1.10.0 is out to door, I expect to test the v1.8 nightly tarball. -Paul [who enjoyed breaking his toys as a child and now breaks software with the same enthusiasm] -- Paul H. Hargrove phhargr...@lbl.gov Computer Languages & Systems Software (CLaSS) Group Computer Science Department Tel: +1-510-495-2352 Lawrence Berkeley National Laboratory Fax: +1-510-486-6900