Skip to content

Commit

Permalink
Merge pull request #169 from laraPPr/LAMMPS_test
Browse files Browse the repository at this point in the history
LAMMPS: relax TotEng check fot lj test on ARM
  • Loading branch information
smoors authored Aug 20, 2024
2 parents 74d0d82 + 0288967 commit 79ea161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eessi/testsuite/tests/apps/lammps/lammps.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def assert_energy(self):
regex = r'^\s+100\s+[-+]?[.0-9]+\s+[-+]?[.0-9]+\s+0\s+(?P<energy>[-+]?[.0-9]+)'
energy = sn.extractsingle(regex, self.stdout, 'energy', float)
energy_diff = sn.abs(energy - (-4.6223613))
return sn.assert_lt(energy_diff, 1e-6)
return sn.assert_lt(energy_diff, 1e-4)

@performance_function('timesteps/s')
def perf(self):
Expand Down

0 comments on commit 79ea161

Please sign in to comment.