MATLAB PARALLEL COMPUTING TOOLBOX 4 Uživatelská příručka Strana 54

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 128
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 53
R2012a
7-2
New Programming Interface
This release provides a new programming interface for accessing clusters, jobs, and
tasks.
General Concepts and Phrases
This table maps some of the concepts and phrases from the old interface to the new.
Previous Interface New Interface in R2012a
MathWorks job manager MATLAB job scheduler (MJS)
Third-party or local scheduler Common job scheduler (CJS)
Configuration Profile
Scheduler Cluster
The following code examples compare programming the old and new interfaces, showing
some of the most common commands and properties. Note that most differences involve
creating a cluster object instead of a scheduler object, and some of the property and
method names on the job. After the example are tables listing some details of these new
objects.
Previous Interface New Interface
sched = findResource('scheduler',...
'Configuration','local');
j = createJob(sched,...
'PathDependencies',{'/share/app/'},...
'FileDependencies',{'funa.m','funb.m'};
createTask(j,@myfun,1,{3,4});
submit(j);
waitForState(j);
results = j.getAllOutputArguments;
clust = parcluster('local');
j = createJob(clust,...
'AdditionalPaths',{'/share/app/'}),...
'AttachedFiles,{'funa.m','funb.m'};
createTask(j,@myfun,1,{3,4});
submit(j);
wait(j);
results = j.fetchOutputs;
Objects
These tables compare objects in the previous and new interfaces.
Previous Scheduler Objects New Cluster Objects
ccsscheduler parallel.cluster.HPCServer
genericscheduler parallel.cluster.Generic
jobmanager parallel.cluster.MJS
Zobrazit stránku 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 127 128

Komentáře k této Příručce

Žádné komentáře

BONAIRE Durango Winter Cover Handbücher

Bedienungsanleitungen und Benutzerhandbücher für Spülung BONAIRE Durango Winter Cover.
Wir stellen 1 PDF-Handbücher BONAIRE Durango Winter Cover zum kostenlosen herunterladen nach Dokumenttypen zur Verfügung Bedienungsanleitung






Weitere Produkte und Handbücher für Spülung BONAIRE

Modelle Dokumententyp
Ducted RAC Inverter Bedienungsanleitung   Bonaire Ducted RAC Inverter User Manual, 40 Seiten