Siegmar --

This looks like an error in ROMIO that we should report upstream.

Thanks for the heads-up!


> On Feb 19, 2015, at 8:00 AM, Siegmar Gross 
> <siegmar.gr...@informatik.hs-fulda.de> wrote:
> 
> 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
> 
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2015/02/26345.php


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/

Reply via email to