Skip to content

Example Singularity MPI container (mpich and openmpi)

Notifications You must be signed in to change notification settings

rse-ops/singularity-mpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Singularity Flux

This will reproduce the example here.

Usage

Pull the container with Singularity and oras:

$ singularity pull oras://ghcr.io/rse-ops/singularity-mpi:mpich

You might want an allocation (with or without userns):

$ salloc --userns

Try running the container:

$ mpirun -n 6 singularity exec singularity-mpi_mpich.sif /opt/mpitest
Hello, I am rank 1/6
Hello, I am rank 2/6
Hello, I am rank 3/6
Hello, I am rank 4/6
Hello, I am rank 0/6
Hello, I am rank 5/6

And then try running with flux

$ flux start mpirun -n 6 singularity exec singularity-mpi_mpich.sif /opt/mpitest

About

Example Singularity MPI container (mpich and openmpi)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages