Difference between revisions of "Singularity"

From CAC Wiki
Jump to: navigation, search
Line 19: Line 19:
 
</pre>
 
</pre>
  
For more info, check out the Compute Canada page on using Singularity for QIIME
+
For more info and examples of binding directories, check out the Compute Canada page on using Singularity for QIIME
  
 
https://docs.computecanada.ca/wiki/QIIME
 
https://docs.computecanada.ca/wiki/QIIME

Revision as of 13:25, 1 April 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}

For more info and examples of binding directories, check out the Compute Canada page on using Singularity for QIIME

https://docs.computecanada.ca/wiki/QIIME