I used this tutorial http://mpjexpress.blogspot.co.nz/2010/05/executing-and-debugging-mpj-express.html , text: steps 1,2,3 and video: steps 0:00 to 3 : 29
Reference Files

(source: iforce.co.nz )
Sample code (copy the paste from the tutorial)
import mpi.*; public class HelloEclipseWorld { vpublic static void main(String[] args) throws Exception { MPI.Init(args) ; int rank = MPI.COMM_WORLD.Rank(); int size = MPI.COMM_WORLD.Size(); System.out.println("I am process <"+rank+"> of total <"+ size+"> processes."); MPI.Finalize(); } }
And I included the jar file mpi and mpj from http://en.sourceforge.jp/projects/sfnet_mpjexpress/downloads/releases/mpj-v0_38.zip/ (according to the instructions)
Then I set up the execution path configuration (according to the tutorial step)
-jar ${MPJ_HOME}/lib/starter.jar
I also tried the same command, but with the addition of -np 4 at the end (according to the tutorial step)
-jar ${MPJ_HOME}/lib/starter.jar -np 4
VM arguments

(source: iforce.co.nz )
MPJ_HOME variable

(source: iforce.co.nz )
MPJ Express Output
MPJ Express (0.38) is started in the multicore configuration I am process <3> of total <4> processes I am process <3> of total <4> processes I am process <3> of total <4> processes I am process <3> of total <4> processes
Once I have finished installing everything, I try to execute it through Eclipse, but I get these errors :(
Compiler error
java.io.FileNotFoundException: null\conf\wrapper.conf (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at java.io.FileInputStream.<init>(Unknown Source) at runtime.starter.MPJRun.getPortFromWrapper(MPJRun.java:807) at runtime.starter.MPJRun.<init>(MPJRun.java:68) at runtime.starter.MPJRun.main(MPJRun.java:964)
Wrapper.conf location

(source: iforce.co.nz )
I'm a little confused about why I get these errors ... should I do something else? what does the textbook not tell me? to make it work?
What am I doing wrong? How can I fix this JRE error? regarding the file "conf \ wrapper.conf" on mpj express? I think I missed something, but I read so many resources and repeated the tutorial again and again ... but I still get a FileNotFoundException for wrapper.conf.
Some resources I found (none answer the FileNotFoundException problem).
If anyone has any tips on how to fix FileNotFoundException, I would really appreciate it, thanks!