getDebugLog - Read output messages from job run in CJS cluster - MATLAB (original) (raw)
Main Content
Read output messages from job run in CJS cluster
Syntax
str = getDebugLog(cluster,job_or_task)
Arguments
str | Variable to which messages are returned as a character vector expression. |
---|---|
cluster | Cluster object referring to Microsoft® Windows HPC Server (or CCS), Spectrum LSF®, PBS Pro®, or TORQUE cluster, created by parcluster. |
job_or_task | Object identifying job or task whose messages you want. |
Description
str = getDebugLog(cluster,job_or_task)
returns any output written to the standard output or standard error stream by the job or task identified by job_or_task
, being run in the cluster identified by cluster
.
Examples
This example shows how to create and submit a communicating job, and how to retrieve the job's debug log. Assume that you already have a cluster profile calledMy3pCluster
that defines the properties of the cluster.
c = parcluster('My3pCluster');
j = createCommunicatingJob(c); createTask(j,@spmdIndex,1,{}); submit(j);
getDebugLog(c,j);
Version History
Introduced before R2006a