Hello.

I installed open mpi and try to run the examples.
I used the developer trunk.
C, C++ and Fortran90 examples compiling and running well.

When i tried to run the compiled Hello.java class
i get this messages:

georg@ThinkPad-R61:~/ompi-svn/examples$ mpirun java Hello
[ThinkPad-R61:19720] NO LT_DLADVISE - CANNOT LOAD LIBOMPI
JAVA BINDINGS FAILED TO LOAD REQUIRED LIBRARIES
-------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code.. Per user-direction, the job has been aborted.
-------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus 
causing
the job to be terminated. The first process to do so was:

  Process name: [[43465,1],0]
  Exit code:    1
--------------------------------------------------------------------------


I configure with:
./configure --prefix=/home/georg/ompi-install1 --with-platform=optimized 
--enable-mpi-java --with-jdk-dir=/opt/jdk1.7.0_09

I work with ubuntu 10.10.

I added to .bashrc:
export 
PATH=$PATH:/home/georg/tools/installed/bin:/home/georg/ompi-install1/bin:/opt/jdk1.7.0_09/bin:/opt/jdk1.7.0_09
export 
LD_LIBRARY_PATH=$LB_LIBRARY_PATH:/home/georg/ompi-install1/lib:/home/georg/ompi-install1/lib/openmpi:/home/georg/ompi-install1/lib/pkgconfig
 

I can compile and run java progs 

Did anyone know the fault?

Thanks.




Reply via email to