libra/libra:pascal60-2024-10-18
Version sha256.c0fe1e67d2f384eecf4b19b7c0ee02224c17f9f396838d90b4388ccd25dc1075
Image size: 6.9 GB
For more on pulling from the registry, see the ilifu documentation.
First, once: add the registry and make it your default
singularity remote add --no-login idia-registry https://sregistry.idia.ac.za
singularity remote use idia-registry
If you added it before, as the ilifu docs describe, remote add says it already exists: just run remote use.
Log in, for a private collection
singularity remote login idia-registry
Paste a token from your token page when asked. Public collections need no login.
Pull the container
singularity pull library://libra/libra:pascal60-2024-10-18
Shell into the container
singularity shell library://libra/libra:pascal60-2024-10-18
Run the container
singularity run library://libra/libra:pascal60-2024-10-18
First, once: add the registry and make it your default
apptainer remote add --no-login idia-registry https://sregistry.idia.ac.za
apptainer remote use idia-registry
If you added it before, as the ilifu docs describe, remote add says it already exists: just run remote use.
Log in, for a private collection
apptainer remote login idia-registry
Paste a token from your token page when asked. Public collections need no login.
Pull the container
apptainer pull library://libra/libra:pascal60-2024-10-18
Shell into the container
apptainer shell library://libra/libra:pascal60-2024-10-18
Run the container
apptainer run library://libra/libra:pascal60-2024-10-18
The container holds the roadrunner app which can be run via the singularity app command. The container is build specific for the GPU Model P100. On ilifu this container should be utilised on the gpu-[001-004]
The container is build to run only on the
The container can be run using the following command:
singularity run --nv libra.sif or
Shell into the container: singularity shell --nv libra.sif, then "roadrunner"
The roadrunner app can be run using the following command:
singularity run --nv --app roadrunner libra.sif
For mounting paths from outside the container use the following command:
singularity run --nv --bind /path/to/mount:/container/mount/point libra.sif
This image has 1 app. Pick one to see how to use it.
singularity run --app roadrunner library://libra/libra:pascal60-2024-10-18
This works once you've added the registry as a remote (see the CLI tab). Add the app's arguments after the command. With Apptainer, start it with apptainer instead.
Labels
- The
- roadrunner is a standalone gridding application that can run on CPU or GPU as desired.
Runs
exec /opt/build/libra/build/Libra/apps/src/roadrunner
bootstrap: localimage
from: roadrunner-pascal.sandbox/
Download libra-libra_pascal60-2024-10-18.def
#!/bin/sh
exec /opt/build/libra/build/Libra/apps/src/roadrunner
# /.singularity.d/env/10-docker2singularity.sh
#!/bin/sh
export PATH="/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
export NVARCH="${NVARCH:-"x86_64"}"
export NVIDIA_REQUIRE_CUDA="${NVIDIA_REQUIRE_CUDA:-"cuda>=12.2 brand=tesla,driver>=470,driver<471 brand=unknown,driver>=470,driver<471 brand=nvidia,driver>=470,driver<471 brand=nvidiartx,driver>=470,driver<471 brand=geforce,driver>=470,driver<471 brand=geforcertx,driver>=470,driver<471 brand=quadro,driver>=470,driver<471 brand=quadrortx,driver>=470,driver<471 brand=titan,driver>=470,driver<471 brand=titanrtx,driver>=470,driver<471 brand=tesla,driver>=525,driver<526 brand=unknown,driver>=525,driver<526 brand=nvidia,driver>=525,driver<526 brand=nvidiartx,driver>=525,driver<526 brand=geforce,driver>=525,driver<526 brand=geforcertx,driver>=525,driver<526 brand=quadro,driver>=525,driver<526 brand=quadrortx,driver>=525,driver<526 brand=titan,driver>=525,driver<526 brand=titanrtx,driver>=525,driver<526"}"
export NV_CUDA_CUDART_VERSION="${NV_CUDA_CUDART_VERSION:-"12.2.53-1"}"
export CUDA_VERSION="${CUDA_VERSION:-"12.2.0"}"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:-"/usr/local/nvidia/lib:/usr/local/nvidia/lib64"}"
export NVIDIA_VISIBLE_DEVICES="${NVIDIA_VISIBLE_DEVICES:-"all"}"
export NVIDIA_DRIVER_CAPABILITIES="${NVIDIA_DRIVER_CAPABILITIES:-"compute,utility"}"
export NV_CUDA_LIB_VERSION="${NV_CUDA_LIB_VERSION:-"12.2.0-1"}"
export NV_NVTX_VERSION="${NV_NVTX_VERSION:-"12.2.53-1"}"
export NV_LIBNPP_VERSION="${NV_LIBNPP_VERSION:-"12.1.1.14-1"}"
export NV_LIBNPP_PACKAGE="${NV_LIBNPP_PACKAGE:-"libnpp-12-2-12.1.1.14-1"}"
export NV_LIBCUBLAS_VERSION="${NV_LIBCUBLAS_VERSION:-"12.2.1.16-1"}"
export NVIDIA_PRODUCT_NAME="${NVIDIA_PRODUCT_NAME:-"CUDA"}"
export NV_NVPROF_VERSION="${NV_NVPROF_VERSION:-"12.2.60-1"}"
export NV_NVPROF_DEV_PACKAGE="${NV_NVPROF_DEV_PACKAGE:-"cuda-nvprof-12-2-12.2.60-1"}"
export NV_CUDA_CUDART_DEV_VERSION="${NV_CUDA_CUDART_DEV_VERSION:-"12.2.53-1"}"
export NV_NVML_DEV_VERSION="${NV_NVML_DEV_VERSION:-"12.2.81-1"}"
export NV_LIBCUBLAS_DEV_VERSION="${NV_LIBCUBLAS_DEV_VERSION:-"12.2.1.16-1"}"
export NV_LIBNPP_DEV_VERSION="${NV_LIBNPP_DEV_VERSION:-"12.1.1.14-1"}"
export NV_LIBNPP_DEV_PACKAGE="${NV_LIBNPP_DEV_PACKAGE:-"libnpp-devel-12-2-12.1.1.14-1"}"
export NV_CUDA_NSIGHT_COMPUTE_VERSION="${NV_CUDA_NSIGHT_COMPUTE_VERSION:-"12.2.0-1"}"
export NV_CUDA_NSIGHT_COMPUTE_DEV_PACKAGE="${NV_CUDA_NSIGHT_COMPUTE_DEV_PACKAGE:-"cuda-nsight-compute-12-2-12.2.0-1"}"
export LIBRARY_PATH="${LIBRARY_PATH:-"/usr/local/cuda/lib64/stubs"}"
# /.singularity.d/env/90-environment.sh
#!/bin/sh
# Custom environment shell code should follow
export PIP_ROOT_USER_ACTION=ignore
export PATH=/opt/build/libra/apps/src/:/opt/build/libra/dependencies/linux_64b/bin/:/opt/build/libra/dependencies/linux_64b/sbin/:$PATH
export CPATH="/usr/local/cuda/include:$CPATH"
export PATH="/usr/local/cuda/bin:$PATH"
export PATH="/opt/build/libra/build/Libra/apps/src/:$PATH"
export LD_LIBRARY_PATH=/opt/build/libra/apps/src/RoadRunner/:/opt/build/libra/dependencies/linux_64b/lib/:$LD_LIBRARY_PATH
export CUDA_HOME="/usr/local/cuda"