Main Content
getCurrentCluster
Get cluster object from a worker in a cluster
Syntax
Description
returns the c
= getCurrentClusterparallel.Cluster
object that the current worker is associated with. Use
getCurrentCluster
to get information from the cluster during a
computation, such as the host name of the cluster's head node, credentials for the user that
submitted a job, or the job storage location.
If getCurrentCluster
is evaluated on a worker,
c
is a parallel.Cluster
object. Otherwise,
c
is an empty double.
Examples
Output Arguments
Version History
Introduced in R2012a
See Also
getAttachedFilesFolder
| getCurrentJob
| getCurrentTask
| getCurrentWorker