Difference between revisions of "MATLAB Distributing Computing Server"

From HPC users
Jump to navigationJump to search
Line 9: Line 9:
# You must install a couple of files into the directory<br><tt>''matlabroot''/toolbox/local<br></tt> (on a Unix/Linux system, analogously for Windows clients)
# You must install a couple of files into the directory<br><tt>''matlabroot''/toolbox/local<br></tt> (on a Unix/Linux system, analogously for Windows clients)
# After these preparations, select ''Parallel'' -> ''Manage Configurations'' and create a new "Generic Scheduler" Configuration:<br><br>[[Image:GenericSchedulerConfig.jpg|671px|600px]]<br>
# After these preparations, select ''Parallel'' -> ''Manage Configurations'' and create a new "Generic Scheduler" Configuration:<br><br>[[Image:GenericSchedulerConfig.jpg|671px|600px]]<br>
 
<br>
After these preliminaries, you are prepared for exploring the rich possibilities of distributed and parallel computing with MATLAB!
After these preliminaries, you are prepared for exploring the rich possibilities of distributed and parallel computing with MATLAB!



Revision as of 14:15, 30 April 2013

Benefits of MDCS

Prerequisites

  1. On your local machine (PC, workstation, notebook, ...), you must have one of the following MATLAB releases installed:
    R2010b
    R2011a
    R2011b
    It is important that the installation includes all toolboxes, in particular the Parallel Computing Toolbox (PCT). It is recommended to install MATLAB from the media provided by the IT Services on their website. In that case, all required components (including the PCT) are automatically installed.
  2. You must install a couple of files into the directory
    matlabroot/toolbox/local
    (on a Unix/Linux system, analogously for Windows clients)
  3. After these preparations, select Parallel -> Manage Configurations and create a new "Generic Scheduler" Configuration:

    GenericSchedulerConfig.jpg


After these preliminaries, you are prepared for exploring the rich possibilities of distributed and parallel computing with MATLAB!

Old (non-MDCS) MATLAB usage

To submit a MATLAB job, you must first load the environment module in your submission script:

module load matlab

This automatically loads the newest version, if several versions are installed. After that, invoke MATLAB in batch mode:

matlab -nosplash -nodesktop -r mymatlab_input

where mymatlab_input.m (a so-called ".m-file") is an ASCII text file containing the sequence of MATLAB commands that you would normally enter in an interactive session.

Slides and links from last MATLAB workshop at the University of Oldenburg (19.02.2013)

Slides

Links


Documentation