summaryrefslogtreecommitdiff
path: root/dtrain/hstreaming/dtrain.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dtrain/hstreaming/dtrain.sh')
-rwxr-xr-xdtrain/hstreaming/dtrain.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/dtrain/hstreaming/dtrain.sh b/dtrain/hstreaming/dtrain.sh
new file mode 100755
index 00000000..877ff94c
--- /dev/null
+++ b/dtrain/hstreaming/dtrain.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+# script to run dtrain with a task id
+
+pushd . &>/dev/null
+cd ..
+ID=$(basename $(pwd)) # attempt_...
+popd &>/dev/null
+./dtrain -c dtrain.ini --hstreaming $ID
+