Checkout, Frequently Asked Questions!

Quick Start for Using Singularity on Shaheen III#

A singularity image can be pulled as follows:

module load singularity
cd $HOME && mkdir -p tmpdir
export SINGULARITY_TMPDIR=$HOME/tmpdir
singularity pull docker://krccl/cdo_gnu:1.9.10
mkdir -p $MY_SINGULARITY_IMAGES
cp ~/cdo_gnu_1.9.10.sif $MY_SINGULARITY_IMAGES
cd $MY_SINGULARITY_IMAGES
singularity run cdo_gnu_1.9.10.sif cdo --version

The following SLURM job script runs the container:

#!/bin/bash
#SBATCH --nodes=1
#SBATCH --hint=nomultithread
#SBATCH --time=00:10:00

module load singularity
singularity run cdo_gnu_1.9.10.sif cdo --version