Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| habrok:examples:apptainer [2023/04/14 11:52] – ↷ Page name changed from habrok:examples:singularity to habrok:examples:apptainer admin | habrok:examples:apptainer [2026/06/29 12:45] (current) – [Using a GPU in your container] pedro | ||
|---|---|---|---|
| Line 76: | Line 76: | ||
| </ | </ | ||
| + | ==== Using a GPU in your container ==== | ||
| + | |||
| + | In order to make a GPU available in the container, you will have to use the '' | ||
| + | <code bash> | ||
| + | apptainer exec --nv / | ||
| + | </ | ||
| + | |||
| + | Note that this only makes sense if you are running the container in a GPU enabled node. Those would be the interactive GPU nodes '' | ||