Hi,

today I tried to build openmpi-dev-1031-g008755a on my machines
(Solaris 10 Sparc, Solaris 10 x86_64, and openSUSE Linux 12.1
x86_64) with gcc-4.9.2 and Sun C 5.13 and got errors on all three
platforms for both compilers. I used the following configure
command for all platforms.

../openmpi-dev-1031-g008755a/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" 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-hwloc=internal \
  --without-verbs \
  --with-wrapper-cflags="-std=c11 -m64" \
  --with-wrapper-cxxflags="-m64" \
  --with-wrapper-fcflags="-m64" \
  --enable-debug \
  |& tee log.configure.$SYSTEM_ENV.$MACHINE_ENV.64_gcc

I got the following warning on my Solaris Sparc machine.

...
  CC       mpi-io/get_extent.lo
In file included from 
../../../../../../openmpi-dev-1031-g008755a/ompi/mca/io/romio/romio/adio/include/adioi
.h:950:0,
                 from 
../../../../../../openmpi-dev-1031-g008755a/ompi/mca/io/romio/romio/adio/include/adio.
h:454,
                 from 
../../../../../../openmpi-dev-1031-g008755a/ompi/mca/io/romio/romio/mpi-io/mpioimpl.h:
15,
                 from 
../../../../../../openmpi-dev-1031-g008755a/ompi/mca/io/romio/romio/mpi-io/get_extent.
c:8:
../../../../../../openmpi-dev-1031-g008755a/ompi/mca/io/romio/romio/mpi-io/get_extent.c:
 In function 'mca_io
_romio_dist_MPI_File_get_type_extent':
../../../../../../openmpi-dev-1031-g008755a/ompi/mca/io/romio/romio/adio/include/adioi_error.h:74:24:
 warnin
g: 'error_code' may be used uninitialized in this function 
[-Wmaybe-uninitialized]
             error_code = MPIO_Err_return_file(fh, error_code);      \
                        ^
../../../../../../openmpi-dev-1031-g008755a/ompi/mca/io/romio/romio/mpi-io/get_extent.c:42:9:
 note: 'error_c
ode' was declared here
     int error_code;
         ^
  CC       mpi-io/get_group.lo
...


I got the same error that I have already reported for my
Linux machine.


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


Kind regards

Siegmar

Reply via email to