summaryrefslogtreecommitdiffstats
path: root/run/test.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@ipecompute2.ands.kit.edu>2020-03-09 03:37:34 +0100
committerSuren A. Chilingaryan <csa@ipecompute2.ands.kit.edu>2020-03-09 03:37:34 +0100
commit8fb3c0a3f96024786305a1234fe5cfb70e6f00c0 (patch)
treedc313b424aab723f8a9b17865cdcf0904eb501d0 /run/test.sh
downloadccpi-8fb3c0a3f96024786305a1234fe5cfb70e6f00c0.tar.gz
ccpi-8fb3c0a3f96024786305a1234fe5cfb70e6f00c0.tar.bz2
ccpi-8fb3c0a3f96024786305a1234fe5cfb70e6f00c0.tar.xz
ccpi-8fb3c0a3f96024786305a1234fe5cfb70e6f00c0.zip
Initial release
Diffstat (limited to 'run/test.sh')
-rw-r--r--run/test.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/run/test.sh b/run/test.sh
new file mode 100644
index 0000000..90624c0
--- /dev/null
+++ b/run/test.sh
@@ -0,0 +1,6 @@
+#! /bin/bash
+
+set -o errexit
+
+#podman exec -it "ccpi-devel" bash /ccpi/data/run.sh
+podman run --name "ccpi-run" -it --rm --hooks-dir /usr/share/containers/oci/hooks.d/ -v ~/ccpi/data:/ccpi/data -e "CUDA_VISIBLE_DEVICES=2" localhost/ccpi:devel bash /ccpi/data/run.sh