warning: this all is still being tested
Docker image with Spack.
How to use
Dockerfile:
FROM rezzonic/spack
RUN $SPACK_ROOT/bin/spack install openmpi
Pull the image from DockerHub
shifterimg pull tinchou/apache-pig
Script to be launched from within the Docker image
#!/bin/bash
$SPACK_ROOT/bin/spack install openmpi
SLURM script to launch the image
#!/bin/bash
#SBATCH --image=rezzonic/spack
srun shifter ./my-env-my-job.sh