File Exchange

image thumbnail

jPar - parallelizing Matlab calculations on multicores and in clusters without file communication

version 1.0 (20.9 KB) by

jPar is a simple parallelizing tool compatible with the old Paralize package, using Java mechanisms.



View License

Jpar helps to make calculations based on embarrassingly parallel model (that is fork-join without communication and synchronization between instances) both within multicore machines and in clusters of computers. Unlike some other free parallel packages, where the communication and synchronization is realized by disk files (what involves busy waiting/active polling, is slow and sometimes causes errors), in jPar an external Java application is used instead.
The jPar package is almost as simple as Paralize from the user point of view (actually it is compatible with it), very easy to install, but it does not waste the cycles of cores on active polling and allows for using the machines with started Matlab instances to other purposes.
The package consists of only three elements:
1. Registration server
2. Solvers
3. Client.
The first process to be run is the registration server, whose task is to manage the set of solvers. The next step is to start Matlab instances and run one or more solvers from their sessions. It does not matter what operating systems are used. These Matlab sessions are blocked until the tasks are available. On the machine, where the server is running, one Matlab session must be the client session. It is started from Matlab console and divides input data to chunks along the third dimension of arrays, creates partial tasks and sends them via server to solvers. When the calculations are finished, the results are gathered in the client Matlab session.

The installation and use of jPar are described in README.TXT file.

The paper on jPar presented at FedCSIS 2015 conference is here:

Comments and Ratings (1)


kevin (view profile)



A link to a conference paper was added.

MATLAB Release
MATLAB 8.5 (R2015a)

Inspired by: paralize (v2006a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video