SERVICE RISK: The Bessemer HPC cluster will be at risk from 9am on July 15th until 5pm on July 19th 2024

For further detail, please click this link.


The ShARC HPC cluster was decommissioned on the 30th of November 2023 at 17:00. It is no longer possible for users to access that cluster.


Magma is a software package designed for computations in algebra, number theory, algebraic geometry and algebraic combinatorics. It provides a mathematically rigorous environment for defining and working with structures such as groups, rings, fields, modules, algebras, schemes, curves, graphs, designs, codes and many others. Magma also supports a number of databases designed to aid computational research in those areas of mathematics which are algebraic in nature.

This overview provides a summary of Magma’s main features.

Magma is distributed by the Computational Algebra Group at the University of Sydney.


This page details an installation of Magma that is only licensed for use by members of the Dept of Computer Science and their collaborators on the Dept of Computer Science (COM) nodes in ShARC It is not possible to use this installation of Magma on other nodes.

Interactive Usage

After connecting to ShARC (see Establishing a SSH connection), start an interactive session on the Dept of Computer Science’s nodes:

qrshx -P rse -q rse-interactive.q

Make an additional set of modulefiles available:

module use /usr/local/community/rse/mods

Load a version of Magma (with AVX support):

module load apps/magma/2.24/binary-avx64

Start Magma:


Alternatively, for Magma with CUDA support (and 1 NVIDIA P100 GPU):

qrshx -P rse -q rse-interactive.q -l gpu=1
module use /usr/local/community/rse/mods
module load apps/magma/2.24/binary-cuda8  # also loads CUDA 8.0.44


See the Magma Handbook.

Installation notes

These are primarily for administrators of the system.