Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

getDebugLog

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), Platform 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 called My3pCluster that defines the properties of the cluster.

c = parcluster('My3pCluster');

j = createCommunicatingJob(c);
createTask(j,@labindex,1,{});
submit(j);

getDebugLog(c,j);
Was this topic helpful?