-
This site is deprecated and will be decommissioned shortly. For current information regarding HPC visit our new site: hpc.njit.edu
Difference between revisions of "GettingStartedWithSerialAndParallelMATLABOnLochness"
Line 2: | Line 2: | ||
Following this procedure a user will be able to submit jobs to lochness or stheno from Matlab running locally on the user's computer. The version of Matlab on the user's computer must be the same as on the cluster, currently 2021a. | Following this procedure a user will be able to submit jobs to lochness or stheno from Matlab running locally on the user's computer. The version of Matlab on the user's computer must be the same as on the cluster, currently 2021a. | ||
==Installing the Add-On== | ==Installing the Add-On== | ||
+ | |||
+ | From the Matlab window, click on "Add-ons" and select "Get Add-Ons." | ||
[[File:ClickOnAddons.png|900px]] | [[File:ClickOnAddons.png|900px]] | ||
+ | |||
+ | In the search bos enter "slurm" and click on the "magnifying glass icon." | ||
+ | |||
+ | Select "Parallel Computing Toolbox plugin for MATLAB Parallel Server with Slurm" | ||
+ | |||
+ | Alternatively, this Add-On can be downloaded directly from the [https://www.mathworks.com/matlabcentral/fileexchange/52807-parallel-computing-toolbox-plugin-for-matlab-parallel-server-with-slurm Mathworks] site. | ||
+ | |||
[[File:SlurmAddOn.png|1000px]] | [[File:SlurmAddOn.png|1000px]] | ||
+ | |||
+ | Click on "Install." | ||
+ | |||
[[File:ClickOnInstall.png|1000px]] | [[File:ClickOnInstall.png|1000px]] | ||
+ | |||
+ | The installation of the Add-On is complete. Click on "OK" the start the "Generic Profile Wizard for Slurm." | ||
+ | |||
[[File:InstallationComplete.png|900px]] | [[File:InstallationComplete.png|900px]] | ||
+ | ==Creating a Profile for Lochness== | ||
+ | |||
+ | |||
+ | |||
[[File:GenericProfile1.png|800px]] | [[File:GenericProfile1.png|800px]] | ||
[[File:GenericProfile2.png|800px]] | [[File:GenericProfile2.png|800px]] | ||
Line 18: | Line 37: | ||
[[File:GenericProfile10_1.png|800px]] | [[File:GenericProfile10_1.png|800px]] | ||
[[File:GenericProfile11.png|800px]] | [[File:GenericProfile11.png|800px]] | ||
+ | ==Submitting a Serial Job== | ||
[[File:c=parcluster_1.png|900px]] | [[File:c=parcluster_1.png|900px]] | ||
[[File:BatchEnterPasswd.png|900px]] | [[File:BatchEnterPasswd.png|900px]] | ||
[[File:BatchHostname.png|900px]] | [[File:BatchHostname.png|900px]] | ||
[[File:MonitorJobs.png|900px]] | [[File:MonitorJobs.png|900px]] | ||
+ | ==Submitting a Parallel Function== | ||
[[File:SubmitParallel.png|900px]] | [[File:SubmitParallel.png|900px]] | ||
[[File:JobFinished.png|900px]] | [[File:JobFinished.png|900px]] | ||
[[File:FetchOutputs.png|900px]] | [[File:FetchOutputs.png|900px]] | ||
+ | ==Submitting a Script Requiring a GPU== | ||
[[File:GpuSubmitArgs.png|900px]] | [[File:GpuSubmitArgs.png|900px]] | ||
[[File:GpuSubmit.png|900px]] | [[File:GpuSubmit.png|900px]] | ||
[[File:GpuDiary.png|900px]] | [[File:GpuDiary.png|900px]] | ||
+ | ==Load and Plotting Results from A Job== | ||
[[File:PlotDemoSub.png|900px]] | [[File:PlotDemoSub.png|900px]] | ||
[[File:load_x.png|900px]] | [[File:load_x.png|900px]] | ||
[[File:plot_x.png|900px]] | [[File:plot_x.png|900px]] |
Revision as of 17:04, 28 June 2021
This page is under construction, Will be completed by 6/30 Following this procedure a user will be able to submit jobs to lochness or stheno from Matlab running locally on the user's computer. The version of Matlab on the user's computer must be the same as on the cluster, currently 2021a.
Contents
Installing the Add-On
From the Matlab window, click on "Add-ons" and select "Get Add-Ons."
In the search bos enter "slurm" and click on the "magnifying glass icon."
Select "Parallel Computing Toolbox plugin for MATLAB Parallel Server with Slurm"
Alternatively, this Add-On can be downloaded directly from the Mathworks site.
Click on "Install."
The installation of the Add-On is complete. Click on "OK" the start the "Generic Profile Wizard for Slurm."