Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR when running CPM in triclinic box: #1100

Open
andresordorica opened this issue Apr 7, 2023 · 2 comments
Open

ERROR when running CPM in triclinic box: #1100

andresordorica opened this issue Apr 7, 2023 · 2 comments
Assignees

Comments

@andresordorica
Copy link

data.write("{0:.6f} {1:.6f} {2:6f} xy xz yz\n".format(xy, xz, yz))

Even though the box has no tilt, this lines makes the modify kspace throw an error, in case the tilt is 0.0 0.0 0.0 this line should be omitted.

@daico007
Copy link
Member

daico007 commented Apr 7, 2023

Good catch, I will have a PR to fix this by next Monday unless you beat me to it.

@daico007 daico007 self-assigned this Apr 7, 2023
@daico007
Copy link
Member

I was checking the lammpsdata.py (so the lammps writer), so there's actually already a check in place to handle the orthogonal box (https://github.com/mosdef-hub/mbuild/blob/main/mbuild/formats/lammpsdata.py#L1096-L1109), can you provide a minimal working example of the system when you encounter the error? There might be something else wrong with the box I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants