problem compiling openmpi-1.3.2 with PG Compiles

CC=pgcc CXX=pgCC FC=pgf95
…/configure --prefix=/contrib/openmpi-1.3.2-PGI-10.0 is successfull. After running make, the following shows up during link.

libtool: link: tpldir=Template.dir
libtool: link: rm -rf Template.dir
libtool: link: /usr/local/pgiCDK-10.0/linux86-64/10.0/bin/pgCC --prelink_objects --instantiation_dir Template.dir .libs/mpicxx.o .libs/intercepts.o .libs/comm.o .libs/datatype.o .libs/win.o .libs/file.o -Wl,–rpath -Wl,/usr/local/builds/openmpi-1.3.2/build-pgi-10.0/ompi/.libs -Wl,–rpath -Wl,/usr/local/builds/openmpi-1.3.2/build-pgi-10.0/orte/.libs -Wl,–rpath -Wl,/usr/local/builds/openmpi-1.3.2/build-pgi-10.0/opal/.libs -Wl,–rpath -Wl,/contrib/openmpi-1.3.2-PGI-10.0-nodlopen/lib -L/usr/local/builds/openmpi-1.3.2/build-pgi-10.0/orte/.libs -L/usr/local/builds/openmpi-1.3.2/build-pgi-10.0/opal/.libs …/…/…/ompi/.libs/libmpi.so /usr/local/builds/openmpi-1.3.2/build-pgi-10.0/orte/.libs/libopen-rte.so /usr/local/builds/openmpi-1.3.2/build-pgi-10.0/opal/.libs/libopen-pal.so -ldl -lnsl -lutil -lpthread
pgCC-Error-Unknown switch: --instantiation_dir
make[2]: *** [libmpi_cxx.la] Error 1
make[2]: Leaving directory /usr/local/builds/openmpi-1.3.2/build-pgi-10.0/ompi/mpi/cxx' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /usr/local/builds/openmpi-1.3.2/build-pgi-10.0/ompi’
make: *** [all-recursive] Error 1

Any help will be appreciated.

Hi Bueas,

This is a problem with libtool where it’s matching PGI 10.0 with the configuration for version “1.0”. The folks at OpenMPI are aware of the issue. See: http://www.open-mpi.org/community/lists/users/2009/11/11277.php and expect a fix to be available in version 1.4.1 (See http://svn.open-mpi.org/svn/ompi/branches/v1.4/NEWS)


Hope this helps,
Mat