Skip to content

Commit

Permalink
Make forces_gpu prob size larger and add checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
shuds13 committed Jan 12, 2023
1 parent e8d1181 commit a9d75a8
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
# ("resource_sets", int) # Uncomment for var resources
],
"user": {
"lb": np.array([1000]), # User parameters for the gen_f
"ub": np.array([3000]),
"lb": np.array([50000]), # User parameters for the gen_f
"ub": np.array([100000]),
"gen_batch_size": 8,
# "max_resource_sets": nworkers # Uncomment for var resources
},
Expand All @@ -67,3 +67,7 @@

# Launch libEnsemble
H, persis_info, flag = libE(sim_specs, gen_specs, exit_criteria, persis_info=persis_info, libE_specs=libE_specs)

# This is for configuration of this test (inc. lb/ub and sim_max values)
chksum = np.sum(H["energy"])
assert np.isclose(chksum, 1265631.74097), f"energy check sum is {chksum}"

0 comments on commit a9d75a8

Please sign in to comment.