Skip to content

Commit

Permalink
fix(esi-shell): drop support for singularity with GPU (for now) (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
plexoos authored Mar 25, 2024
1 parent cc80a95 commit 4cb9d19
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions esi-shell
Original file line number Diff line number Diff line change
Expand Up @@ -282,11 +282,6 @@ then
docker exec -it $CONTAINER_ID /opt/nvidia/nvidia_entrypoint.sh
confirm "Stop and remove container? [Y/n]" yes && docker rm -f $CONTAINER_ID || ohai "Remove container manually: docker rm -f $CONTAINER_ID"
elif [[ -n "${USABLE_SINGULARITY-}" ]]
then
cmd="singularity exec -e docker://$IMG bash -l"
ohai "Running: $cmd"
exec $cmd
else
abort "Either singularity (>= $REQUIRED_SINGULARITY_VERSION) or docker (>= $REQUIRED_DOCKER_VERSION) must be installed to proceed."
abort "Docker client (>= $REQUIRED_DOCKER_VERSION) must be installed to proceed."
fi

0 comments on commit 4cb9d19

Please sign in to comment.