Configuration MDCS
Introduction
In general, jobs on the HPC clusters FLOW and HERO have to be submitted via the Sun Grid Engine (SGE), which takes care of sharing the available resources (mainly CPU cores and memory). For Matlab jobs, the Matlab Distributed Compute Server (MDCS) provides an easier interface for users running Matlab on their local computer (refered to as the client). Basically, a few Matlab commands on the client generate a set of files, which are transfered to the cluster, where an SGE job is submitted. Once this job is completed, the results are automatically transfered back to the client.
Obviously, in order for the process to work, some configurations on the client side have to made. The configurations are explained below.
Currently, the details of the configuration depend on the version of Matlab used. For version R2011b and earlier, please refer to this guide. For R2014b and later, read on below.
Prerequisites
The following preparations are required before the configuration of the client can be done:
- Some of the steps during the configuration require that you have adminstration rights on your local machine. Talk to your local system adminstrator in case you do not have these rights.
- Install a version of Matlab that is supported on the cluster on your local machine (the client). The currently supported versions are R2011b and R2014b. To install Matlab, please refer to instructions on the web page of the IT services (under Academic License follow the link to the download section - a login is required).
- Identify the matlabrootdir on your machine, on Linux systems this is usually /usr/local/MATLAB/R2014b/ and on Windows systems C:\Program Files\MATLAB\R2014b
- You must be able to connect from your local machine to the login nodes of the cluster via ssh. See Logging in to the system for more information. Windows user can use programs like PuTTY or mobaxterm for this purpose.
- You will need to know the fully qualified domain name or the IP address of your local machine, for example celeborn.fk5.uni-oldenburg.de or 134.106.219.162. To find this out, simply login on the cluster and type the command who, then find your user name (abcd1234) in the list that appears. In that line the last entry in () is your hostname.
System-wide Integration
- Download the MDCS SGE-integration files appropriate for the version of Matlab that you want to use:
- Matlab R2011b (and earlier):
- Matlab R2014b (and later): MDCS_SGE-Integration_R2014b.zip