Comments (5)
After trying many things, increasing the friction coefficient to 1/ps seems to make this PBC issue go away. I am not yet fully convinced that it's not a coincidence, but the more simulations I run with this friction coefficient, the more I'm confident that it's the case.
from openmm.
Hopefully that's all it takes. For what it's worth, 1/ps is the default value I usually recommend. Your previous value of 0.01/ps is tiny. It takes hundreds of picoseconds to exchange energy between the system and the heat bath. That doesn't make it less accurate, but it does mean any inaccuracy in the simulation (like from the finite time step) has a lot more opportunity to cause problems.
from openmm.
Could such an error occur because of a very low constraint tolerance (maybe the integrator is doing something crazy to enforce a desired temperature)? I noticed that mine is 1e-8, while others in these posts have used tolerances of 1e-5 or 1e-6.
from openmm.
Your code uses mixed precision, right? If so, it shouldn't be a problem. 1e-8 is smaller than it's possible to achieve in single precision, which in that case could lead to problems. But in mixed precision the only issue would be slower performance since it needs more iterations to converge the constraints.
from openmm.
It seems like this could be a CVPack issue, rather than an openmm issue... when I added a new "force" through CVPack that simply keeps track of certain distances [ cvpack.Distance( ... , pbc=True) ], these errors started popping up again decently often.
from openmm.
Related Issues (20)
- Charge flux in openmm HOT 3
- modeller.addSolvent error with residue templates and non-standard residues HOT 3
- Protein PDB File Loading Problem (ValueError: No template found for residue) HOT 1
- Massless atoms destroying/altering motion of system HOT 3
- TypeError in custom integrator despite correct type HOT 8
- No template found issue for C-terminal residues HOT 6
- Overflow in force calculation HOT 2
- problem [ virtural_site3 ] from GROMACS files HOT 7
- NaN forces with CustomCentroidBondForce as collective variable in CustomCVForce HOT 2
- Python wrapper: install in `CMAKE_INSTALL_PREFIX` HOT 6
- Martini simulation with no output HOT 6
- OpenMMException: Particle coordinate is nan when multiple GPUs are used HOT 6
- OpenMM 8.1.1 on Summit failing CUDA specific make tests HOT 4
- Which charmm36 forcefield version is loaded by default? HOT 3
- Interaction energy HOT 3
- big energy expression leads to wrong energies with GPU HOT 1
- Numerical problem causing NaN in energy calculation of CustomNonbondedForce HOT 1
- Pair-Energy Reporter in OpenMM HOT 1
- Modelling System with Peptide
- Incorrect Potential Energy with MonteCarloFlexibleBarostat
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openmm.