Skip to content

Inconsistent pressure in NVT runs between LAMMPS and ASE - which one to trust? #345

Answered by Linux-cpp-lisp
casteln asked this question in Q&A
Discussion options

You must be logged in to vote

Hi all, sorry for my late response here and thanks @ssrokyz for chiming in!!

Yes, I would suspect that this is the case. You can see how in the pair_nequip unit tests we ask LAMMPS for the stress tensor (not the virial, but still without the temperature / kinetic term) which is what we compare to the output from ASE:
https://github.com/mir-group/pair_nequip/blob/stress/tests/test_python_repro.py#L148-L152
and
https://github.com/mir-group/pair_nequip/blob/stress/tests/test_python_repro.py#L317-L344

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@casteln
Comment options

@ssrokyz
Comment options

@casteln
Comment options

@Linux-cpp-lisp
Comment options

Answer selected by casteln
@casteln
Comment options

@Linux-cpp-lisp
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants