• eResearch
    • Collaborative Technologies
      • ARDC (Australian Research Data Commons)
      • ARDC Nectar Research Cloud
      • Australian Access Federation
      • QRIScloud
      • Video Collaboration
    • Data Management
      • Research Data Management Plans
    • Data Services
      • Australian and International Data Portals
      • CQUni Research Data Storage Options
      • CQUniversity Research Data Storage
      • GEOSCIENCE DATA PORTALS
    • eResearch and Security: MFA and CyberSafety
      • Encrypting Data on Portable Devices
    • High Performance Computing
      • The History of CQU’s HPC Facilities
        • Ada Lovelace Cluster (Current)
        • Marie Curie Cluster (Decommissioning)
        • Einstein Cluster (Decommissioned)
        • Isaac Newton HPC Facility (Decommissioned)
      • HPC User Guides and FAQs
        • Basics of working on the HPC
        • Getting started on CQUniversity’s Ada Lovelace HPC System
        • Compiling Programs (and using the optimization flags)
        • Creating a Conda Enviroment
        • Finding Installed Software
        • Frequently Asked Questions
        • Graphical connection HPC via Open On Demand
        • HPC Trouble Shooting
        • LLM’s on Ada Cluster
        • Machine and Deep Learning modules on Ada
        • PBS to Slurm Command tables (HPC Scheduler)
        • Running Python on Ada
        • Simple Unix Commands
        • Slurm Commands
        • Software Module Information
        • Transferring Files to the HPC System (Ada)
        • Using Abaqus
        • Using ANSYS (Fluent) on the HPC System
        • Using APSIM
        • Using HPC Scheduler on Ada Lovelace Cluster
        • Using MATLAB
        • Using R
        • Virtualisation and Containers
      • HPC Community
      • HPC Related Links
      • HPC Sample Code Scripts
        • Multiple Job Submission – Slurm
        • Parameter sweep multiple job – Slurm
        • R Sample Scripts – Slurm
        • Sample Slurm Submission Script
      • HPC Software
    • Research Software
    • Scholarly Communication
    • Survey Tools
    • Training
      • QCIF – Queensland Cyber Infrastructure Foundation
      • Teaching Lab Skills for Scientific Computing

eResearch

Using MATLAB on the HPC system

To use the Matlab software on the HPC, you will need the following:

  • Access to the HPC system (Contact HPC support if you need an account created).
  • A connection to the HPC System.
  • If you plan on using running the Matlab Graphical version of the software on the HPC system, you will require a graphical interface to the HPC system.  See Graphical Connection to the HPC System for information on how to do this.

Using Matlab(Interactively)

For those who already have a HPC account and are using a “graphical” connection, you should be able to start Matlab by issuing the following command (inside a terminal session ):

matlab

As can be seen in the image below

When using Matlab, please close the application down when finished, so that the software licenses can be used by others.

Running Matlab across multiple CPU cores

For those you wish to get more from their Matlab program, it is recommended to have a look at the Matlab lab Parallel toolbox (which we have licenses for).  See https://www.mathworks.com/products/parallel-computing.html for more information.

This toolbox allows to harness the computing power of HPC by spreading the computational workload across multiple CPU’s.  Even thought you may request 12 CPU’s in your interactive session, unless you use this toolbox, Matlab may only be running on one CPU core.

Solving Matlab jobs non-interactively

One of the benefits of using the HPC system is that you can submit 1 to many jobs to the HPC scheduler.  Using the HPC scheduler, you can request more resources (such as CPU’s) which can dramatically improve the processing execution time.

To solve a Matlab job non-interactively, you will need to create a Matlab HPC scheduler script.  Instructions of how to do this and some examples can be found at Matlab Sample Scripts.

Support

eresearch@cqu.edu.au

tasac@cqu.edu.au OR 1300 666 620

Hacky Hour (3pm – 4pm every Tuesday)

High Performance Computing Teams site