**Note: The user must have access to the MATLAB Cluster Remote Server and by connected via ethernet on campus. The following steps will NOT work through a WiFi connected device. **
Table of Contents
Log in to MATLAB cluster Remote Server
Note: You must have access to the MATLAB Cluster Remote Desktop Server in order to do these steps
- Open “Remote Desktop Connection”
- In the “Computer” field type: spiedie-access.pods.bu.int
- Log in using your PODS ID
Once Logged in, the subsequent directions are performed in the remote server
Map Spiedie Home Directory
We must map the Spiedie Home directory to the “Y” drive.
You can also map your Spiedie home directory on your personal machine.
- Open “Computer”
- Click “Map network drive”
- Select the drive letter you prefer (Y is recommended)
- In the folder box type \\spiediefiles.binghamton.edu\username (replace username with your user name)
- Select “Connect using different credentials”
- To automatically connect every time you log on, check the box “Reconnect at log on”
- Click “Finish”
- When prompted, select “Use another account”
- input “.\username” where “username” is your Spiedie username and your Spiedie password
- The network drive should now be successfully mounted in your windows explorer window
MATLAB configuration
Once you have your home directory mapped, you can open up MATLAB to configure it
- Open MATLAB R2019b
- In the top bar in “Environment” select “Set Path”
- If you do not see \\lightning.binghamton.edu\matlab\remotesubmission\19b in your path follow the next few steps, if you do move on to step 7.
- Click “Add Folder”
- Next to “Folder:”, in the text box type this: \lightning.binghamton.edu\matlab\remotesubmission\19b
- Click “Save”, then click “Close”
- If prompted for admin credentials click on “No”.
- You should then be prompted by MATLAB to save the pathdef.m file to another location. Click “Yes”.
- Accept the default location.
- In the MATLAB prompt type “configCluster”. It’ll prompt for your cluster username, type it in then hit “Enter”.
- Click the “Parallel” dropdown in the ribbon bar in the “Environment” section and then select “Manage Cluster Profiles”
- Go to the “Validation” tab. Where it says “Number of workers to use” set that to “4”
- Click on “Validate”
- When asked to use an identity file, select “No”
- When prompted, enter your Binghamton University username and your cluster password
- Everything should validate with a green check mark under “status”
- Now you may run a MATLAB project as normal, and it will be completed on the HPC cluster. When submitting jobs be sure to specify the number of cores you wish to use.
- The properties tab in the cluster profile manager near the bottom you can easily change the submission arguments including what partition to use as well as if you’re requesting GPUs or not.
- To view the progress of your jobs and to view your available directories, you may visit the Bright Computing Webpage and login with your PODS username and your cluster password.
- This is a informative webinar provided by Mathworks on parallel computing Mathworks Parallel Computing Webinar