File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
docs/examples/slurm-perpetual Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,13 @@ echo "Starting background process to monitor wall time."
34
34
BGPID=$!
35
35
trap " kill $BGPID " EXIT
36
36
37
- # Start StepUp with 5 workers.
38
- # This means that at most 5 jobs will be submitted concurrently.
37
+ NWORKER=5
38
+ echo " Starting stepup with a maximum of ${NWORKER} concurrent jobs."
39
+ stepup boot -n ${NWORKER}
40
+ # This means that at most ${NWORKER} jobs will be submitted concurrently.
39
41
# You can adjust the number of workers based on your needs.
40
42
# In fact, because this example is simple, a single worker would be sufficient.
41
- # Note that the number of workers is unrelated
42
- # to the single core used by this workflow script.
43
- echo " Starting stepup with a maximum of 5 concurrent jobs."
44
- stepup boot -n 5
43
+ # Note that the number of workers is unrelated to the single core used by this workflow script.
45
44
46
45
# Use the temporary file to determine if the workflow script must be resubmitted.
47
46
echo " Checking if stepup was forcibly stopped."
You can’t perform that action at this time.
0 commit comments