@@ -70,6 +70,9 @@ the script `run_command_in_container.sh`. If you execute
...
@@ -70,6 +70,9 @@ the script `run_command_in_container.sh`. If you execute
```
```
it will invoke the Python interpreter that has been installed into the container image. You will see which python version has been installed into the container. Instead, you can, of course, execute any other command and pass arbitrary arguments.
it will invoke the Python interpreter that has been installed into the container image. You will see which python version has been installed into the container. Instead, you can, of course, execute any other command and pass arbitrary arguments.
A note on GPUs. If you want to be able to use GPUs inside of the container, you must use the [NVIDIA Container runtime](https://developer.nvidia.com/nvidia-container-runtime) and
add the flag `--runtime=nvidia` to the all calls to `docker run`.
# Export the docker container
# Export the docker container
Before you start into this step, ssh to the supercomputer and also clone the repository there.
Before you start into this step, ssh to the supercomputer and also clone the repository there.