Translations:MATLAB/49/fr: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
(Created page with "# Ouvrez le fichier <tt>independentSubmitFcn.m</tt>; aux environs de la ligne 97, remplacez <p> <tt>additionalSubmitArgs = sprintf('--ntasks=1 --cpus-per-task=%d', cluster.Num...")
 
No edit summary
Line 1: Line 1:
# Ouvrez le fichier <tt>independentSubmitFcn.m</tt>; aux environs de la ligne 97, remplacez <p> <tt>additionalSubmitArgs = sprintf('--ntasks=1 --cpus-per-task=%d', cluster.NumThreads);</tt> </p><p> par </p><p> <tt>additionalSubmitArgs = ccSBATCH().getSubmitArgs();</tt></p>
# Ouvrez le fichier '''independentSubmitFcn.m'''; aux environs de la ligne 97, remplacez <p> <tt>additionalSubmitArgs = sprintf('--ntasks=1 --cpus-per-task=%d', cluster.NumThreads);</tt> </p><p> par </p><p> <tt>additionalSubmitArgs = ccSBATCH().getSubmitArgs();</tt></p>
# Ouvrez le fichier <tt>communicatingSubmitFcn.m</tt>; aux environs de la ligne 103, remplacez la ligne <p> <tt>additionalSubmitArgs = sprintf('--ntasks=%d --cpus-per-task=%d', environmentProperties.NumberOfTasks, cluster.NumThreads) par </p><p> <tt>additionalSubmitArgs = ccSBATCH().getSubmitArgs();</tt></p>.
# Ouvrez le fichier '''communicatingSubmitFcn.m'''; aux environs de la ligne 103, remplacez la ligne <p> <tt>additionalSubmitArgs = sprintf('--ntasks=%d --cpus-per-task=%d', environmentProperties.NumberOfTasks, cluster.NumThreads) par </p><p> <tt>additionalSubmitArgs = ccSBATCH().getSubmitArgs();</tt></p>.

Revision as of 19:10, 3 July 2020

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (MATLAB)
Then:
# Open the <b>independentSubmitFcn.m</b> file; around line #117 is the line <p> <code>additionalSubmitArgs = sprintf('--ntasks=1 --cpus-per-task=%d', cluster.NumThreads);</code> </p><p> Replace this line with</p><p> <code>additionalSubmitArgs = ccSBATCH().getSubmitArgs();</code></p>
# Open the <b>communicatingSubmitFcn.m</b> file; around line #126 is the line <p> <code>additionalSubmitArgs = sprintf('--ntasks=%d --cpus-per-task=%d', environmentProperties.NumberOfTasks, cluster.NumThreads);</code> </p><p> Replace this line with</p><p> <code>additionalSubmitArgs = ccSBATCH().getSubmitArgs();</code></p>
# Open the <b>communicatingJobWrapper.sh</b> file; around line #20 (after the copyright statement), add the following command and adjust the module version to your local Matlab version:</p><p><code>module load matlab/2022a</code></p>
  1. Ouvrez le fichier independentSubmitFcn.m; aux environs de la ligne 97, remplacez

    additionalSubmitArgs = sprintf('--ntasks=1 --cpus-per-task=%d', cluster.NumThreads);

    par

    additionalSubmitArgs = ccSBATCH().getSubmitArgs();

  2. Ouvrez le fichier communicatingSubmitFcn.m; aux environs de la ligne 103, remplacez la ligne

    additionalSubmitArgs = sprintf('--ntasks=%d --cpus-per-task=%d', environmentProperties.NumberOfTasks, cluster.NumThreads) par

    additionalSubmitArgs = ccSBATCH().getSubmitArgs();

    .