Using MPJ Express for distributed computing
MPJ Express is a message passing library for distributed computing. It works in programming languages using Java Virtual Machine (JVM). So, we can use it from Scala. It is similar in functionality and programming interface to MPI. If you know MPI, you will be able to use MPJ Express pretty much the same way. The differences specific to Scala are explained in this section. We will start with how to install it. For further reference, visit the MPJ Express website given here:
http://mpj-express.org/
Setting up and running MPJ Express
The steps to set up and run MPJ Express are as follows:
First, download MPJ Express from the following link. The version at the time of writing is 0.44:
http://mpj-express.org/download.php
Unpack the archive and refer to the included
README
file for installation instructions. Currently, you have to setMPJ_HOME
to the folder you unpacked the archive to and add thebin
folder in that archive to your path. For example, if...