New random parallel settings
@@ -47,6 +47,17 @@ print "Using TURBINE: ${TURBINE_INSTALL}"
print "Using MPI install: ${MPICH_INSTALL}"
${TURBINE_HOME}/bin/turbine -v
+if (( ${+PARALLEL} ))
+then
+ print "PARALLEL enabled..."
+ S=$( date +%N ) # Get middle digits from current nanoseconds
+ RANDOM=${S:1:4}
+ export TEST_ADLB_WORKERS=$(( RANDOM % 10 + 1 ))
+ export TEST_ADLB_SERVERS=$(( RANDOM % 5 + 1 ))
+ print "TEST_ADLB_SERVERS=${TEST_ADLB_SERVERS}"
+ print "TEST_ADLB_WORKERS=${TEST_ADLB_WORKERS}"
+fi
+
print "stc -v"
${STC} -v
print
