mirror of
https://github.com/MillironX/singularity-builds.git
synced 2024-11-21 09:26:04 +00:00
Basic Ray Image
This commit is contained in:
parent
4619654569
commit
536450ce8e
2 changed files with 32 additions and 0 deletions
10
.gitignore
vendored
Normal file
10
.gitignore
vendored
Normal 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
22
ray/ray.def
Normal 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
|
Loading…
Reference in a new issue