File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ #
3+ # Ensure fluxion calc_factor executes without overflow
4+ #
5+
6+ log () { printf " issue#1129: $@ \n" >&2 ; }
7+
8+ TEST_SIZE=${TEST_SIZE:- 900}
9+
10+ log " Unloading modules..."
11+ flux module remove sched-simple
12+ flux module remove resource
13+
14+ flux config load << EOF
15+ [sched-fluxion-qmanager]
16+ queue-policy = "easy"
17+
18+ [resource]
19+ noverify = true
20+ norestrict = true
21+
22+ [[resource.config]]
23+ hosts = "test[1-${TEST_SIZE} ]"
24+ cores = "0-112"
25+ gpus = "0-8"
26+ EOF
27+
28+ flux module load resource monitor-force-up
29+ flux module load sched-fluxion-resource
30+ flux module load sched-fluxion-qmanager
31+ flux queue start --all --quiet
32+ flux resource list
33+ flux resource status
34+
35+ log " Running test job."
36+ flux run -vvv -N${TEST_SIZE} -n${TEST_SIZE} \
37+ --setattr=exec.test.run_duration=1ms \
38+ true
39+
40+ log " reloading sched-simple..."
41+ flux module remove sched-fluxion-qmanager
42+ flux module remove sched-fluxion-resource
43+ flux module load sched-simple
You can’t perform that action at this time.
0 commit comments