Translations:MATLAB/49/en

From Alliance Doc
Revision as of 14:54, 22 September 2022 by FuzzyBot (talk | contribs) (Importing a new version from external source)
Jump to navigation Jump to search

Then:

  1. Open the independentSubmitFcn.m file; around line #117 is the line

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

    Replace this line with

    additionalSubmitArgs = ccSBATCH().getSubmitArgs();

  2. Open the communicatingSubmitFcn.m file; around line #126 is the line

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

    Replace this line with

    additionalSubmitArgs = ccSBATCH().getSubmitArgs();

  3. Open the communicatingJobWrapper.sh file; around line #20 (after the copyright statement), add the following command and adjust the module version to your local Matlab version:

    module load matlab/2022a