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.2.8 on Solaris: configure problems
From: Paul Kapinos (kapinos_at_[hidden])
Date: 2008-10-17 11:53:07


Hi guys,

did you test OpenMPI 1.2.8 on Solaris at all?!

We tried to compile OpenMPI 1.2.8 on Solaris on Sparc and on Opteron for
both GCC and SUN Studio compiler, in 32bit and 64bit versions, at all
2*2*2=8 versions, in the very same maneer we have installed 1.2.5 and
1.2.6 versions.

The configuring processes runs through, but if "gmake all" called, it
seems to be so, that the configure stage restarts or being resumed:

......
orte/mca/smr/bproc/Makefile.am:47: Libtool library used but `LIBTOOL' is
undefined
orte/mca/smr/bproc/Makefile.am:47: The usual way to define `LIBTOOL'
is to add `AC_PROG_LIBTOOL'
orte/mca/smr/bproc/Makefile.am:47: to `configure.ac' and run `aclocal'
and `autoconf' again.
orte/mca/smr/bproc/Makefile.am:47: If `AC_PROG_LIBTOOL' is in
`configure.ac', make sure
orte/mca/smr/bproc/Makefile.am:47: its definition is in aclocal's
search path.
test/support/Makefile.am:29: library used but `RANLIB' is undefined
test/support/Makefile.am:29: The usual way to define `RANLIB' is to
add `AC_PROG_RANLIB'
test/support/Makefile.am:29: to `configure.ac' and run `autoconf' again.

..... and breaks.

If "gmake all" again we also see error messages like:

*** Fortran 77 compiler
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether gfortran accepts -g... yes
checking if Fortran 77 compiler works... yes
checking gfortran external symbol convention... ./configure: line 26340:
./conftest.o: Permission denied
./configure: line 26342: ./conftest.o: Permission denied
./configure: line 26344: ./conftest.o: Permission denied
./configure: line 26346: ./conftest.o: Permission denied
./configure: line 26348: ./conftest.o: Permission denied
configure: error: Could not determine Fortran naming convention.

Considered the configure script we see on these lines in ./configire:

     if $NM conftest.o | grep foo_bar__ >/dev/null 2>&1 ; then
                       ompi_cv_f77_external_symbol="double underscore"
                   elif $NM conftest.o | grep foo_bar_ >/dev/null 2>&1 ;
then
                       ompi_cv_f77_external_symbol="single underscore"
                   elif $NM conftest.o | grep FOO_bar >/dev/null 2>&1 ; then
                       ompi_cv_f77_external_symbol="mixed case"
                   elif $NM conftest.o | grep foo_bar >/dev/null 2>&1 ; then
                       ompi_cv_f77_external_symbol="no underscore"
                   elif $NM conftest.o | grep FOO_BAR >/dev/null 2>&1 ; then
                       ompi_cv_f77_external_symbol="upper case"
                   else
                       $NM conftest.o >conftest.out 2>&1

....and searching through ./configire says us, that $NM is never set
(neither in ./configure nor in our environment)

So, we think that somewhat is not OK with ./configure script. Attend to
the fact, that we were able to install 1.2.5 and 1.2.6 some time ago on
same boxes without problems.

Or maybe we do somewhat wrong?

best regards,
Paul Kapinos
HPC Group RZ RWTH Aachen

P.S. Folks, does somebody compiled OpenMPI 1.2.8 on someone Solaris
sucessfully?