Search found 22 matches

by Alexej Jerschow
Sat Jan 13, 2024 6:28 pm
Forum: OpenMM
Topic: NetCDFReporter issue
Replies: 2
Views: 1211

Re: NetCDFReporter issue

Thank you!
by Alexej Jerschow
Sat Jan 13, 2024 2:32 pm
Forum: OpenMM
Topic: NetCDFReporter issue
Replies: 2
Views: 1211

NetCDFReporter issue

I am using the parmed.openmm.NetCDFReporter to write NetCDF files (.nc extension), but they cannot be opened in VMD, and MDAnalysis also produces the following error: TypeError: NCDF trajectory .... does not conform to AMBER specifications, as detailed in https://ambermd.org/netcdf/nctraj.xhtml (Net...
by Alexej Jerschow
Sat Jan 13, 2024 2:29 pm
Forum: OpenMM
Topic: context.setPositions does not update positions
Replies: 5
Views: 1815

Re: context.setPositions does not update positions

Thank you very much! This worked, I combined the atoms in the modeler before creating the simulation.
Alexej
by Alexej Jerschow
Mon Jan 08, 2024 11:34 am
Forum: OpenMM
Topic: context.setPositions does not update positions
Replies: 5
Views: 1815

Re: context.setPositions does not update positions

Also tried just now to set positions before first setting positions (so I guess that means before context is created?).
That also does not assign the proper positions to the added particles.
Alexej
by Alexej Jerschow
Mon Jan 08, 2024 10:59 am
Forum: OpenMM
Topic: context.setPositions does not update positions
Replies: 5
Views: 1815

Re: context.setPositions does not update positions

Indeed, that could be the reason, but it was not clear to me how I can add particles without having a system.

Currently I am using system.addParticle, and later I was planning to add a nonbonding force only.

How would you suggest to add the particles before system?

Thank you
by Alexej Jerschow
Mon Jan 08, 2024 10:37 am
Forum: OpenMM
Topic: context.setPositions does not update positions
Replies: 5
Views: 1815

context.setPositions does not update positions

I am trying to do setPositions for additional particles added, but they are not updated, see code below (using OpenMM 7.7). What could be the problem? Thank you! Alexej from openff.toolkit.topology import Molecule from openmmforcefields.generators import GAFFTemplateGenerator from openmm import * fr...
by Alexej Jerschow
Mon Nov 06, 2023 12:37 pm
Forum: OpenMM
Topic: thermodynamic integration
Replies: 0
Views: 414

thermodynamic integration

Can you recommend good tutorials or sample codes for implementing thermodynamic integration with OpenMM?
Thank you
Alexej
by Alexej Jerschow
Tue Apr 25, 2023 6:52 am
Forum: OpenMM
Topic: alchemical tutorial, OpenMM 8.0 problem
Replies: 0
Views: 279

alchemical tutorial, OpenMM 8.0 problem

The alchemical tutorial https://openmm.org/tutorials works fine in OpenMM 7.7, but inn OpenMM 8.0 produces the error below. Is there an easy fix, or is it better to keep using OpenMM 7.7 for now? --------------------------------------------------------------------------- OpenMMException Traceback (m...
by Alexej Jerschow
Sun Apr 23, 2023 9:09 am
Forum: OpenMM
Topic: test particle insertion method
Replies: 5
Views: 721

Re: test particle insertion method

Thank you. In terms of efficiency, it seems that it will be best to first run a full simulation without the particle (or with the nonbonding interactions turned off), and then loop through the trajectory, and recompute the change in energy for a subset of time steps and random positions of the test ...
by Alexej Jerschow
Sat Apr 22, 2023 9:51 am
Forum: OpenMM
Topic: test particle insertion method
Replies: 5
Views: 721

Re: test particle insertion method

Super! Thank you so much! I will try this.