Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Latest commit

 

History

History
29 lines (27 loc) · 1.55 KB

File metadata and controls

29 lines (27 loc) · 1.55 KB

A Singularity Container with CentOS7 and Cuda8

We are using this at SEMC to run latest version of motioncor2 on a CentOS6 cluster. This is based on this document from docs.hpc.arizona.edu.

singularity create --size 4096 centos7_cuda8.img
wget https://raw.githubusercontent.com/nysbc/singularity-centos7-cuda8/master/Singularity
singularity bootstrap centos7_cuda8.img Singularity
singularity shell -w centos7_cuda8.img
Singularity centos7_cuda8.img:~> cp ~/Downloads/MotionCor2_1.1.0-Cuda80 /usr/local/bin/
chmod +x /usr/local/bin/MotionCor2_1.1.0-Cuda80
  • Create MotionCor2_1.1.0-Cuda80 helper script as follow:
# more /gpfs/sw/bin/MotionCor2_1.1.0-Cuda80
#!/bin/bash
singularity  exec --nv -B /gpfs:/gpfs /gpfs/sw/bin/centos7_cuda8.img /usr/local/bin/MotionCor2_1.1.0-Cuda80 "$@"

Replace /gpfs with the drive that you use to store movie frames. We have tested MotionCor2 running from Singularity container vs MotionCor2 compiled natively. There was no difference in timing, meaning that Singularity provides no overhead.