-
Notifications
You must be signed in to change notification settings - Fork 8
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
openmmtools.mcmc - Potential energy is NaN after 0 attempts of integration with move LangevinSplittingDynamicsMove Attempting a restart... #82
Comments
In the YAML script above you have |
Same error using FIRE to minimize and with version 0.23.7. 2018-10-10 17:21:12,140: Using FIRE: tolerance 1.0 kJ/(nm mol) max_iterations 1000 And there also appears to be a compatibility issue between numpy and yank 0.23.7: YANK SelftestYank Version 0.23.7 Available OpenMM platforms: Valid OpenEye install not found Checking GPU Computed Mode (if present)... This warning is with numpy 1.14 and 1.15. |
The potential energies of your initial structures are very high ( |
I have met the same problem, has this been resolved? And anyone could provide a way to do a more proper minimization? |
For the Abl-imatinib example,
2018-10-10 15:10:01,246: Running _propagate_replica serially.
2018-10-10 15:10:13,854: WARNING - openmmtools.mcmc - Potential energy is NaN after 0 attempts of integration with move LangevinSplittingDynamicsMove Attempting a restart...
2018-10-10 15:10:22,762: WARNING - openmmtools.mcmc - Potential energy is NaN after 1 attempts of integration with move LangevinSplittingDynamicsMove Attempting a restart...
2018-10-10 15:10:31,666: WARNING - openmmtools.mcmc - Potential energy is NaN after 2 attempts of integration with move LangevinSplittingDynamicsMove Attempting a restart...
2018-10-10 15:10:40,587: WARNING - openmmtools.mcmc - Potential energy is NaN after 3 attempts of integration with move LangevinSplittingDynamicsMove Attempting a restart...
2018-10-10 15:10:49,501: WARNING - openmmtools.mcmc - Potential energy is NaN after 4 attempts of integration with move LangevinSplittingDynamicsMove Attempting a restart...
2018-10-10 15:10:58,428: ERROR - openmmtools.mcmc - Potential energy is NaN after 5 attempts of integration with move LangevinSplittingDynamicsMove Trying to reinitialize Context as a last-resort restart attempt...
Segmentation fault
Here is my input file.
options:
minimize: no
verbose: yes
default_number_of_iterations: 250
default_nsteps_per_iteration: 2500
temperature: 300kelvin
default_timestep: 2.0femtoseconds
platform: fastest
output_dir: implicit
resume_setup: no
resume_simulation: no
molecules:
Abl:
filepath: input/2HYY-pdbfixer.pdb
STI:
filepath: input/STI02.mol2
antechamber:
charge_method: null
solvents:
GBSA:
nonbonded_method: NoCutoff # Main definition of the nonbonded method
implicit_solvent: OBC2 # Onufriev-Bashford-Case GBSA model, name is related to Implicit solvents in OpenMM
systems:
Abl-STI:
receptor: Abl
ligand: STI
solvent: GBSA
leap:
parameters: [leaprc.protein.ff14SB, leaprc.gaff2, leaprc.water.tip3p]
protocols:
absolute-binding:
complex:
alchemical_path:
lambda_restraints: [0.00, 0.25, 0.50, 0.75, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.000, 1.00, 1.000, 1.00, 1.00]
lambda_electrostatics: [1.00, 1.00, 1.00, 1.00, 1.00, 0.95, 0.90, 0.85, 0.80, 0.75, 0.70, 0.65, 0.60, 0.55, 0.50, 0.45, 0.40, 0.35, 0.30, 0.25, 0.20, 0.15, 0.10, 0.05, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.000, 0.00, 0.000, 0.00, 0.00]
lambda_sterics: [1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 0.95, 0.90, 0.85, 0.80, 0.75, 0.70, 0.65, 0.60, 0.55, 0.50, 0.45, 0.40, 0.35, 0.30, 0.25, 0.20, 0.15, 0.10, 0.075, 0.05, 0.025, 0.01, 0.00]
solvent:
alchemical_path:
lambda_electrostatics: [1.00, 0.90, 0.80, 0.70, 0.60, 0.50, 0.40, 0.30, 0.20, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00]
lambda_sterics: [1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 0.90, 0.80, 0.70, 0.60, 0.50, 0.40, 0.30, 0.20, 0.10, 0.00]
experiments:
system: Abl-STI
protocol: absolute-binding
restraint:
type: Boresch
I modified and removed the Epik and OpenEye sections since I do not have either one of those programs installed on my system.
Any idea on what could be the problem? Is it an issue with MCMC samplers?
I am using Yank 0.23.4
YANK Selftest
Yank Version 0.23.4
Available OpenMM platforms:
0 Reference
1 CPU
2 CUDA
3 OpenCL
Valid OpenEye install not found
Not required, but please check install if you expected it
Checking GPU Computed Mode (if present)...
Found 4 NVIDIA GPUs in the following modes: [Default, Default, Default, Default]
These should all be in shared/Default mode for YANK to use them
YANK Selftest complete.
Thank you for using YANK!
The text was updated successfully, but these errors were encountered: