MATLAB: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 33: Line 33:


<!--T:39-->
<!--T:39-->
If you get the message ''This version is newer than the version of the license.dat file and/or network license manager on the server machine'', try an older version of MATLAB in the <code>module load</code> line.
If you get the message <i>This version is newer than the version of the license.dat file and/or network license manager on the server machine</i>, try an older version of MATLAB in the <code>module load</code> line.


<!--T:40-->
<!--T:40-->
Line 76: Line 76:


<!--T:4-->
<!--T:4-->
'''Important:''' Any significant MATLAB calculation (takes more than about 5 minutes or a gigabyte of memory) must be submitted to the scheduler. For instructions on using the scheduler, please see the [[Running jobs]] page.
<b>Important:<b/> Any significant MATLAB calculation (takes more than about 5 minutes or a gigabyte of memory) must be submitted to the scheduler. For instructions on using the scheduler, please see the [[Running jobs]] page.


<!--T:27-->
<!--T:27-->
Line 189: Line 189:


<!--T:13-->
<!--T:13-->
'''Important:''' Like any other intensive job, you must always run MCR code within a job submitted to the scheduler. For instructions on using the scheduler, please see the [[Running jobs]] page.
<b>Important:</b> Like any other intensive job, you must always run MCR code within a job submitted to the scheduler. For instructions on using the scheduler, please see the [[Running jobs]] page.


<!--T:5-->
<!--T:5-->
Line 210: Line 210:


<!--T:28-->
<!--T:28-->
then, in your submission script ('''not on the login nodes'''), use your binary as so:
then, in your submission script (<b>not on the login nodes</b>), use your binary as so:
<code>run_mcr_binary.sh cosplot</code>
<code>run_mcr_binary.sh cosplot</code>


Line 224: Line 224:
== Slurm plugin for MATLAB == <!--T:43-->
== Slurm plugin for MATLAB == <!--T:43-->
On your computer:
On your computer:
# Have MATLAB R2022a or newer installed, '''including the Parallel Computing Toolbox'''.
# Have MATLAB R2022a or newer installed, <b>including the Parallel Computing Toolbox</b>.
# Go to the [https://www.mathworks.com/matlabcentral/fileexchange/52807-parallel-computing-toolbox-plugin-for-matlab-parallel-server-with-slurm MathWorks Slurm Plugin page], '''download and run''' the <tt>*.mlpkginstall</tt> file. (i.e., click on the blue ''Download'' button on the right side, just above the ''Overview'' tab.)
# Go to the [https://www.mathworks.com/matlabcentral/fileexchange/52807-parallel-computing-toolbox-plugin-for-matlab-parallel-server-with-slurm MathWorks Slurm Plugin page], <b>download and run</b> the <tt>*.mlpkginstall</tt> file. (i.e., click on the blue <i>Download</i> button on the right side, just above the <i>Overview</i> tab.)
# Enter your MathWorks credentials; if the configuration wizard does not start, run in MATLAB
# Enter your MathWorks credentials; if the configuration wizard does not start, run in MATLAB
#:<tt>parallel.cluster.generic.runProfileWizard()</tt>
#:<tt>parallel.cluster.generic.runProfileWizard()</tt>
Line 242: Line 242:
#* License type: '''Network license manager'''
#* License type: '''Network license manager'''
#* Profile Name: '''beluga''' or '''narval'''
#* Profile Name: '''beluga''' or '''narval'''
# Click on ''Create'' and ''Finish'' to finalize the profile.
# Click on <i>Create</i> and <i>Finish</i> to finalize the profile.


== Edit the plugin once installed == <!--T:44-->
== Edit the plugin once installed == <!--T:44-->
rsnt_translations
56,420

edits

Navigation menu