May 25, 2022
Introduction
ERIS maintains a pool of licenses for Matlab, toolboxes and the Distributed Computing Server. This software may be used at no cost on the ERISOne Cluster, and we also offer a paid subscription service allowing use of our Matlab license and select toolboxes on your own computers connected to the Mass General Brigham computer network.
Using MATLAB on the ERISOne Cluster
Several versions of Matlab are installed on ERIS HPC infrastructure. Contact ERISOne Support for the latest information.
Use MATLAB on a powerful Microsoft Windows server
Matlab is installed on all the Windows Analysis Servers. Register for an account at https://rc.partners.org/eris_cluster and indicate your preference for Windows to obtain an account.
Use MATLAB graphically in a Linux Virtual Desktop, attached to the Linux HPC cluster
- Obtain access to the ERISOne Remote Desktop
- Once connected to the Linux Gnome environment, open a Terminal window (From Applications → System Tools → Terminal menu)
- Take a look at the different Matlab modules available
module avail > grep matlab
------------------------------------------------ /apps/modulefiles/base ------------------------------------------------
matlab/2009b matlab/2013a matlab/2014a matlab/2015a matlab/2016b matlab/2017b matlab-2011b
matlab/2012b matlab/2013b matlab/2014b matlab/2015b matlab/2017a matlab/default
- In the terminal, the Matlab graphical user interface can be launched
module load matlab/2017a
matlab
Use the MATLAB parallel processing toolbox on either Windows or Linux
- See the FAQ Instruction for MATLAB Parallel toolbox configuration and contact ERISOne Support for further details.
Use MATLAB over "ssh" on the ERISOne Linux Cluster
UPDATE MAY 2022: X11 Forwarding is to be disabled, this is useful only for Matlab command Line
- Register for an account at https://rc.partners.org/eris_cluster and indicate your preference for Linux
- Note that an X11 software must be installed on your computer for the graphical interface to work. The Matlab command line interface can be used if no X11 display is present
- No additional software is required for Linux, XQuartz is required on Mac.
- Connect to the cluster using X11 forwarding
ssh -Y username@erisone.partners.org
- Once on the cluster, acquire an interactive session
bsub -Is -XF /bin/bash
Job <598645> is submitted to default queue .
<ssh X11 forwarding job>
<Waiting for dispatch ...>
<Starting on cmu053>
- Take a look at the different Matlab modules available
module avail > grep matlab
------------------------------------------------ /apps/modulefiles/base ------------------------------------------------
matlab/2009b matlab/2013a matlab/2014a matlab/2015a matlab/2016b matlab/2017b matlab-2011b
matlab/2012b matlab/2013b matlab/2014b matlab/2015b matlab/2017a matlab/default
- Select the version you want to use and on the compute node launch MATLAB
module load matlab/2017a
matlab
Submit batch MATLAB jobs to the ERISOne Linux Cluster
- If you have a Matlab script that would like to submit to the cluster you can prepare an LSF script to send to the cluster. There are some examples on LSF scripts on your home folder: ~/lsf
- Include your version selection loading the appropriate module on your LSF script.
- Submit jobs to the "matlab" queue.
- You can check how many resources have been allocated the Matlab queue on the terminal.
bqueues matlab
- You can also check how many jobs are scheduled in the queue with:
bjobs -q matlab -u all
Paid subscription service for Laptops and Workstations
- Paid subscription is required to access our Matlab license outside of ERIS HPC servers.
- Charged annually and includes 4 common toolboxes
- Visit http://rc.partners.org/core_SoftwareLicenses for details