Matlab Distributed Computing Engine (DCE)
Article Index
Matlab Distributed Computing Engine (DCE)
Cluster Matlab Job Submission
Job Types Demystified (sort of)
Prototyping Your Parallel Functions
Example Job Submissions
Other Job Submission Options
Known Errors and Limitations
All Pages

Introduction

The Matlab Distributed Computing Engine (DCE) allows users to submit two types of jobs: simple distributed (i.e., multiple single cpu jobs) and complex parallel (i.e., mpi or matlab parallel). For a full reference, please visit Mathworks.

HPC Matlab Resources

There is a 16-seat license for the DCE, so a Matlab user can run up to 16 tasks (parallel or simple) if available. Each headnode has a 2-seat license for the interactive Matlab client that is used to submit jobs to the DCE using the shared filesystem.

**IMPORTANT NOTE**

A common problem users encounter is a misunderstanding of the matlab search path. When you run a matlab function using the DCE, the function must be somewhere matlab can find it. Matlab adds YOURHOMEDIR/matlab to the search path by default (but not subdirectories under it). If you wish to add other directories and subdirectories to search, you can create a startup.m file in the ~/matlab directory and add paths to the file with:

addpath ~/SOMEWHERE/IMPORTANT

Or to include subdirectories under the path:

addpath(genpath('/SOMEWHERE/IMPORTANT/'))

The error that is returned from the submission if your function can't be found is:

Undefined function or method 'YOURFUNCTION' for input arguments of type 'double'