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

Bug in masses passed to namd #162

Closed
GiovanniBussi opened this issue Jul 16, 2015 · 1 comment
Closed

Bug in masses passed to namd #162

GiovanniBussi opened this issue Jul 16, 2015 · 1 comment
Labels

Comments

@GiovanniBussi
Copy link
Member

See this thread:
https://groups.google.com/d/msgid/plumed-users/07f2a653-af03-42f6-905a-04c66da0679e%40googlegroups.com

Notice that since commit 73c5c8f (which is in 2.1.0 but not in 2.0.x) masses are taken into account by PLUMED only at the first step. I suspect that the masses passed after the first step are correct. This could mean that:

  1. In PLUMED 2.0 masses were wrong only at the first step
  2. Since PLUMED 2.1 masses are wrong during the whole simulation.
    Perhaps that's why we did not notice the problem.
@GiovanniBussi GiovanniBussi changed the title But in masses passed to namd Bug in masses passed to namd Jul 16, 2015
@GiovanniBussi
Copy link
Member Author

As discussed here it is possible to avoid re-patching and re-compiling namd just by adding in the input file something like
DUMPATOMS ATOMS=1-10000 STRIDE=5000000 FILE=test.xyz
Here 10000 is the number of atoms of the system and 500000 is larger than the number of simulation steps.
This however does not fix the problem on charges.

GiovanniBussi added a commit that referenced this issue Feb 17, 2016
This is related to the closed issue #162

I think that with standard usage of PLUMED all the actions should be
active at step zero, and so all the masses and charges should be requested
to codes like NAMD or OPENMM. Anyway,this fix will double check for it
adding an overhead only at the first simulation step.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant