RCS examples are provided to assist you in learning the software and the development of your applications on the Shared Computing Cluster (SCC). The instructions provided along with the code assume that the underlying OS is Linux. If these examples are run on a different architecture, you might need to make some changes to the code and/or the way the program is built and executed.
hello: This directory provides a hello world program and sample scripts to submit MATLAB jobs on SCC.
examples: This directory presents MATLAB example programs, including:
Basic example programs
Example programs for high performance computing
machine_learning: This directory presents MATLAB example programs for machine learning and deep learning, including:
A machine-learning example
A deep-learning example on GPU
tutorial: This directory contains sample Matlab programs used during the following RCS's tutorials.
Introduction to Matlab
Matlab for high performance computing
misc: This directory presents miscellaneous MATLAB application programs.
How to generate a standalone executable
How to checkpoint a matlab batch job
How to synchronize files between a PC and the SCC
2014a: Parallel pool syntax is changed. Use parpool instead of matlabpool. The maximum number of threads is increased to 32, which was 12 for older versions.
2017a: NVIDIA M20* GPUs (Compute capacity 2.0) are no longer supported. Use the options -l gpus=1 -l gpu_c=3.5 to request the types of GPUs that supoort MATLAB 2017a or newer.
Note: Research Computing Services (RCS) example programs are provided
"as is" without any warranty of any kind. The user assumes the entire risk of
quality, performance, and repair of any defects. You are encouraged to copy
and modify any of the given examples for your own use.