Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] UnsatisfiedLinkError - libmpi_java.so.0.0.0
From: Saliya Ekanayake (esaliya_at_[hidden])
Date: 2013-07-21 01:01:48


Hi,

I obtained the nightly build openmpi-1.9a1r28881 (on 7/19/13) and built it
with java enabled using,

./configure --enable-mpi-java --prefix=/N/u/sekanaya/build

Then I wrote a simple MPI program to print the rank of the process,
following user guide from http://www.open-mpi.org/papers/mpi-java-spec/

I built my code using mpijavac and then tried running it as,

mpirun -np 2 java Main

where Main is my class name (not in a package) and I was running inside the
folder containing Main.class.

I get the following error when doing so,

Exception in thread "main" java.lang.UnsatisfiedLinkError:
/N/u/sekanaya/build/lib/libmpi_java.so.0.0.0:
/N/u/sekanaya/build/lib/libmpi.so.0: undefined symbol: opal_maffinity_setup

Any suggestion on fixing this?

Thank you in advance,

Saliya

-- 
Saliya Ekanayake esaliya_at_[hidden]
Cell 812-391-4914 Home 812-961-6383
http://saliya.org