Singularity: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Marked this version for translation)
No edit summary
Line 59: Line 59:
* a path to a Singularity image file (which is a recipe on how to build the image).
* a path to a Singularity image file (which is a recipe on how to build the image).


===Advice on Creating Images=== <!--T:110-->
===Advice on creating images=== <!--T:110-->


<!--T:111-->
<!--T:111-->
Line 74: Line 74:
'''NOTE:''' Any image you create on your own computer needs to be uploaded to the cluster before you can use that image.
'''NOTE:''' Any image you create on your own computer needs to be uploaded to the cluster before you can use that image.


===Creating Images on Compute Canada Clusters=== <!--T:114-->
===Creating images on Compute Canada clusters=== <!--T:114-->


<!--T:115-->
<!--T:115-->
Line 83: Line 83:
* <code>gra-vdi.computecanada.ca</code>: Connect using [[VNC]]. Use a terminal window to create the image.
* <code>gra-vdi.computecanada.ca</code>: Connect using [[VNC]]. Use a terminal window to create the image.
* <code>niagara.computecanada.ca</code>: Connect using [[SSH]] Use a login node to create the image.
* <code>niagara.computecanada.ca</code>: Connect using [[SSH]] Use a login node to create the image.
** '''IMPORTANT:''' Do not bind to <code>/localscratch</code> on niagara as it does not exist!
** '''IMPORTANT:''' Do not bind to <code>/localscratch</code> on Niagara as it does not exist!
Of these systems, <code>gra-vdi.computecanada.ca</code> is the '''best''' system to create images. The other systems have issues such as:
Of these systems, <code>gra-vdi.computecanada.ca</code> is the '''best''' system to create images. The other systems have issues such as:
* <code>beluga</code>, <code>graham</code>, and <code>niagara</code>:
* <code>beluga</code>, <code>graham</code>, and <code>niagara</code>:
Line 90: Line 90:
* <code>cedar</code>:
* <code>cedar</code>:
** login nodes cannot be successfully used, and,
** login nodes cannot be successfully used, and,
** compute node jobs require specifying the amount of RAM needed but this is very difficult to know what is required in advance, thus, if an error occurs, exit the interactive job, and try again requesting more memory.
** compute node jobs require specifying the amount of RAM needed but this is very difficult to know what is required in advance, thus if an error occurs, exit the interactive job and try again requesting more memory.


===Creating an image using Docker Hub=== <!--T:16-->
===Creating an image using Docker Hub=== <!--T:16-->
Line 335: Line 335:




==Changing Singularity Default Directories== <!--T:103-->
==Changing Singularity default directories== <!--T:103-->


<!--T:104-->
<!--T:104-->
rsnt_translations
56,430

edits

Navigation menu