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

Interactive LAMMPS has the wrong working directory #1165

Open
jan-janssen opened this issue Sep 15, 2023 · 0 comments
Open

Interactive LAMMPS has the wrong working directory #1165

jan-janssen opened this issue Sep 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jan-janssen
Copy link
Member

As discussed today with @pmrv in the pyiron Q&A session when pyiron is executed in interactive mode, then the working directory of pyiron is in the directory of the jupyter notebook and not the working directory of the calculation. This only happens in serial (job.server.cores = 1) and interactive job.server.run_mode.interactive = True, because for this special case we use LAMMPS directly rather than using the pylammpsmpi interface. The easy way to address this challenge would be to always use the pylammpsmpi interface, but I guess we want to maintain backwards compatibility to the LAMMPS library to simplify the debugging.

https://github.com/pyiron/pyiron_atomistics/blob/main/pyiron_atomistics/lammps/interactive.py#L239

@jan-janssen jan-janssen added the bug Something isn't working label Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant