Skip to content

Commit

Permalink
cleanup lammps
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Moors committed Dec 23, 2024
1 parent fcc6102 commit 3a822f3
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions eessi/testsuite/tests/apps/lammps/lammps.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@
from eessi.testsuite.constants import * # noqa
from eessi.testsuite.eessi_mixin import EESSI_Mixin

# from eessi.testsuite.tests.apps.lammps.lammps_staging.lammps_stage_input import EESSI_LAMMPS_stage_input


# class EESSI_LAMMPS_base(rfm.RunOnlyRegressionTest, EESSI_Mixin):
class EESSI_LAMMPS_base(rfm.RunOnlyRegressionTest):
time_limit = '30m'
device_type = parameter([DEVICE_TYPES[CPU], DEVICE_TYPES[GPU]])
Expand Down Expand Up @@ -65,7 +62,6 @@ def set_compute_unit(self):


@rfm.simple_test
# class EESSI_LAMMPS_lj(EESSI_LAMMPS_base):
class EESSI_LAMMPS_lj(EESSI_LAMMPS_base, EESSI_Mixin):
tags = {TAGS['CI']}

Expand Down Expand Up @@ -128,22 +124,11 @@ def set_executable_opts(self):


@rfm.simple_test
# class EESSI_LAMMPS_rhodo(EESSI_LAMMPS_base):
class EESSI_LAMMPS_rhodo(EESSI_LAMMPS_base, EESSI_Mixin):
sourcesdir = 'src/rhodo'
executable = 'lmp -in in.rhodo'
readonly_files = ['data.rhodo', 'in.rhodo']

# stage_input = fixture(EESSI_LAMMPS_stage_input, scope='session')

# @run_after('setup')
# def symlink_lammps_data(self):
# '''Create a symlink to the data.rhodo file staged by the EESSI_LAMMPS_stage_input fixture.
# Lammps needs this in the current working directory'''
# self.prerun_cmds = [
# f'ln -s {self.stage_input.stagedir}/rhodo/data.rhodo data.rhodo'
# ]

@deferrable
def check_number_neighbors(self):
'''Assert that the test calulated the right number of neighbours'''
Expand Down

0 comments on commit 3a822f3

Please sign in to comment.