Skip to content

Commit ed03dc5

Browse files
committed
fix more resources tests
1 parent 07e208b commit ed03dc5

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

libensemble/tests/regression_tests/test_GPU_variable_resources.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
give_all_with_same_priority=False,
7373
async_return=False,
7474
user={
75+
"initial_batch_size": gpu_test.nworkers - 1,
7576
"max_procs": gpu_test.nworkers - 1, # Any sim created can req. 1 worker up to max
7677
"lb": np.array([-3, -2]),
7778
"ub": np.array([3, 2]),

libensemble/tests/regression_tests/test_GPU_variable_resources_multi_task.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
give_all_with_same_priority=False,
8383
async_return=False,
8484
user={
85+
"initial_batch_size": nworkers - 1,
8586
"max_procs": (nworkers - 1) // 2, # Any sim created can req. 1 worker up to max
8687
"lb": np.array([-3, -2]),
8788
"ub": np.array([3, 2]),

libensemble/tests/regression_tests/test_ensemble_platform_workdir.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
"give_all_with_same_priority": False,
5454
"async_return": False,
5555
"user": {
56+
"initial_batch_size": ensemble.nworkers - 1,
5657
"max_resource_sets": ensemble.nworkers - 1, # Any sim created can req. 1 worker up to all.
5758
"lb": np.array([-3, -2]),
5859
"ub": np.array([3, 2]),

0 commit comments

Comments
 (0)