User`s guide
R2010b
10-4
Enhanced Example Scripts
This release provides new sets of example scripts for using the generic scheduler
interface. As in previous releases, the currently supported scripts are provided in the
folder
matlabroot/toolbox/distcomp/examples/integration
In this location there is a folder for each type of scheduler:
•
lsf — Platform LSF
®
• pbs — PBS
• sge — Sun™ Grid Engine
• ssh — generic UNIX-based scripts
• winmpiexec — mpiexec on Windows
For the updated scheduler folders (lsf, pbs, sge), subfolders within each specify scripts
for different cluster configurations: shared, nonshared, remoteSubmission.
For more information on the scripts and their updates, see the README file provided in
each folder, or see Supplied Submit and Decode Functions.
Compatibility Considerations
For those schedulers types with updated scripts in this release (lsf, pbs, sge), the old
versions of the scripts are provided in the folder matlabroot/toolbox/distcomp/
examples/integration/old. These old scripts might be removed in future releases.
batch Now Able to Run Functions
Batch jobs can now run functions as well as scripts. For more information, see the batch
reference page.
batch and matlabpool Accept Scheduler Object
The batch function and the functional form of matlabpool now accept a scheduler
object as their first input argument to specify which scheduler to use for allocation of
compute resources. For more information, see the batch and matlabpool reference pages.