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

quick fix openm install and 8.2 version #1145

Merged
merged 23 commits into from
Dec 16, 2024
Merged

quick fix openm install and 8.2 version #1145

merged 23 commits into from
Dec 16, 2024

Conversation

VGPReys
Copy link
Contributor

@VGPReys VGPReys commented Nov 14, 2024

Checklist

  • Tests added for the new code
  • Documentation added for the code changes
  • Does not break licensing
  • Does not add any dependencies, if it does please add a thorough explanation

Summary of the Pull Request

  • Update OpenMM installation instructions
  • Small modification of the code to make sure implicit solvent still functional
  • Adding custom solution for chain break detection: It has been observed that chain breaks in the OpenMM module are making the simulation crash. Therefore we are now pre-processing the input files in the search of such breaks and adding TER statements between them, allowing to run the simulation without issues.

Related Issue

Closes #1144
Closes #1153

@VGPReys VGPReys self-assigned this Nov 14, 2024
@VGPReys VGPReys added the m|openmm Module to work with OpenMM label Nov 14, 2024
@VGPReys VGPReys requested review from mgiulini and a team November 18, 2024 09:25
docs/INSTALL.md Outdated Show resolved Hide resolved
docs/INSTALL.md Outdated Show resolved Hide resolved
mgiulini
mgiulini previously approved these changes Nov 18, 2024
src/haddock/modules/refinement/openmm/__init__.py Outdated Show resolved Hide resolved
docs/INSTALL.md Outdated Show resolved Hide resolved
docs/INSTALL.md Show resolved Hide resolved
@amjjbonvin
Copy link
Member

amjjbonvin commented Nov 18, 2024 via email

@VGPReys
Copy link
Contributor Author

VGPReys commented Nov 19, 2024

More complicated than what I thought...
conda-forge and pip do not behave the same.
deposited versions are not the same.
Something functional with conda is not with venv and vice-versa...
I am about to have two different installation instructions, depending on how haddock3 is installed.
Also they are constantly providing updates on their side...

@rvhonorato
Copy link
Member

rvhonorato commented Nov 19, 2024

More complicated than what I thought... conda-forge and pip do not behave the same. deposited versions are not the same. Something functional with conda is not with venv and vice-versa... I am about to have two different installation instructions, depending on how haddock3 is installed. Also they are constantly providing updates on their side...

It's 8.2 on both of them, your instructions are wrong - not the providers, you need to fix the version.

pip install openmm==8.2.0
conda install -c conda-forge openmm==8.2.0

@rvhonorato
Copy link
Member

I know you like to do things on trial-and-error instead of reading the documentation first, so just in case you have not yet spent some time trying to figure out with which version openmm 8.2 is compatible, you can find this information either in the package info on conda-forge (https://anaconda.org/conda-forge/openmm/files/modal/info/672eb96e41d1a787229656f8) or on pypi

docs/INSTALL.md Outdated Show resolved Hide resolved
docs/INSTALL.md Outdated Show resolved Hide resolved
@VGPReys
Copy link
Contributor Author

VGPReys commented Nov 19, 2024

Indeed good idea to specify the version/tag.

But I still do not understand why under conda I manage to install it with python3.9 and not for venv pip...

@VGPReys VGPReys requested a review from a team December 5, 2024 15:55
@VGPReys VGPReys enabled auto-merge December 16, 2024 11:11
@VGPReys VGPReys merged commit 5df3836 into main Dec 16, 2024
7 checks passed
@VGPReys VGPReys deleted the openmm-8-2-updates branch December 16, 2024 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
m|openmm Module to work with OpenMM
Projects
None yet
4 participants