Re: [OMPI users] Error when Building an MPI Java program

2019-04-11 Thread Kawashima, Takahiro
Benson, I think OpenJDK 9 is enough. I tested Open MPI Java bindings with OpenJDK 8, 9, 10, and 11 several months ago. Compiling your MPI Java program requires mpi.jar, which should have been installed in $OMPI_INSTALL_DIR/lib. Probably your compilation error message indicates mpi.jar is not

Re: [OMPI users] Error when Building an MPI Java program

2019-04-10 Thread Benson Muite
Thanks. The code is here: https://github.com/mboysan/ping-pong-mpi-tcp OpenMPI is built using: ./configure --prefix=/PATH_TO_HOME_DIRECTORY/openmpi-4.0.1-install \     --enable-mpi-java The code builds on a number of other machines. Are there any minimum java build requirements for

Re: [OMPI users] Error when Building an MPI Java program

2019-04-09 Thread Jeff Squyres (jsquyres) via users
Can you provide a small, standalone example + recipe to show the problem? > On Apr 8, 2019, at 6:45 AM, Benson Muite wrote: > > Hi > > Am trying to build an MPI Java program using OpenMPI 4.0.1: > > I get the following error: > > Compilation failure >

[OMPI users] Error when Building an MPI Java program

2019-04-08 Thread Benson Muite
Hi Am trying to build an MPI Java program using OpenMPI 4.0.1: I get the following error: Compilation failure /MY_DIRECTORY/ping-pong-mpi-tcp/src/main/java/SocketMainMultiJVM.java:[2,10] error: cannot access MPIException Any suggestions on what I am doing incorrectly? Thanks, Benson