question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error while running a multitarget designer

See original GitHub issue

I set up a multitarget designer calculation using an edited form of the Ablaffinitytestsystem class. It looks like the systems are being set up appropriately, but I keep getting the following error:

Minimizing 'explicit-src-imatinib'...
Initial energy is   -58550.422 kcal/mol
Final energy is    -137454.317 kcal/mol
Minimizing 'explicit-abl-imatinib'...
Initial energy is   -31761.928 kcal/mol
Final energy is     -31756.639 kcal/mol
********************************************************************************
MultiTargetDesign sampler iteration        0
================================================================================
SAMS sampler iteration     0
--------------------------------------------------------------------------------
Expanded Ensemble sampler iteration        0
................................................................................
MCMC sampler iteration 0
Taking 5 steps of Langevin dynamics...
potential  = -53268.502 kT
kinetic    = 757989197113.024 kT
force norm = 411813.866 kT/A/dof
Final energy is          nan kT
................................................................................
Updating chemical state with ncmc-geometry-ncmc scheme...
Proposing new topology...
Warning: MCS search truncated
No handlers could be found for logger "alchemy.alchemy"
Proposed transformation: Cc1ccc(cc1Nc2nccc(n2)c3cccnc3)NC(=O)c4ccc(cc4)C[NH+]5CCN(CC5)C => CN1CCC(CC1)COc2cc3c(cc2OC)c(ncn3)Nc4ccc(cc4F)Br
Generating new system...
Performing NCMC annihilation
Traceback (most recent call last):
  File "abl_src_affinity.py", line 215, in <module>
    system.designer.run(niterations=100)
  File "/cbio/jclab/home/albaness/miniconda/lib/python2.7/site-packages/perses-0.1-py2.7.egg/perses/samplers/samplers.py", line 1094, in run
    self.update()
  File "/cbio/jclab/home/albaness/miniconda/lib/python2.7/site-packages/perses-0.1-py2.7.egg/perses/samplers/samplers.py", line 1076, in update
    self.update_samplers()
  File "/cbio/jclab/home/albaness/miniconda/lib/python2.7/site-packages/perses-0.1-py2.7.egg/perses/samplers/samplers.py", line 1040, in update_samplers
    sampler.update()
  File "/cbio/jclab/home/albaness/miniconda/lib/python2.7/site-packages/perses-0.1-py2.7.egg/perses/samplers/samplers.py", line 956, in update
    self.update_sampler()
  File "/cbio/jclab/home/albaness/miniconda/lib/python2.7/site-packages/perses-0.1-py2.7.egg/perses/samplers/samplers.py", line 924, in update_sampler
    self.sampler.update()
  File "/cbio/jclab/home/albaness/miniconda/lib/python2.7/site-packages/perses-0.1-py2.7.egg/perses/samplers/samplers.py", line 799, in update
    self.update_state()
  File "/cbio/jclab/home/albaness/miniconda/lib/python2.7/site-packages/perses-0.1-py2.7.egg/perses/samplers/samplers.py", line 719, in update_state
    [ncmc_old_positions, ncmc_elimination_logp, potential_delete] = self.ncmc_engine.integrate(topology_proposal, positions, direction='delete')
  File "/cbio/jclab/home/albaness/miniconda/lib/python2.7/site-packages/perses-0.1-py2.7.egg/perses/annihilation/ncmc_switching.py", line 315, in integrate
    context.setPositions(initial_positions)
  File "/cbio/jclab/home/albaness/miniconda/lib/python2.7/site-packages/simtk/openmm/openmm.py", line 13580, in setPositions
    return _openmm.Context_setPositions(self, positions)
Exception: Particle coordinate is nan
Compute mode is already set to DEFAULT for GPU 0000:03:00.0.

Looks like I’m having trouble with the NCMC moves. The script that I’m using can be found here

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:26 (25 by maintainers)

github_iconTop GitHub Comments

1reaction
pgrinawaycommented, Apr 18, 2016

Ok. When I have a chance I’ll take a closer look at that case. I’m really hoping that this conference can shed some light on how to do this geometry stuff better + faster.

0reactions
pgrinawaycommented, Aug 11, 2016

I think this is fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting .NET Framework Targeting Errors - MSBuild
NET Framework applications, open Solution Explorer, choose Show All Files, and then edit the app.config file in the XML editor of Visual Studio....
Read more >
pytorch: "multi-target not supported" error message
For nn.CrossEntropyLoss the target has to be a single number from the interval [0, #classes] instead of a one-hot encoded target vector.
Read more >
Understanding and using the multi-target exporter pattern
By multi-target exporter pattern we refer to a specific design, in which: the exporter will get the target's metrics via a network protocol....
Read more >
Unknown error while running Database Designer.
Unknown error while running Database Designer. Design process may still be executing in the background. Designer did not run successfully
Read more >
Multi-Target Preparer | Android Open Source Project
Multi-Target Preparer. bookmark_border. Stay organized with collections Save and categorize content based on your preferences. Dismiss
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found