Introduction to the MATLAB Parallel Toolbox

Overview

Time: Friday, March 9, 1:30pm - 4:30pm

Location: SCC 102.B

This short course will introduce the MATLAB parallel toolbox. Topics discussed include cluster profiles, parallel pools, parfor, spmd, distributed data, and GPU computing. We will also demonstrate how to run parallel MATLAB jobs on the HPRC clusters.

Course Materials

  • Parallel MATLAB Live Script: mlx file
  • Additional Course Materials

  • MATLAB Parallel Toolbox Files: ZIP
  • Introduction to the MATLAB Parallel Toolbox Slides (Fall 2017): PDF

Agenda

This course focuses, among others, on the following topics:

Introduction to MATLAB Parallel Toolbox

  • Automatic multi-threading in MATLAB
  • Cluster profiles, Workers, and parallel pools
  • Parallel Constructs
    • parfor
    • spmd
    • distributed
    • gpu
  • Running jobs on HPRC resources
    • Within MATLAB session
    • From command line using matlabsubmit
    • From external MATLAB session

Note: During the class sessions many aspects of the material will be illustrated live via a login to Ada. Attendees are welcome to follow these parts with their own laptops. They will need to configure their laptops to use the TAMULink wireless network. Relevant details on this can be found at: http://tamulink.tamu.edu/

You are encouraged to contact the HPRC helpdesk with any questions regarding Ada.