howto:shifter
Howto run CP2K via Shifter
Shifter is a open-source software stack that enables users to run custom environments on HPC systems. It is designed to be compatible with the popular Docker container format so that users can easily run Docker containers on HPC systems.
For more information on Shifter see:
Step 1
Note these instructions require at least version cp2k/cp2k:dev20220519 .
Pull an image from our repository at Docker Hub:
$ module load shifter $ shifterimg pull cp2k/cp2k:<version> Pulling Image: docker:cp2k/cp2k:<version>, status: READY 2022-05-20T08:44:03 Pulling Image: docker:cp2k/cp2k:<version>, status: READY
Step 2
Prepare a job file:
#!/bin/bash #SBATCH --image=docker:cp2k/cp2k:<version> #SBATCH --module=mpich # ... (more sbatch options) srun shifter --entrypoint cp2k -i H2O-64.inp
Step 3
Submit your job in the usual way:
$ sbatch jobfile
howto/shifter.txt · Last modified: 2022/05/20 20:35 by oschuett