| Contents | Index |
str = getDebugLog(cluster, job_or_task)
str | Variable to which messages are returned as a string expression. |
cluster | Cluster object referring to mpiexec, Microsoft Windows HPC Server (or CCS), Platform LSF, PBS Pro, or TORQUE scheduler, created by findResource. |
job_or_task | Object identifying job, parallel job, or task whose messages you want. |
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. You cannot use this function to retrieve messages from a task in an mpiexec cluster.
Construct a cluster object so you can create a communicating job. Assume that you have already defined a profile called mpiexec to define the properties of the cluster.
mpiexecObj = parcluster('mpiexec');
Create and submit a parallel job.
job = createCommunicatingJob(mpiexecObj);
createTask(job, @labindex, 1, {});
submit(job);
Look at the debug log.
getDebugLog(mpiexecObj, job);
createCommunicatingJob | createJob | createTask | parcluster

See how to solve large problems with minimal effort and reduce simulation time.
Get free kit| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |