MPI and Spack for HPC (Ubuntu 22.04 - ROCm)
Thank you for your contribution. Your appliance is under review. If it all looks good we will publish it straight away, otherwise we will be in touch with you to make the necessary changes.
Launch at CHI@TACC Launch at CHI@UC Launch at KVM@TACCDescription
This appliance is built on top of Ubuntu 22.04 and comes configured with ROCm 6.4.2 for GPU-accelerated computing. It also includes Spack for flexible software management and Lmod (Lua Modules). Both MPICH and OpenMPI are installed and can be easily managed using module commands. You can use the module load and module unload commands to manage software packages for your HPC workloads.
To load OpenMPI, run:
module load openmpi
The loaded OpenMPI is already installed with rocm support.
You can now compile and run ROCm-MPI programs using HIP. For example:
export OMPI_CC=hipcc
mpicc -o ./hello ./hello.cpp
mpirun -n 3 ./hello
If you want to install a new package using Spack. Use the +rocm variant to enable ROCm support during installation:
spack install <package-name> +rocm # Enables ROCm support
Keywords
MPI MPICH rocm SpackImage IDs
CHI@TACC: | 5d2cf588-8415-44ae-80dd-3d33bf02e723 |
CHI@UC: | b9162a53-2d6c-4308-b0d9-b0677b263580 |
KVM@TACC: | 5ec58b49-bcb6-4aae-89c5-d4d9c23663b3 |
Author
Name: | Rohan Babbar |
Contact: | rohanbabbar0408@gmail.com |
Support
Name: | Rohan Babbar |
Contact: | rohanbabbar0408@gmail.com |
Version: | 1.0.0 |
Created By: | rohanbabbar0408@gmail.com on Aug. 9, 2025, 12:21 p.m. |
Updated By: | rohanbabbar0408@gmail.com on Aug. 15, 2025, 12:26 p.m. |