Whamcloud - gitweb
LU-780 test: improve parallel-scale to support hyperion run
[fs/lustre-release.git] / lustre / tests / cfg / ncli.sh
index 5e97660..a5de17e 100644 (file)
@@ -26,3 +26,9 @@ for i in $LOADS; do
         error "incorrect load: $i"
 done
 CLIENT_LOADS=($LOADS)
+
+# This is used when testing on SLURM environment.
+# Test will use srun when SRUN_PARTITION is set
+SRUN=${SRUN:-$(which srun 2>/dev/null)}
+SRUN_PARTITION=${SRUN_PARTITION:-""}
+SRUN_OPTIONS=${SRUN_OPTIONS:-"-W 1800 -l -O"}