Basic Ray Image

This commit is contained in:
MillironX 2021-06-14 16:16:15 -05:00
parent 4619654569
commit 536450ce8e
Signed by: millironx
GPG key ID: 139C07724802BC5D
2 changed files with 32 additions and 0 deletions

10
.gitignore vendored Normal file
View file

@ -0,0 +1,10 @@
*.sif
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace
# Local History for Visual Studio Code
.history/

22
ray/ray.def Normal file
View file

@ -0,0 +1,22 @@
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