User Tools

Site Tools


howto:shifter

This is an old revision of the document!


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

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

Note these instructions require at least version cp2k/cp2k:dev20220519 .

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.1653078621.txt.gz · Last modified: 2022/05/20 20:30 by oschuett