Difference between revisions of "Singularity"

From CAC Wiki
Jump to: navigation, search
(Created page with "__TOC__ '''Singularity''' Docker is not available on CAC or Compute Canada clusters for security reasons. However, you can convert the dockerimage to singularity e.g. <pre...")
 
Line 16: Line 16:
  
 
singularity exec -B /home -B /project -B /scratch -B /localscratch
 
singularity exec -B /home -B /project -B /scratch -B /localscratch
/home/tingyat/kissplice.sif kissplice {+options and/or argments if any}
+
/global/home/your_Username/kissplice.sif kissplice {+options and/or argments if any}
 
</pre>
 
</pre>

Revision as of 14:55, 31 March 2022


Singularity

Docker is not available on CAC or Compute Canada clusters for security reasons. However, you can convert the dockerimage to singularity

e.g.

module load singularity
singularity build kissplice.sif docker://dwishsan/kissplice-pipeline

This build the image "kissplice.sif" {you can choose another name}.

Once the image is ready, you can use it for your jobs:

module load singularity

singularity exec -B /home -B /project -B /scratch -B /localscratch
/global/home/your_Username/kissplice.sif kissplice {+options and/or argments if any}