Skip to content

Commit

Permalink
update lammps hook name
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Moors committed Oct 9, 2024
1 parent 548e9b3 commit a4e48c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eessi/testsuite/tests/apps/lammps/lammps.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ def assert_run(self):
return sn.assert_eq(n_atoms, 32000)

@run_after('init')
def run_after_setup(self):
"""hooks to run after the setup phase"""
def set_compute_unit(self):
"""Set the compute unit to which tasks will be assigned """
if self.device_type == 'cpu':
self.compute_unit = COMPUTE_UNIT['CPU']
elif self.device_type == 'gpu':
Expand Down

0 comments on commit a4e48c0

Please sign in to comment.