singularity-builds/ray/ray.def

23 lines
496 B
Modula-2
Raw Normal View History

2021-06-14 21:16:15 +00:00
Bootstrap: library
From: default/ubuntu:20.04
%post
apt-get -y update
apt-get -y --no-install-recommends install software-properties-common
add-apt-repository universe
apt-get -y update
apt-get -y --no-install-recommends install ray
%test
if [ ! "$(command -v Ray)" ]; then
echo "command Ray not found!"
exit 1
fi
%runscript
mpiexec --use-hwthread-cpus Ray "$@"
%labels
Author 25492070+MillironX@users.noreply.github.com
Version v2.3.1