Skip to content

Containerized MATLAB and MATLAB Parallel Server environment for HPC clusters at CSC.

License

Notifications You must be signed in to change notification settings

CSCfi/csc-env-matlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

csc-env-matlab

This repository contains MATLAB containers designed for use in High-Performance Computing (HPC) clusters. The container definitions use the official MATLAB container dependencies and the MATLAB Package Manager (MPM) to install MATLAB and all available toolboxes on Linux. The installation also includes the MATLAB Proxy for an HTML-based web interface. We also install and use the administered MathWorks Service Host. We use Ansible playbooks to install the containerized MATLAB on the clusters. Commands to build the containers, install MATLAB environment and MathWorks ServiceHost are in the Argcfile.sh and we can invoke them using argc. Use the argc --help for more information.

To run with the default license:

apptainer exec --bind /run/user ./containers/r2024b/ubuntu22.04/matlab.sif matlab

To run with a custom license:

apptainer exec --bind /run/user --env "MLM_LICENSE_FILE=<path-to-license>" ./containers/r2024b/ubuntu22.04/matlab.sif matlab

Documentation for Puhti and LUMI installation is available on documentation.