Apptainer: Difference between revisions

Jump to navigation Jump to search
Line 69: Line 69:
** These options will locate and bind GPU-related libraries on the host (e.g., so such becomes bind-mounted inside the container) as well as setting the <code>LD_LIBRARY_PATH</code> environment variable to enable the aforementioned libraries will work inside the container.
** These options will locate and bind GPU-related libraries on the host (e.g., so such becomes bind-mounted inside the container) as well as setting the <code>LD_LIBRARY_PATH</code> environment variable to enable the aforementioned libraries will work inside the container.
* Ensure the application using the GPU inside the container was properly compiled to use the GPU and its libraries.
* Ensure the application using the GPU inside the container was properly compiled to use the GPU and its libraries.
* If using OpenCL inside the container, besides using the mentioned options use the following bind mount: <code>--bind /etc/OpenCL</code>
* When needing to use OpenCL inside the container, besides using the aforementioned options use the following bind mount: <code>--bind /etc/OpenCL</code>.


====Using MPI Programs====
====Using MPI Programs====
cc_staff
156

edits

Navigation menu