Logo of Science Foundation Ireland  Logo of the Higher Education Authority, Ireland7 Capacities
Ireland's High-Performance Computing Centre | ICHEC
Home | News | Infrastructure | Outreach | Services | Research | Support | Education & Training | Consultancy | About Us | Login

ICHEC Software

Information about software packages installed on the ICHEC systems.

Magma Libs

Versions Installed

Fionn: 1.4.1 (gpu), 1.1 (mic)


MAGMA (Matrix Algebra on GPU and Multicore Architectures) is a dense linear algebra library for hybrid manycore and GPU systems. MAGMA is designed and implemented by the team that developed LAPACK and ScaLAPACK, incorporating the latest developments in hybrid synchronization and communication-avoiding algorithms, as well as dynamic runtime systems.


The magma/libs package is available for use by all ICHEC users. Contact the Helpdesk to gain access to GPUs and Phi.


The figure below shows the scaling performance of the GPU-enabled version of magma-libs (1.4.1) on Fionn. The benchmark programs used to obtain these results can be found under /ichec/packages/magma-libs/gpu/intel/magma_1.4.1/testing/.

Additional Notes

To use a gpu version of magma on Fionn load the relevant environment module:

module load libs magma-libs/gpu/intel/1.4.1

Include magma.h in your programs, use -DHAVE_CUBLAS option when compiling and -lmagma when linking.

Job Submission Example on Fionn using GPGPUs

To run MAGMA with CUDA support on Fionn follow this example:

#PBS -l nodes=1:ppn=20
#PBS -l walltime=00:20:00
#PBS -q GpuQ
#PBS -N MyJobName
#PBS -A MyProjectName


#Load the magma-libs/gpu module
module load libs magma-libs/gpu/intel/1.4.1


Further Information

More information can be obtained from the MAGMA webpage.

Return to the software index