Siegmar,

Thanks for your report. But it is a known issue and will be fixed in Open MPI 
v3.0.2.

  https://github.com/open-mpi/ompi/pull/5029

If you want it now in v3.0.x series, try the latest nightly snapshot.

  https://www.open-mpi.org/nightly/v3.0.x/

Regards,
Takahiro Kawashima,
MPI development team,
Fujitsu

> Hi,
> 
> I've tried to install openmpi-3.0.1 on my "SUSE Linux Enterprise Server 12.3
> (x86_64)" with gcc-6.4.0 or Sun C 5.15 and Java-10. Unfortunately I get the
> following error. I can build it with both C compilers and Java-9 and I can
> build openmpi-v3.1.x-201804110302-be0843e and 
> openmpi-master-201804110351-664ba32
> with both compilers and Java-10.
> 
> loki openmpi-3.0.1-Linux.x86_64.64_gcc_jdk-10 159 head -7 config.log | tail -1
>    $ ../openmpi-3.0.1/configure --prefix=/usr/local/openmpi-3.0.1_64_gcc 
> --libdir=/usr/local/openmpi-3.0.1_64_gcc/lib64 
> --with-jdk-bindir=/usr/local/jdk-10/bin 
> --with-jdk-headers=/usr/local/jdk-10/include JAVA_HOME=/usr/local/jdk-10 
> LDFLAGS=-m64 CC=gcc CXX=g++ FC=gfortran CFLAGS=-m64 CXXFLAGS=-m64 
> FCFLAGS=-m64 
> CPP=cpp CXXCPP=cpp --enable-mpi-cxx --enable-cxx-exceptions --enable-mpi-java 
> --with-cuda=/usr/local/cuda --with-valgrind=/usr/local/valgrind 
> --with-hwloc=internal --without-verbs --with-wrapper-cflags=-std=c11 -m64 
> --with-wrapper-cxxflags=-m64 --with-wrapper-fcflags=-m64 --enable-debug
> 
> 
> 
> loki openmpi-3.0.1-Linux.x86_64.64_gcc_jdk-10 170 more 
> log.make.Linux.x86_64.64_gcc
> Making all in config
> make[1]: Entering directory 
> '/export2/src/openmpi-3.0.1/openmpi-3.0.1-Linux.x86_64.64_gcc_jdk-10/config'
> ...
> /JAVAH
> ...skipping
> make[3]: Entering directory 
> '/export2/src/openmpi-3.0.1/openmpi-3.0.1-Linux.x86_64.64_gcc_jdk-10/ompi/mpi/java/java'
>    JAVAC    MPI.class
>    JAVAH    mpi_MPI.h
>    JAVAH    mpi_CartParms.h
>    JAVAH    mpi_CartComm.h
>    JAVAH    mpi_Constant.h
>    JAVAH    mpi_Comm.h
>    JAVAH    mpi_Count.h
> Error: Could not find class file for 'mpi.CartParms'.
> Makefile:2178: recipe for target 'mpi_CartParms.h' failed
> make[3]: *** [mpi_CartParms.h] Error 1
> make[3]: *** Waiting for unfinished jobs....
> Error: Could not find class file for 'mpi.MPI'.
> Makefile:2178: recipe for target 'mpi_MPI.h' failed
> make[3]: *** [mpi_MPI.h] Error 1
> Error: Could not find class file for 'mpi.Comm'.
> Error: Could not find class file for 'mpi.Constant'.
> Error: Could not find class file for 'mpi.CartComm'.
> Makefile:2178: recipe for target 'mpi_Comm.h' failed
> make[3]: *** [mpi_Comm.h] Error 1
> Makefile:2178: recipe for target 'mpi_Constant.h' failed
> make[3]: *** [mpi_Constant.h] Error 1
> Error: Could not find class file for 'mpi.Count'.
> Makefile:2178: recipe for target 'mpi_CartComm.h' failed
> make[3]: *** [mpi_CartComm.h] Error 1
> Makefile:2178: recipe for target 'mpi_Count.h' failed
> make[3]: *** [mpi_Count.h] Error 1
> make[3]: Leaving directory 
> '/export2/src/openmpi-3.0.1/openmpi-3.0.1-Linux.x86_64.64_gcc_jdk-10/ompi/mpi/java/java'
> Makefile:1720: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory 
> '/export2/src/openmpi-3.0.1/openmpi-3.0.1-Linux.x86_64.64_gcc_jdk-10/ompi/mpi/java'
> Makefile:3421: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory 
> '/export2/src/openmpi-3.0.1/openmpi-3.0.1-Linux.x86_64.64_gcc_jdk-10/ompi'
> Makefile:1873: recipe for target 'all-recursive' failed
> make: *** [all-recursive] Error 1
> loki openmpi-3.0.1-Linux.x86_64.64_gcc_jdk-10 171
> 
> 
> loki openmpi-3.0.1-Linux.x86_64.64_gcc_jdk-10 161 ls -l 
> ompi/mpi/java/java/mpi/CartComm.class
> -rw-r--r-- 1 root root 2621 Apr 12 16:46 ompi/mpi/java/java/mpi/CartComm.class
> loki openmpi-3.0.1-Linux.x86_64.64_gcc_jdk-10 162
> 
> 
> 
> 
> 
> Java-9:
> =======
> 
> loki openmpi-3.0.1-Linux.x86_64.64_gcc 166 head -7 config.log | tail -1
>    $ ../openmpi-3.0.1/configure --prefix=/usr/local/openmpi-3.0.1_64_gcc 
> --libdir=/usr/local/openmpi-3.0.1_64_gcc/lib64 
> --with-jdk-bindir=/usr/local/jdk-9/bin 
> --with-jdk-headers=/usr/local/jdk-9/include JAVA_HOME=/usr/local/jdk-9 
> LDFLAGS=-m64 CC=gcc CXX=g++ FC=gfortran CFLAGS=-m64 CXXFLAGS=-m64 
> FCFLAGS=-m64 
> CPP=cpp CXXCPP=cpp --enable-mpi-cxx --enable-cxx-exceptions --enable-mpi-java 
> --with-cuda=/usr/local/cuda --with-valgrind=/usr/local/valgrind 
> --with-hwloc=internal --without-verbs --with-wrapper-cflags=-std=c11 -m64 
> --with-wrapper-cxxflags=-m64 --with-wrapper-fcflags=-m64 --enable-debug
> 
> 
> loki openmpi-3.0.1-Linux.x86_64.64_gcc 168 more log.make.Linux.x86_64.64_gcc
> Making all in config
> make[1]: Entering directory 
> '/export2/src/openmpi-3.0.1/openmpi-3.0.1-Linux.x86_64.64_gcc/config'
> ...
> /JAVAH
> ...skipping
> make[3]: Entering directory 
> '/export2/src/openmpi-3.0.1/openmpi-3.0.1-Linux.x86_64.64_gcc/ompi/mpi/java/java'
>    JAVAC    MPI.class
>    JAVAH    mpi_MPI.h
>    JAVAH    mpi_CartParms.h
>    JAVAH    mpi_Comm.h
>    JAVAH    mpi_Count.h
>    JAVAH    mpi_Constant.h
>    JAVAH    mpi_CartComm.h
> 
> Warning: The javah tool is planned to be removed in the next major
> JDK release. The tool has been superseded by the '-h' option added
> to javac in JDK 8. Users are recommended to migrate to using the
> javac '-h' option; see the javac man page for more information.
> ...
> 
> 
> I would be grateful, if somebody can fix the problem for Java-10. Do you
> need anything else? Thank you very much for any help in advance.
> 
> 
> Kind regards
> 
> Siegmar

_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Reply via email to