Skip to content

Commit

Permalink
Remove non-default notice_level.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed Oct 10, 2023
1 parent ea438a2 commit 528b737
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 14 deletions.
3 changes: 1 addition & 2 deletions hoomd_validation/alj_2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ def alj_2d_create_initial_state(*jobs):

device = hoomd.device.CPU(
communicator=communicator,
message_filename=job.fn('create_initial_state.log'),
notice_level=5)
message_filename=job.fn('create_initial_state.log'))

num_particles = job.statepoint['num_particles']
density = job.statepoint['density']
Expand Down
3 changes: 1 addition & 2 deletions hoomd_validation/hard_disk.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ def hard_disk_create_initial_state(*jobs):
# create snapshot
device = hoomd.device.CPU(
communicator=communicator,
message_filename=job.fn('create_initial_state.log'),
notice_level=5)
message_filename=job.fn('create_initial_state.log'))
snap = hoomd.Snapshot(communicator)

if communicator.rank == 0:
Expand Down
3 changes: 1 addition & 2 deletions hoomd_validation/hard_sphere.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ def hard_sphere_create_initial_state(*jobs):
# create snapshot
device = hoomd.device.CPU(
communicator=communicator,
message_filename=job.fn('create_initial_state.log'),
notice_level=5)
message_filename=job.fn('create_initial_state.log'))
snap = hoomd.Snapshot(device.communicator)

if device.communicator.rank == 0:
Expand Down
3 changes: 1 addition & 2 deletions hoomd_validation/lj_fluid.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ def lj_fluid_create_initial_state(*jobs):
sp = job.sp
device = hoomd.device.CPU(
communicator=communicator,
message_filename=job.fn('create_initial_state.log'),
notice_level=5)
message_filename=job.fn('create_initial_state.log'))

box_volume = sp["num_particles"] / sp["density"]
L = box_volume**(1 / 3.)
Expand Down
6 changes: 2 additions & 4 deletions hoomd_validation/lj_union.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ def lj_union_create_initial_state(*jobs):
sp = job.sp
device = hoomd.device.CPU(
communicator=communicator,
message_filename=job.fn('create_initial_state.log'),
notice_level=5)
message_filename=job.fn('create_initial_state.log'))

box_volume = sp["num_particles"] / sp["density"]
L = box_volume**(1 / 3.)
Expand Down Expand Up @@ -1421,8 +1420,7 @@ def lj_union_nve_md_job(*jobs):

device = device_cls(
communicator=communicator,
message_filename=job.fn(f'{sim_mode}_{device_name}.log'),
notice_level=10)
message_filename=job.fn(f'{sim_mode}_{device_name}.log'))
run_nve_md_sim(job,
device,
run_length=run_length,
Expand Down
3 changes: 1 addition & 2 deletions hoomd_validation/simple_polygon.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ def simple_polygon_create_initial_state(*jobs):
# create snapshot
device = hoomd.device.CPU(
communicator=communicator,
message_filename=job.fn('create_initial_state.log'),
notice_level=5)
message_filename=job.fn('create_initial_state.log'))
snap = hoomd.Snapshot(communicator)

if communicator.rank == 0:
Expand Down

0 comments on commit 528b737

Please sign in to comment.