-
Notifications
You must be signed in to change notification settings - Fork 23
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
install plugin with custom versions openMM #57
Comments
Here are the instructions: https://github.com/openmm/openmm-plumed#installing-the-plugin |
Thanks so much! |
Hi,
No such file or directory please, can help me. |
@PedroHuertaRoque is any reason to build the plugin from the source rather than using |
That suggests that |
Has anyone made progress on this? I have to compile plumed from source since I need a non-standard feature, so I assume that I need to install the plugin from source too. I have openmm installed from conda so I set OPENMM_DIR to "~/miniconda3/envs/openmm-plumed/include", which contains "openmm/OpenMMException.h". grepping "OPENMM_DIR" shows that the path is correctly set in CMakeCache.txt, but CMakeLists.txt seems to both have an incorrect path (/usr/local/openmm) and the directory structure doesn't match the conda installation. (include and lib aren't in the OPENMM_DIR) Is there a way to install plumed and the plugin with openmm from conda or do I need to install the whole stack from scratch? UPDATE Installing with OpenMM compiled from source worked. I did have to use "/path_to_plumed/plumed/include/plumed" for PLUMED_INCLUDE_DIR rather than "/path_to_plumed/plumed/include" as I would have expected. |
A while ago I wrote this. Not sure if still relevant. https://github.com/giorginolab/miniomm/wiki/4.-Installing-OpenMM-Plumed-plugin |
I think you want to set The value set in CMakeLists.txt is just the default. It gets overridden by whatever value you choose. |
Thanks for your help, both! Attacking the problem on two fronts. I have separate conda environments for each, but currently have shared openmm-plumed and plumed installations. First, trying to install everything from source. Using both my settings and @tonigi's, everything compiles OK, however I get a CUDA_ERROR_UNSUPPORTED_PTX_VERSION when I try to run the CUDA tests. According to this post, it could be a CUDA version incompatibility. I'm running driver 470.182.03 and and just installed CUDA 11.4 which, according to the table @peastman referenced in that thread, should be compatible, but I still get the error. (and they ship together according to our network admin) I'm also trying to get the conda installation working. @peastman's suggestion worked to install the plugin, however, when I run "make PythonInstall", I get: $ make PythonInstall and python can't find openmmplumed. (the installation does work otherwise, including on the GPU) I know nothing about swig so let me know what other information I can provide. |
The The |
thanks @peastman! I compiled everything on my local machine with cuda 11.8 and driver 520 and, as you predicted, the CUDA error went away. I'm now running into a problem making the openmm-plumed python installation: $ make PythonInstall I assume make just isn't looking in the right place or something simple like that since Context.h is located in CMAKE_INSTAL_PREFIX/include/openmm as I would expect. |
hi,
I like install plumed plugin with last version of openMM (7.7), but not have clear as make it task.
please, can help me.
The text was updated successfully, but these errors were encountered: