Centre d’aide MATLAB
Read output messages from job run in CJS cluster
str = getDebugLog(cluster,job_or_task)
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.
parcluster
job_or_task
Object identifying 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.
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.
My3pCluster
c = parcluster('My3pCluster'); j = createCommunicatingJob(c); createTask(j,@spmdIndex,1,{}); submit(j); getDebugLog(c,j);
Introduced before R2006a
createCommunicatingJob | createJob | createTask | parcluster
createCommunicatingJob
createJob
createTask
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
Europe
Asie-Pacifique
Contactez votre bureau local