Skip to content

Commit

Permalink
Merge pull request #184 from pyiron/lammps
Browse files Browse the repository at this point in the history
Update LAMMPS to 2024.02.07
  • Loading branch information
jan-janssen authored Apr 15, 2024
2 parents 6193503 + 975f44f commit 2a5adbf
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .ci_support/environment-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ channels:
- conda-forge
dependencies:
- coverage
- lammps =2023.11.21
- lammps =2024.02.07
- mpich
- numpy =1.26.4
- mpi4py =3.1.5
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/environment-openmpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ channels:
- conda-forge
dependencies:
- coverage
- lammps =2023.11.21
- lammps =2024.02.07
- openmpi
- numpy =1.26.4
- mpi4py =3.1.5
Expand Down
2 changes: 1 addition & 1 deletion binder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
dependencies:
- openmpi
- numpy =1.26.4
- lammps =2023.11.21
- lammps =2024.02.07
- mpi4py =3.1.5
- pympipool =0.7.17
- ase =3.22.1
Expand Down
2 changes: 1 addition & 1 deletion tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def test_cmdarg_options(self):
self.assertTrue(os.path.isfile(self.citation_file))

def test_version(self):
self.assertTrue(self.lmp.version in [20220623, 20230802, 20231121])
self.assertTrue(self.lmp.version in [20220623, 20230802, 20231121, 20240207])

def test_extract_global(self):
self.assertEqual(
Expand Down
2 changes: 1 addition & 1 deletion tests/test_concurrent.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def test_cmdarg_options(self):
self.assertTrue(os.path.isfile(self.citation_file))

def test_version(self):
self.assertTrue(self.lmp.version.result() in [20220623, 20230802, 20231121])
self.assertTrue(self.lmp.version.result() in [20220623, 20230802, 20231121, 20240207])

def test_extract_global(self):
self.assertEqual(
Expand Down
2 changes: 1 addition & 1 deletion tests/test_pylammpsmpi_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def test_extract_variable(self):
self.assertEqual(np.round(x, 2), 1.13)
x = self.lmp.extract_variable("fx", "all", 1)
if sys.version_info >= (3, 11):
self.assertEqual(len(x), 256)
self.assertTrue(len(x) in [256, 512])
self.assertEqual(np.round(x[0], 2), -0.26)

def test_scatter_atoms(self):
Expand Down

0 comments on commit 2a5adbf

Please sign in to comment.