TESTCASE_FILES=${#TESTCASE[@]}
[ $TESTCASE_FILES -ne 1 ] && _exit "One and only one 'testcase*msk' file must be present !!"
-#MAX_NUMBER_GROUPS=$(grep ^MAX_NUMBER_GROUPS= clone.sh | cut -d= -f2)
-#CLONE_GROUPS=$((MAX_NUMBER_GROUPS/ADML_INSTANCES))
-CLONE_GROUPS=1
+MAX_NUMBER_GROUPS=$(grep ^MAX_NUMBER_GROUPS= clone.sh | cut -d= -f2)
+CLONE_GROUPS=$((MAX_NUMBER_GROUPS/ADML_INSTANCES))
+#CLONE_GROUPS=1
children_before=$(children)
while read -r line
# VARIABLES #
#############
CLONE_WKDIR=$(mktemp -d)
-MAX_NUMBER_GROUPS=400
+#MAX_NUMBER_GROUPS=400
+MAX_NUMBER_GROUPS=200
# (depends on the machine)
#############
echo
# Background jobs:
- kill -9 $(jobs -p) >/dev/null 2>/dev/null
+ #remaining_jobs=$(jobs -p)
+ (kill -9 $(jobs -p) 2>&1) >/dev/null
# Cleanup:
rm -rf $CLONE_WKDIR