File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
NonlinearSolveFirstOrder/test
NonlinearSolveQuasiNewton/test
NonlinearSolveSpectralMethods/test Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const RETESTITEMS_NWORKERS = parse(
12
12
const RETESTITEMS_NWORKER_THREADS = parse (Int,
13
13
get (
14
14
ENV , " RETESTITEMS_NWORKER_THREADS" ,
15
- string (max (Hwloc. num_virtual_cores () ÷ RETESTITEMS_NWORKERS, 1 ))
15
+ string (max (Hwloc. num_virtual_cores () ÷ max ( RETESTITEMS_NWORKERS, 1 ) , 1 ))
16
16
)
17
17
)
18
18
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const RETESTITEMS_NWORKERS = parse(
12
12
const RETESTITEMS_NWORKER_THREADS = parse (Int,
13
13
get (
14
14
ENV , " RETESTITEMS_NWORKER_THREADS" ,
15
- string (max (Hwloc. num_virtual_cores () ÷ RETESTITEMS_NWORKERS, 1 ))
15
+ string (max (Hwloc. num_virtual_cores () ÷ max ( RETESTITEMS_NWORKERS, 1 ) , 1 ))
16
16
)
17
17
)
18
18
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const RETESTITEMS_NWORKERS = parse(
12
12
const RETESTITEMS_NWORKER_THREADS = parse (Int,
13
13
get (
14
14
ENV , " RETESTITEMS_NWORKER_THREADS" ,
15
- string (max (Hwloc. num_virtual_cores () ÷ RETESTITEMS_NWORKERS, 1 ))
15
+ string (max (Hwloc. num_virtual_cores () ÷ max ( RETESTITEMS_NWORKERS, 1 ) , 1 ))
16
16
)
17
17
)
18
18
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const RETESTITEMS_NWORKERS = parse(
17
17
const RETESTITEMS_NWORKER_THREADS = parse (Int,
18
18
get (
19
19
ENV , " RETESTITEMS_NWORKER_THREADS" ,
20
- string (max (Hwloc. num_virtual_cores () ÷ RETESTITEMS_NWORKERS, 1 ))
20
+ string (max (Hwloc. num_virtual_cores () ÷ max ( RETESTITEMS_NWORKERS, 1 ) , 1 ))
21
21
)
22
22
)
23
23
You can’t perform that action at this time.
0 commit comments