User Tools

Site Tools


research:containers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
research:containers [2019/02/27 09:32]
itshililo [Using Singularity on Lengau Cluster]
research:containers [2021/12/09 16:42] (current)
Line 1: Line 1:
-====== Singularity in a Nutshell ======+======Singularity in a Nutshell======
  
-Singularity is a container solution created for scientific and application workloads. The objective of this guide is to demonstrate how to use Singularity on the CHPC  Lengau cluster. +Moved to [[howto:singularity|Singularity in Nutshell]].
- +
-The diagram below is a visual depiction of the Singularity work-flow process. This process can be categorised into two environments: +
-  * **Build** environment: for testing and building containers (user needs sudo privileges). This would ideally be the user's workstation or VM. +
-  * **Production** environment where users run containers. E.g (Lengau Cluster) +
- +
-For more details please read the user manual: [[https://www.sylabs.io/guides/2.6/user-guide/index.html]] +
- +
-{{ :research:flow.png?900 |}} +
- +
-Based on the image above, it is clear that the CHPC Lengau cluster will only provide a production (container execution) environment for the Singularity workflow. Therefore, users are only allowed to run already built containers images on this platform. +
- +
- +
-**NB:** Please note that the computes nodes on Lengau do not have access to the internet, which means that users will not be able to use the Singularity **pull** command. However, users can use the **scp.chpc.ac.ca** node to facilitate the transfer of images to and from the platform. +
- +
-==== Using Singularity on Lengau Cluster ==== +
-Using Singularity on Lengau can be summarised as two-stage process: +
-  - **Transferring images to the Lengau cluster:** Users can use cp, SCP, rsync or FTP to copy their images on the cluster using the node://** scp.chpc.ac.za**//. They can also use the **Singularity pull** command on the same node. +
-  - **Container Execution** Users can only interact with the computes nodes through the scheduler using the **qsub** command. Users also need to load the chpc/singularity module to enable execution of Singularity commands. +
- +
-=== Example Run ===+
  
/app/dokuwiki/data/attic/research/containers.1551252764.txt.gz · Last modified: 2021/12/09 16:42 (external edit)