Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
resinfo-cargo
CargoDay
cargoday-12
Commits
04f69ff3
Commit
04f69ff3
authored
Oct 20, 2021
by
RANDRIATOAMANANA Richard
Browse files
Update demo-deploy-on-g5k.md
parent
e0bfb553
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
demo-deploy-on-g5k.md
demo-deploy-on-g5k.md
+34
-0
No files found.
demo-deploy-on-g5k.md
View file @
04f69ff3
...
...
@@ -84,3 +84,37 @@ You can use tgz-g5k to extract a Grid'5000 environment tarball from a running no
```
bash
kadeploy3
-a
cargoday12-node.env
-k
-m
<new node>
```
### Job submission
```
bash
cat
<<
EOF
>
$HOME
/myjob.sh
#!/bin/zsh
#OAR -l host=1/core=1,walltime=00:05:00
#OAR -p cluster='econome'
hostname
EOF
chmod
+x
$HOME
/myjob.sh
oarsub
-S
$HOME
/myjob.sh
```
### Docker and Singularity
-
run with singularity a docker running a
`busybox`
linux
```
bash
oarsub
-l
core
=
1
"/grid5000/code/bin/singularity exec docker://busybox uname -a"
```
-
run a
`lolcow`
```
bash
oarsub
-l
core
=
1
"/grid5000/code/bin/singularity run docker://godlovedc/lolcow"
```
-
run a
`gentoo`
distro in a docker image
```
bash
oarsub
-l
core
=
1
"/grid5000/code/bin/singularity exec docker://gentoo/stage3-amd64 cat /etc/gentoo-release"
```
-
run a tensorflow on a gpu cluster
```
bash
ssh nancy.g5k
oarsub
-q
testing
-p
"cluster='gruss'"
-l
gpu
=
1,core
=
2
"singularity run --nv docker://tensorflow/tensorflow:latest-gpu"
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment