MATLAB PARALLEL COMPUTING TOOLBOX - S Guide de l'utilisateur Page 396

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 656
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 395
11 Functions — Alphabetical List
11-52
createCommunicatingJob
Create communicating job on cluster
Syntax
job = createCommunicatingJob(cluster)
job = createCommunicatingJob(...,'p1',v1,'p2',v2,...)
job = createCommunicatingJob(...,'Type','pool',...)
job = createCommunicatingJob(...,'Type','spmd',...)
job = createCommunicatingJob(...,'Profile','profileName',...)
Description
job = createCommunicatingJob(cluster) creates a communicating job object for
the identified cluster.
job = createCommunicatingJob(...,'p1',v1,'p2',v2,...) creates a
communicating job object with the specified property values. For a listing of the valid
properties of the created object, see the parallel.Job object reference page. The
property name must be in the form of a string, with the value being the appropriate
type for that property. In most cases, the values specified in these property-value
pairs override the values in the profile. But when you specify AttachedFiles or
AdditionalPaths at the time of creating a job, the settings are combined with those
specified in the applicable profile. If an invalid property name or property value is
specified, the object will not be created.
job = createCommunicatingJob(...,'Type','pool',...) creates a
communicating job of type 'pool'. This is the default if 'Type' is not specified. A
'pool' job runs the specified task function with a parallel pool available to run the body
of parfor loops or spmd blocks. Note that only one worker runs the task function, and
the rest of the workers in the cluster form the parallel pool. So on a cluster of N workers
for a 'pool' type job, only N-1 workers form the actual pool that performs the spmd and
parfor code found within the task function.
job = createCommunicatingJob(...,'Type','spmd',...) creates
a communicating job of type 'spmd', where the specified task function runs
Vue de la page 395
1 2 ... 391 392 393 394 395 396 397 398 399 400 401 ... 655 656

Commentaires sur ces manuels

Pas de commentaire