Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [OMPI users] Problems with compilig of OpenMPI 1.2.7
From: Paul Kapinos (kapinos_at_[hidden])
Date: 2008-08-29 12:03:39

Hi all,

I just tried to install the 1.2.7 version of OpenMPI alongside to our
used 1.2.5 and 1.2.6.

Because we use gcc, intel, studio and pgi compilers on three OSes
(Linux, Solaris/Sparc/ Solaris/Opteron), we have at least 15 Versions to
compile (not all compilers are available everywere). Some versions are
configured and compiled well (so, I don't check them yet, but they
compiled and installed...)

But 8 of versions beraks the compilation with some crude error messages.
Mostly there were logs like

"/usr/include/infiniband/kern-abi.h", line 144: zero-sized struct/union
"btl_openib_component.c", line 293: warning: syntax error: empty

Six of 8 broken versions stopped the compilation on the file

Making all in cxx
gmake[3]: Entering directory
source='' object='mpicxx.lo' libtool=yes \
         DEPDIR=.deps depmode=none /bin/bash ../../../config/depcomp \
         /bin/bash ../../../libtool --tag=CXX --mode=compile CC
-DHAVE_CONFIG_H -I. -I../../../opal/include -I../../../orte/include
-DOMPI_SKIP_MPICXX=1 -I../../.. -DNDEBUG -O2 -m64 -mt -c -o mpicxx.lo
libtool: compile: CC -DHAVE_CONFIG_H -I. -I../../../opal/include
-I../../../orte/include -I../../../ompi/include
-DNDEBUG -O2 -m64 -mt -c -KPIC -DPIC -o .libs/mpicxx.o
"", line 293: Error: A declaration does not specify a tag or an
"", line 293: Error: Use ";" to terminate declarations.
"", line 293: Error: A declaration was expected instead of "0x01".
3 Error(s) detected

So, it seems to me, there is somewhat nasty with one or more
declarations somewhere...

Does somebody have any idea what I am doing wrong? Or maybe there is an
bug in 1.2.7?

Best regards
Paul Kapinos

P.S. I Used quite straght forward configuretion like following:

./configure --enable-static --with-devel-headers CFLAGS="-O2 -m64"
CXXFLAGS="-O2 -m64" F77=f77 FFLAGS="-O2 -m64" FCFLAGS="-O2 -m64"
LDFLAGS="-O2 -m64" --prefix=/rwthfs/rz/SW/MPI/openmpi-1.2.7/solx8664/studio

Of course other versions (32bit, other compiler) are configured with
adapted settings ;-) The very same settings applied to 1.2.5 and 1.2.6
does not produce any problems in the past.