Hi,

I tried to install openmpi-1.9a1r31561 on my machines (openSUSE
Linux 12.1 x86_64, Solaris 10 x86_64, and Solaris 10 Sparc) with
"Sun C 5.12" and gcc-4.9.0.

I got the following error on all platforms using gcc.

tyr openmpi-1.9a1r31561-Linux.x86_64.64_gcc 146 tail -15 
log.make.Linux.x86_64.64_gcc 
  CC       group/group_bitmap.lo
  CC       info/info.lo
  CC       message/message.lo
  CC       op/op.lo
  CC       proc/proc.lo
../../openmpi-1.9a1r31561/ompi/proc/proc.c: In function 'ompi_proc_unpack':
../../openmpi-1.9a1r31561/ompi/proc/proc.c:797:66: error: expected ';' before 
')' token
                                    (void**)&new_arch, OPAL_UINT32);
                                                                  ^
../../openmpi-1.9a1r31561/ompi/proc/proc.c:797:66: error:
  expected statement before ')' token
make[2]: *** [proc/proc.lo] Error 1
make[2]: Leaving directory `.../ompi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `.../ompi'
make: *** [all-recursive] Error 1
tyr openmpi-1.9a1r31561-Linux.x86_64.64_gcc 147 




I got the following error on all platforms using cc.

tyr openmpi-1.9a1r31561-Linux.x86_64.64_cc 154 tail -8 
log.make.Linux.x86_64.64_cc
"../../openmpi-1.9a1r31561/opal/include/opal/sys/atomic_impl.h",
  line 217: warning: statement not reached
"../../openmpi-1.9a1r31561/ompi/proc/proc.c", line 797:
  syntax error before or at: )
cc: acomp failed for ../../openmpi-1.9a1r31561/ompi/proc/proc.c
make[2]: *** [proc/proc.lo] Error 1
make[2]: Leaving directory `.../ompi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `.../ompi'
make: *** [all-recursive] Error 1
tyr openmpi-1.9a1r31561-Linux.x86_64.64_cc 155 


I configured with the following commands.

../openmpi-1.9a1r31561/configure --prefix=/usr/local/openmpi-1.9_64_gcc \
  --libdir=/usr/local/openmpi-1.9_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 -L/usr/local/gcc-4.9.0/lib64" \
  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-mpi-thread-multiple \
  --with-threads=posix \
  --with-hwloc=internal \
  --without-verbs \
  --without-sctp \
  --with-wrapper-cflags="-std=c11 -m64" \
  --enable-debug \
  |& tee log.configure.$SYSTEM_ENV.$MACHINE_ENV.64_gcc


../openmpi-1.9a1r31561/configure --prefix=/usr/local/openmpi-1.9_64_cc \
  --libdir=/usr/local/openmpi-1.9_64_cc/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="cc" CXX="CC" FC="f95" \
  CFLAGS="-m64" CXXFLAGS="-m64 -library=stlport4" FCFLAGS="-m64" \
  CPP="cpp" CXXCPP="cpp" \
  CPPFLAGS="" CXXCPPFLAGS="" \
  --enable-mpi-cxx \
  --enable-cxx-exceptions \
  --enable-mpi-java \
  --enable-heterogeneous \
  --enable-mpi-thread-multiple \
  --with-threads=posix \
  --with-hwloc=internal \
  --without-verbs \
  --without-sctp \
  --with-wrapper-cflags=-m64 \
  --enable-debug \
  |& tee log.configure.$SYSTEM_ENV.$MACHINE_ENV.64_cc


I would be grateful if somebody could solve the problems. Thank
you very much for any help in advance.


I got the following warnings using Sun C and no warnings with gcc,
if somebody is interested in warnings. By the way, I get the same
warnings with openmpi-1.8.2a1r31556.

tyr openmpi-1.9a1r31561-Linux.x86_64.64_cc 159 grep warning 
log.make.Linux.x86_64.64_cc | sort | uniq
"../../../../../../../openmpi-1.9a1r31561/opal/mca/hwloc/hwloc172/hwloc/src/topology-custom.c",
 line 85: warning: 
initializer will be sign-extended: -1
"../../../../../../../openmpi-1.9a1r31561/opal/mca/hwloc/hwloc172/hwloc/src/topology-linux.c",
 line 2505: warning: 
initializer will be sign-extended: -1
"../../../../../../../openmpi-1.9a1r31561/opal/mca/hwloc/hwloc172/hwloc/src/topology-synthetic.c",
 line 433: 
warning: initializer will be sign-extended: -1
"../../../../../../../openmpi-1.9a1r31561/opal/mca/hwloc/hwloc172/hwloc/src/topology-xml.c",
 line 1152: warning: 
initializer will be sign-extended: -1
"../../../../../openmpi-1.9a1r31561/opal/include/opal/sys/amd64/atomic.h", line 
136: warning: parameter in inline 
asm statement unused: %3
"../../../../../openmpi-1.9a1r31561/opal/include/opal/sys/amd64/atomic.h", line 
182: warning: parameter in inline 
asm statement unused: %2
"../../../../../openmpi-1.9a1r31561/opal/include/opal/sys/amd64/atomic.h", line 
203: warning: parameter in inline 
asm statement unused: %2
"../../../../../openmpi-1.9a1r31561/opal/include/opal/sys/amd64/atomic.h", line 
224: warning: parameter in inline 
asm statement unused: %2
"../../../../../openmpi-1.9a1r31561/opal/include/opal/sys/amd64/atomic.h", line 
245: warning: parameter in inline 
asm statement unused: %2
"../../../../../openmpi-1.9a1r31561/opal/include/opal/sys/atomic_impl.h", line 
167: warning: statement not reached
"../../../../../openmpi-1.9a1r31561/opal/include/opal/sys/atomic_impl.h", line 
192: warning: statement not reached
"../../../../../openmpi-1.9a1r31561/opal/include/opal/sys/atomic_impl.h", line 
217: warning: statement not reached
"../../../../../openmpi-1.9a1r31561/orte/mca/odls/default/odls_default_module.c",
 line 564: warning: statement not 
reached



"gcc" reports the following warning for openmpi-1.8.2a1r31556.
I don't see this warning in openmpi-1.9a1r31561.

tyr openmpi-1.8.2a1r31556-Linux.x86_64.64_gcc 176 grep warning \
 log.make.Linux.x86_64.64_gcc | sort | uniq
../../../../../openmpi-1.8.2a1r31556/ompi/mpi/java/java/CartComm.java:100:
  warning: no description for @throws
...


Kind regards

Siegmar

Reply via email to