Products & Services Solutions Academia Support User Community Company

Learn more about Parallel Computing Toolbox   

Version 4.2 (R2009b) Parallel Computing Toolbox Software

This table summarizes what is new in Version 4.2 (R2009b):

New Features and ChangesVersion Compatibility ConsiderationsFixed Bugs and Known ProblemsRelated Documentation at Web Site

Yes
Details below

Yes — Details labeled as Compatibility Considerations, below. See also Summary.

Bug Reports
Includes fixes

Printable Release Notes: PDF

Current product documentation

New features and changes introduced in this version are

New Distributed Arrays

A new form of distributed arrays provides direct access from the client to data stored on the workers in a MATLAB pool. Distributed arrays have the same appearance and rules of indexing as regular arrays.

You can distribute an existing array from the client workspace with the command

D = distributed(X)

where X is an array in the client, and D is a distributed array with its data on the workers in the MATLAB pool. Distributing an array is performed outside an spmd statement, but a MATLAB pool must be open.

Codistributed arrays that you create on the workers within spmd statements are accessible on the client as distributed arrays.

The following new functions and methods support distributed arrays.

Function NameDescription
distributedDistribute existing array from client workspace to workers
distributed.rand, distributed.ones, etc.Create distributed array consistent with indicated method, constructing on workers only
gatherTransfer data from MATLAB pool workers to client
isdistributedTrue for distributed array
C(x,y)Indexing into distributed array C on client to access data stored as codistributed arrays on workers

Renamed codistributor Functions

As part of the general enhancements for distributed arrays, several changes to the codistributed interface appear in this release.

Compatibility Considerations

The following table summarizes the changes in function names relating to codistributed arrays.

Old Function NameNew Function Name
codcoloncodistributed.colon
codistributed(..., 'convert')codistributed(...)
codistributed(...) without 'convert' optioncodistributed.build
codistributed(L, D) using distribution scheme of D to define that of Lcodistributed.build(L, getCodistributor(D))
codistributor('1d', ...)Still available, but can also use codistributor1d
codistributor('2d', ...)codistributor('2dbc', ...) or codistributor2dbc
codistributor(arrayname)getCodistributor
defaultLabGridcodistributor2dbc.defaultLabGrid
defaultPartitioncodistributor1d.defaultPartition
isa(X, 'codistributed')Still available, but can also use iscodistributed(X)
localPartgetLocalPart
redistribute(D) using default distribution schemeredistribute(D, codistributor())
redistribute(D1, D2) using distribution scheme of D2 to define that of D1redistribute(D1, getCodistributor(D2))

Some object methods are now properties:

Old Method NameNew Property Name
blockSize(codistObj)codistObj.BlockSize
defaultBlockSizecodistributor2dbc.defaultBlockSize
distributionDimension(codistObj)codistObj.Dimension
distributionPartition(codistObj)codistObj.Partition
labGrid(codistObj)codistObj.LabGrid

Enhancements to Admin Center

Admin Center has several small enhancements, including more conveniently located menu choices, modified dialog boxes, properties dialog boxes for listed items, etc.

Adding or Updating File Dependencies in an Open MATLAB Pool

Enhancements to the matlabpool command let you add or update file dependencies in a running MATLAB pool. The new forms of the command are

matlabpool('addfiledependencies', filedepCell)
matlabpool updatefiledependencies

where filedepCell is a cell array of strings, identical in form to those you use when adding file dependencies to a job or when you open a MATLAB pool. The updatefiledependencies option replicates any file dependency changes to all the labs in the pool.

Updated globalIndices Function

The globalIndices function now requires that you specify the dimension of distribution as its second argument. Because this argument is required, it must precede the optional argument specifying the lab.

Compatibility Considerations

In previous toolbox versions, the globalIndices function accepted the lab argument before the dimension argument, and both were optional. Now the dimension argument is required, and it must precede the optional lab argument.

Support for Job Templates and Description Files with HPC Server 2008

Using job templates and job description files with Windows HPC Server 2008 lets you specify nodes and other scheduler properties for evaluating your jobs. To support these features, the ccsscheduler object has new properties:

Compatibility Considerations

CCS is now just one of multiple versions of HPC Server. While 'ccs' is still acceptable as a type of scheduler for the findResource function, you can also use 'hpcserver' for this purpose. In the Configurations Manager, the new scheduler type is available by selecting File > New > hpcserver (ccs).

HPC Challenge Benchmarks

Several new MATLAB files are available to demonstrate HPC Challenge benchmark performance. You can find the files in the folder matlabroot/toolbox/distcomp/examples/benchmark/hpcchallenge. Each file is self-documented with explanatory comments.

pctconfig Enhanced to Support Range of Ports

The pctconfig function now lets you specify a range of ports for the Parallel Computing Toolbox™ client session to use. This range also includes ports used for a pmode session.

Compatibility Considerations

You now specify the range of pctconfig ports with the 'portrange' property; you no longer use the 'port' property. As any client pmode session uses those ports of the 'portrange' setting, you no longer use the 'pmodeport' property.

Random Number Generator on Client Versus Workers

The random number generator of the MATLAB workers now use a slightly different seed from previous releases, so that all the MATLAB workers and the client have separate random number streams.

Compatibility Considerations

In past releases, while all the workers running a job had separate random number streams, the client had the same stream as one of the workers. Now the workers all have unique random number streams different from that of the client.

Upgrade Parallel Computing Products Together

This version of Parallel Computing Toolbox software is accompanied by a corresponding new version of MATLAB® Distributed Computing Server™ software.

Compatibility Considerations

As with every new release, you must upgrade both Parallel Computing Toolbox and MATLAB Distributed Computing Server products together. These products must be the same version to interact properly with each other.

Jobs created in one version of Parallel Computing Toolbox software will not run in a different version of MATLAB Distributed Computing Server software, and might not be readable in different versions of the toolbox software.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS