MatLab DCS R2012a
https://docs.rc.uab.edu/
Please use the new documentation url https://docs.rc.uab.edu/ for all Research Computing documentation needs.
As a result of this move, we have deprecated use of this wiki for documentation. We are providing read-only access to the content to facilitate migration of bookmarks and to serve as an historical record. All content updates should be made at the new documentation site. The original wiki will not receive further updates.
Thank you,
The Research Computing Team
Overview
The following outline highlights the steps involved to configure your MatLab install and write programs that submit tasks to the worker nodes of the Distributed Computing Server on Cheaha:
- Configure the Task Submit Environment (One-time Setup)
- Install MatLab with the Parallel Computing Toolbox on your Windows / Linux / Mac workstation
- Download and extract the MatLab task submission functions to your workstation MatLab environment
- Define the "cheaha" parallel configuration in your workstation MatLab environment to submit tasks to Cheaha
- Run the validation tests to ensure your "cheaha" parallel configuration works
- Develop and Run Parallel Computing Applications
- Write, test and debug your parallel code on your local workstation using the default "local" parallel configuration
- Once your code works, select the "cheaha" parallel configuration to submit tasks to the Cheaha cluster. Note: your workstation MatLab application does not need to keep running after the tasks are submitted.
- You will receive an email when the tasks you submitted are complete
- Use your workstation MatLab application to retrieve the results
- When you are finished with your job contexts, clean up the job related content to free disk space
Using MATLAB DCS
The MATLAB Distributed Computing Services (DCS) are accessed via the Parallel Computing Toolbox (PCT) which is installed as part of your desktop MATLAB installation. The PCT allows MATLAB running on your workstation to send MATLAB code and data (tasks) to the cluster directly from the comfort of your familiar MATLAB environment on your desktop. This makes the expanded compute power of Cheaha available to processes work loads that exceed the capabilities of your desktop computer. Once your tasks are submitted to Cheaha, your desktop MATLAB is also free to move on to other tasks or be closed completely, freeing your desktop or laptop for your other activities.
Configuring the Parallel Computing Toolbox involves three steps documented below:
- install MATLAB submit functions on your workstation
- configure the "cheaha" parallel computing target to which PCT tasks can be submitted
- run the validation tests to confirm a working installation.
This page documents the DCS configuration for MATLAB 2012a and later. For DCS configuration instructions on previous versions of MATLAB, please see the page MatLab DCS R2010a and Earlier or Matlab DCS R2010b -R2001b