-
Notifications
You must be signed in to change notification settings - Fork 53
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
AttributeError: module 'gromacs.tools' has no attribute 'Grompp' when using gmx_mpi
only
#262
Comments
I can't remember if your use case (only Are you able to run (in the shell) $ . /usr/local/gromacs/bin/GMXRC
$ gmx_mpi grompp -h If that doesn't work then |
I was able to run these lines without problems but the loading problem was still happening. I looked at the tools.py file to understand how the commands are loaded and it seemed it's just reading the output of However, I noticed when these commands are parsed, Here are the relevant lines of
|
I am glad that you managed to get it working. Do you have a suggestion how we could improve either the code or the documentation? If you want to update https://github.com/Becksteinlab/GromacsWrapper/blob/main/doc/sphinx/source/configuration.txt then that would be especially helpful. |
Like I mentioned in my first post, it would be useful to be able to change the base Gromacs command dynamically with a function in
|
I doubt that I myself will have time to do much on this issue in the near future. If you want to contribute code then please do and open a PR. I am happy to review it (just ping me with |
Thank you for offering the opportunity to contribute. I will be happy to write some code to hopefully make the package more portable. I am currently in a rush right now to write another code for my research. I'll ping you when I open the PR. |
Hi,
I am fairly new to using Gromacs and stumbled upon the
gromacswrapper
package, which I find super useful and well documented. I wanted to use some of the cookbook recipes, but I am not able to loadcbook
. Here is the error message I get when I try to importcbook
fromgromacs
:Here are my configurations in
~./gromacswrapper.cfg
.I only have one gromacs installation, which is the
_mpi
version. I noticed that all the attributes are suffixed with_mpi
. That seems to be the cause of the problem since python cannot find the non-suffixed version. Is there a way to use thegromacswrapper
classes in a gromacs-command-agnostic way? I would like to write one codebase that I can use for multiple gromacs installations without having to change the suffix of all the attributes that I am using.The text was updated successfully, but these errors were encountered: