MATLAB Quick Start - Deprecated

Compute Resources

Docker Usage

What’s Included

  • GPU compute capability

  • noVNC for GUI display

  • GStreamer

  • FFmpeg

  • MATLAB installation not included in image. Location to be mounted at runtime due to size.

  • Current MATLAB Version: 2023a (Used to replace <version> in the commands below.)

Quick Start

Note

If you are a member of more than one compute group, you will be prompted to specify an LSF User Group with -G group_name or by setting the LSB_SUB_USER_GROUP variable.

Interactive Command-Line Session

  • If you wish to use MATLAB in an interactive command-line session, you can do so with the following commands.

PATH=/scratch1/fs1/ris/application/matlab/<version>/bin/:$PATH \
LSF_DOCKER_VOLUMES="/scratch1/fs1/ris/application/:/scratch1/fs1/ris/application/" \
bsub -Is -q general-interactive -a 'docker(gcr.io/ris-registry-shared/matlab)' /bin/bash

Interactive GUI Session

  • Interactions GUI sessions are done via the Custom noVNC Image application in Open On Demand (OOD).

  • You can find out more about OOD here: Compute Quick Start.

  • There are two fields beyond the basics that will need information specific to this image.
    • Environment Variables

    • Docker Image

Environment Variables

  • This information should be space separated in the field.

PASSWORD=password PATH=/scratch1/fs1/ris/application/matlab/<version>/bin/:$PATH
  • <version> should be replaced with one of the versions listed below

  • Optional variables
    • GUI display size. This can be changed with the following variables.
      • Width default: 1024

      • Height default: 768

    DISPLAY_WIDTH=<width> DISPLAY_HEIGHT=<height>
    

Docker Image

ghcr.io/washu-it-ris/rstudio:<tag>

RStudio Docker Tag

The <tag> will refer to the version of RStudio in the Docker container. Please click here to see a current list of available RStudio versions and their corresponding Docker images.

  • Fill out the rest of the fields with the appropriate information (explained in the quick start).

  • Launch the job through the methods described in the quick start.

  • Once in an interactive RStudio session using the following command:

matlab

GPU Utilization

  • To be able to utilize GPUs within Matlab, you will need to select to use a GPU in the appropriate field in OOD.

  • Note that everything beyond this remains the same.

Available Versions

Current Version:

  • 2023a

Earlier Versions:

These are previous versions of Matlab that are still available but no longer directly supported. Please refer to the latest version if you would like direct support.

  • Standalone Matlab Images:
    • 2022a: us.gcr.io/ris-appeng-shared-dev/matlab2022a

    • 2021a: us.gcr.io/ris-appeng-shared-dev/matlab2021a

    • 2020b: us.gcr.io/ris-appeng-shared-dev/matlab2020b