HPC/Applications/matlab/Parallel: Difference between revisions
< HPC | Applications | matlab
Jump to navigation
Jump to search
(Created page with "== Introduction == MathWorks offers two components to operate MATLAB in parallel. # [http://www.mathworks.com/help/releases/product-description.html The Parallel Computing Too...") |
m (→Introduction) |
||
Line 8: | Line 8: | ||
The Parallel Computing Toolbox: | The Parallel Computing Toolbox: | ||
* Provides high-level constructs (such as parallel for-loops, special array types, and parallelized numerical algorithms) to parallelize applications without CUDA or MPI programming. | * Provides high-level constructs (such as parallel for-loops, special array types, and parallelized numerical algorithms) to parallelize applications without CUDA or MPI programming. | ||
* Supports CUDA-enabled NVIDIA GPUs (available on Carbon login nodes and gen3 nodes). | |||
* Supports up to twelve workers (computational engines) to execute applications locally on a multicore machine. | * Supports up to twelve workers (computational engines) to execute applications locally on a multicore machine. | ||
* Can run parallel applications interactively or in batch. | * Can run parallel applications interactively or in batch. |
Revision as of 22:04, February 18, 2014
Introduction
MathWorks offers two components to operate MATLAB in parallel.
- The Parallel Computing Toolbox (PCT).
- Provides the language features and capabilities for execution on a single machine.
- The MATLAB Distributed Computing Server – MDCS, formerly known as MDCE.
- Requires and extends the Toolbox for use across multiple machines.
The Parallel Computing Toolbox:
- Provides high-level constructs (such as parallel for-loops, special array types, and parallelized numerical algorithms) to parallelize applications without CUDA or MPI programming.
- Supports CUDA-enabled NVIDIA GPUs (available on Carbon login nodes and gen3 nodes).
- Supports up to twelve workers (computational engines) to execute applications locally on a multicore machine.
- Can run parallel applications interactively or in batch.
Under MDCS,
- Applications using PCT can run on a cluster (across multiple nodes) without changing the code.
Concepts
- http://www.mathworks.com/help/distcomp/
- or http://www.mathworks.com/help/releases/R2013a/distcomp/
- http://www.mathworks.com/help/distcomp/release-notes.html?searchHighlight=matlabpool
- parpool: New command-line interface (replaces matlabpool)
- http://www.mathworks.com/help/mdce/release-notes.html?searchHighlight=matlabpool
- Same, plus: Discontinued Support for parallel.cluster.Mpiexec
- Automatic start of a parallel pool when executing code that uses parfor or spmd
Caveats
An error has occurred processing your job, see below. Post job file processing error; job 435379.sched1.carboncluster on host n189/7+n189/6+…+n187/0 Unable to copy file /var/spool/torque/spool/435379.sched1.carboncluster.OU to /home/stern/somedir/Job1/Job1.log *** error from copy /bin/cp: cannot create regular file `/home/stern/somedir/Job1/Job1.log': No such file or directory *** end error output Output retained on that host in: /var/spool/torque/undelivered/435379.sched1.carboncluster.OU