User`s guide
R2008b
14-2
MATLAB Compiler Product Support for Parallel Computing Toolbox
Applications
This release offers the ability to convert Parallel Computing Toolbox applications, using
MATLAB Compiler, into executables and shared libraries that can access MATLAB
Distributed Computing Server. For information on this update to MATLAB Compiler, see
Applications Created with Parallel Computing Toolbox Can Be Compiled.
Limitations
• MATLAB Compiler does not support configurations that use the local scheduler or
local workers (i.e., workers that run locally on the desktop machine running the
MATLAB client session).
•
Compiled Parallel Computing Toolbox applications do not support Simulink
®
software. For a list of other unsupported products, see the Web page http://
www.mathworks.com/products/ineligible_programs/.
• When workers are running a task from compiled code, they can execute only compiled
code and toolbox code. They cannot execute functions contained in the current
directory. Batch and MATLAB pool jobs attempt to change the worker working
directory to the client working directory. When noncompiled files in the current
directory conflict with compiled versions (for example, files with different extensions),
an error is thrown.
spmd Construct
A new single program multiple data (spmd) language construct allows enhanced
interleaving of serial and parallel programming, with interlab communication.
The general form of an spmd statement is:
spmd
<statements>
end
The block of code represented by <statements> executes in parallel on workers in the
MATLAB pool. Data on the labs is available for access from the client via Composite
objects. For more information, see the spmd reference page and Distributing Arrays and
Running SPMD.