Hauptinhalt

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), 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 called My3pCluster 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

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant