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 esal...@gmail.com
Cell 812-391-4914 Home 812-961-6383
http://saliya.org

Reply via email to