Hi,

today I tried to install openmpi-dev-274-g2177f9e on my machines
(Solaris 10 Sparc, Solaris 10 x86_64, and openSUSE Linux 12.1
x86_64) with gcc-4.9.2 and got the following error on all three
platforms.

tyr openmpi-dev-274-g2177f9e-Linux.x86_64.64_gcc 117 tail -25 
log.make.Linux.x86_64.64_gcc
  SED      mpi/man/man3/MPI_Wtime.3
  SED      mpi/man/man3/OpenMPI.3
make[2]: Leaving directory 
`/export2/src/openmpi-1.9/openmpi-dev-274-g2177f9e-Linux.x86_64.64_gcc/ompi'
Making all in mpi/cxx
make[2]: Entering directory 
`/export2/src/openmpi-1.9/openmpi-dev-274-g2177f9e-Linux.x86_64.64_gcc/ompi/mpi/cxx'
  CXX      mpicxx.lo
In file included from 
../../../../openmpi-dev-274-g2177f9e/ompi/mca/rte/orte/rte_orte.h:33:0,
                 from 
../../../../openmpi-dev-274-g2177f9e/ompi/mca/rte/rte.h:195,
                 from 
../../../../openmpi-dev-274-g2177f9e/ompi/errhandler/errhandler.h:34,
                 from 
../../../../openmpi-dev-274-g2177f9e/ompi/mpi/cxx/mpicxx.cc:37:
../../../../openmpi-dev-274-g2177f9e/orte/mca/routed/routed.h:52:8: error: 
using typedef-name 'orte_process_name_t' after 'struct'
 struct orte_process_name_t;
        ^
In file included from 
../../../../openmpi-dev-274-g2177f9e/ompi/mca/rte/orte/rte_orte.h:29:0,
                 from 
../../../../openmpi-dev-274-g2177f9e/ompi/mca/rte/rte.h:195,
                 from 
../../../../openmpi-dev-274-g2177f9e/ompi/errhandler/errhandler.h:34,
                 from 
../../../../openmpi-dev-274-g2177f9e/ompi/mpi/cxx/mpicxx.cc:37:
../../../../openmpi-dev-274-g2177f9e/orte/include/orte/types.h:102:29: note: 
'orte_process_name_t' has a previous declaration here
 typedef opal_process_name_t orte_process_name_t;
                             ^
make[2]: *** [mpicxx.lo] Error 1
make[2]: Leaving directory 
`/export2/src/openmpi-1.9/openmpi-dev-274-g2177f9e-Linux.x86_64.64_gcc/ompi/mpi/cxx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/export2/src/openmpi-1.9/openmpi-dev-274-g2177f9e-Linux.x86_64.64_gcc/ompi'
make: *** [all-recursive] Error 1
tyr openmpi-dev-274-g2177f9e-Linux.x86_64.64_gcc 118 


I used the following configure command.

tyr openmpi-dev-274-g2177f9e-Linux.x86_64.64_gcc 118 head config.log | grep 
openmpi
  $ ../openmpi-dev-274-g2177f9e/configure 
--prefix=/usr/local/openmpi-1.9.0_64_gcc 
--libdir=/usr/local/openmpi-1.9.0_64_gcc/lib64 
--with-jdk-bindir=/usr/local/jdk1.8.0/bin 
--with-jdk-headers=/usr/local/jdk1.8.0/include JAVA_HOME=/usr/local/jdk1.8.0 
LDFLAGS=-m64 
CC=gcc CXX=g++ FC=gfortran CFLAGS=-m64 -D_REENTRANT CXXFLAGS=-m64 FCFLAGS=-m64 
CPP=cpp CXXCPP=cpp CPPFLAGS= -D_REENTRANT 
CXXCPPFLAGS= --enable-mpi-cxx --enable-cxx-exceptions --enable-mpi-java 
--enable-mpi-thread-multiple --with-threads=posix 
--with-hwloc=internal --without-verbs --with-wrapper-cflags=-std=c11 -m64 
--with-wrapper-cxxflags=-m64 --enable-debug
tyr openmpi-dev-274-g2177f9e-Linux.x86_64.64_gcc 119 


I would be grateful. if somebody can fix the problem. Thank
you very much for any help in advance.


Kind regards

Siegmar

Reply via email to