Download toolchain/apptainer/bin/singularity from AVSim/simulation-package: direct link, hf CLI and curl.
- Browser
- Download file 465 Bytes
-
https://huggingface.co/datasets/AVSim/simulation-package/resolve/main/toolchain/apptainer/bin/singularity
- Command line
-
hf download hf://datasets/AVSim/simulation-package/toolchain/apptainer/bin/singularity
-
curl -L -o singularity https://huggingface.co/datasets/AVSim/simulation-package/resolve/main/toolchain/apptainer/bin/singularity
465 Bytes
| ME="$(/usr/bin/realpath $0)" | |
| HERE="${ME%/*}" | |
| BASEPATH="${HERE%/*}" | |
| ARCH="$(uname -m)" | |
| if [ -z "$ARCH" ]; then | |
| echo "$0: cannot determine arch" 2>&1 | |
| exit 1 | |
| fi | |
| APPTDIR="$BASEPATH/$ARCH" | |
| if [ ! -d "$APPTDIR" ]; then | |
| echo "$0: $APPTDIR not found" 2>&1 | |
| exit 1 | |
| fi | |
| if [ -n "$LD_LIBRARY_PATH" ]; then | |
| LD_LIBRARY_PATH="$LD_LIBRARY_PATH:" | |
| fi | |
| PATH=$APPTDIR/utils/bin:$PATH LD_LIBRARY_PATH="$LD_LIBRARY_PATH$APPTDIR/utils/lib" exec $APPTDIR/bin/apptainer "$@" | |