Setup MPJ Express
Setup MPJ Express
1. Ubuntu Linux
2. JDK installed
http://mpj-express.org/download.php
i.e. on Desktop
1. Need to set MPJ Home variable that gives PATH of supporting files
required for compilation and execution.
export MPJ_HOME=/home/swapnil/Desktop/mpj-v0_44
export PATH=$MPJ_HOME/bin:$PATH
Note that in MPJ_HOME variable, after '=' there is the path of Desktop mpj
folder which was obtained in last step through command pwd
Real Picture
Save file
Close file
Compile the MPJ Express library
$MPJ_HOME; ant
MPI.Finalize();
}
Compile Program
Output:
Thanks!
Sample MPI based assignments
are available at :
www.thelearningsolutions.com