Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] openmpi-1.9a1r29303 neglects --with-wrapper-libs
From: Siegmar Gross (Siegmar.Gross_at_[hidden])
Date: 2013-10-01 03:18:06


Hi,

today I installed openmpi-1.9a1r29303 on Solaris 10 Sparc with
gcc-4.8.0. I used the following configuration command:

tyr openmpi-1.9a1r29303-SunOS.sparc.64_gcc 64 head config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Open MPI configure 1.9a1, which was
generated by GNU Autoconf 2.69. Invocation command line was

../openmpi-1.9a1r29303/configure \
  --prefix=/usr/local/openmpi-1.9_64_gcc \
  --libdir=/usr/local/openmpi-1.9_64_gcc/lib64 \
  --with-jdk-bindir=/usr/local/jdk1.7.0_07/bin/sparcv9 \
  --with-jdk-headers=/usr/local/jdk1.7.0_07/include \
  JAVA_HOME=/usr/local/jdk1.7.0_07 \
  LDFLAGS=-m64 \
  -L/usr/local/gcc-4.8.0/lib/sparcv9 \
  LIBS=-lgcc_s \
  CC=gcc CXX=g++ FC=gfortran \
  CFLAGS=-m64 CXXFLAGS=-m64 FCFLAGS=-m64 \
  CPP=cpp CXXCPP=cpp CPPFLAGS= CXXCPPFLAGS= \
  --enable-mpi-cxx \
  --enable-cxx-exceptions \
  --enable-mpi-java \
  --enable-heterogeneous \
  --enable-opal-multi-threads \
  --enable-mpi-thread-multiple \
  --with-threads=posix \
  --with-hwloc=internal \
  --without-verbs \
  --without-udapl \
  --without-sctp \
  --with-wrapper-cflags=-std=c11 -m64 \
  --with-wrapper-libs=-lgcc_s \
  --enable-debug
...

/export2/prog/SunOS_sparc/openmpi-1.9_64_gcc/bin/ompi_info | grep MPI:
                Open MPI: 1.9a1r29303

/export2/prog/SunOS_sparc/openmpi-1.9_64_gcc/bin/mpicc -showme
gcc -I/usr/local/openmpi-1.9_64_gcc/include -fexceptions -pthread \
  -std=c11 -m64 -Wl,-rpath -Wl,/usr/local/openmpi-1.9_64_gcc/lib64 \
  -Wl,--enable-new-dtags -L/usr/local/openmpi-1.9_64_gcc/lib64 -lmpi

The wrapper compiler doesn't contain "-lgcc_s", which is necessary
to compile MPI programs on Solaris Sparc.

tyr examples 72 /export2/prog/SunOS_sparc/openmpi-1.9_64_gcc/bin/mpicc hello_c.c
/usr/local/openmpi-1.9_64_gcc/lib64/libmpi.so: undefined reference to `__muldc3_at_GCC_4.0.0'
/usr/local/openmpi-1.9_64_gcc/lib64/libmpi.so: undefined reference to `__mulsc3_at_GCC_4.0.0'
/usr/local/openmpi-1.9_64_gcc/lib64/libmpi.so: undefined reference to `__multc3_at_GCC_4.0.0'
collect2: error: ld returned 1 exit status

tyr examples 73 /export2/prog/SunOS_sparc/openmpi-1.9_64_gcc/bin/mpicc hello_c.c -lgcc_s
tyr examples 74

The Javadoc documentation for the new Java API in Open MPI isn't
available. Is it necessary to do something special, so that it
will be built and installed?

tyr examples 76 ls -l /export2/prog/SunOS_sparc/openmpi-1.9_64_gcc/share/
total 5
drwxr-xr-x 5 root root 512 Oct 1 08:50 man
drwxr-xr-x 3 root root 3072 Oct 1 08:52 openmpi
drwxr-xr-x 3 root root 512 Oct 1 08:51 vampirtrace
tyr examples 77

I would be grateful, if somebody can fix the problem with the
missing wrapper-lib. Thank you very much for any help in advance.

Kind regards

Siegmar