Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plumed AlphaFold
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Kurečka
Plumed AlphaFold
Commits
1bd67c00
There was an error fetching the commit references. Please try again later.
Commit
1bd67c00
authored
9 years ago
by
Giovanni Bussi
Browse files
Options
Downloads
Plain Diff
Merge branch 'v2.1' into v2.2
parents
1dedccb8
922f253a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGES/v2.1.txt
+6
-0
6 additions, 0 deletions
CHANGES/v2.1.txt
patches/namd-2.8.diff
+3
-3
3 additions, 3 deletions
patches/namd-2.8.diff
patches/namd-2.9.diff
+3
-3
3 additions, 3 deletions
patches/namd-2.9.diff
with
12 additions
and
6 deletions
CHANGES/v2.1.txt
+
6
−
0
View file @
1bd67c00
...
@@ -221,6 +221,12 @@ Unreleased changes (will be included in 2.1.4)
...
@@ -221,6 +221,12 @@ Unreleased changes (will be included in 2.1.4)
See branch \branch{v2.1} on git repository.
See branch \branch{v2.1} on git repository.
For users:
For users:
- Fixed NAMD patch. Masses and charges were not passed correctly, thus resulting in wrong
\ref COM or \ref CENTER with MASS.
This fix required repatching NAMD.
Notice that this bug was present also in v2.0 but in a different form.
More information here (\issue{162}), including a workaround that allows masses to be fixed
without repatching.
- Fixed erroneously reported message about MPI at the end of ./configure.
- Fixed erroneously reported message about MPI at the end of ./configure.
- Changed warning message about undocumented components.
- Changed warning message about undocumented components.
- PLUMED now says in the log file if it was compiled from a dirty git repository.
- PLUMED now says in the log file if it was compiled from a dirty git repository.
...
...
This diff is collapsed.
Click to expand it.
patches/namd-2.8.diff
+
3
−
3
View file @
1bd67c00
...
@@ -128,8 +128,8 @@ patch -u -l -b -F 5 --suffix=.preplumed "./src/ComputeMgr.C" << \EOF_EOF
...
@@ -128,8 +128,8 @@ patch -u -l -b -F 5 --suffix=.preplumed "./src/ComputeMgr.C" << \EOF_EOF
+ positions[3*i+0]=coord.x;
+ positions[3*i+0]=coord.x;
+ positions[3*i+1]=coord.y;
+ positions[3*i+1]=coord.y;
+ positions[3*i+2]=coord.z;
+ positions[3*i+2]=coord.z;
+ masses[i]=Node::Object()->molecule->atommass(i);
+ masses[i]=Node::Object()->molecule->atommass(i
ndex[i]
);
+ charges[i]=Node::Object()->molecule->atom
mass(i
);
+ charges[i]=Node::Object()->molecule->atom
charge(index[i]
);
+ };
+ };
+
+
+ if(spar->lattice.volume()>0.0){
+ if(spar->lattice.volume()>0.0){
...
@@ -141,7 +141,7 @@ patch -u -l -b -F 5 --suffix=.preplumed "./src/ComputeMgr.C" << \EOF_EOF
...
@@ -141,7 +141,7 @@ patch -u -l -b -F 5 --suffix=.preplumed "./src/ComputeMgr.C" << \EOF_EOF
+
+
+ for(int i=0;i<forces.size();i++) forces[i]=0.0;
+ for(int i=0;i<forces.size();i++) forces[i]=0.0;
+
+
+ cmd("setMasses",&masses[0]);
+ cmd("setMasses",&masses[0]);
cmd("setCharges",&charges[0]);
+ cmd("setPositions",&positions[0]);
+ cmd("setPositions",&positions[0]);
+ cmd("setForces",&forces[0]);
+ cmd("setForces",&forces[0]);
+
+
...
...
This diff is collapsed.
Click to expand it.
patches/namd-2.9.diff
+
3
−
3
View file @
1bd67c00
...
@@ -127,8 +127,8 @@ patch -u -l -b -F 5 --suffix=.preplumed "./src/ComputeMgr.C" << \EOF_EOF
...
@@ -127,8 +127,8 @@ patch -u -l -b -F 5 --suffix=.preplumed "./src/ComputeMgr.C" << \EOF_EOF
+ positions[3*i+0]=coord.x;
+ positions[3*i+0]=coord.x;
+ positions[3*i+1]=coord.y;
+ positions[3*i+1]=coord.y;
+ positions[3*i+2]=coord.z;
+ positions[3*i+2]=coord.z;
+ masses[i]=Node::Object()->molecule->atommass(i);
+ masses[i]=Node::Object()->molecule->atommass(i
ndex[i]
);
+ charges[i]=Node::Object()->molecule->atom
mass(i
);
+ charges[i]=Node::Object()->molecule->atom
charge(index[i]
);
+ };
+ };
+
+
+ if(spar->lattice.volume()>0.0){
+ if(spar->lattice.volume()>0.0){
...
@@ -140,7 +140,7 @@ patch -u -l -b -F 5 --suffix=.preplumed "./src/ComputeMgr.C" << \EOF_EOF
...
@@ -140,7 +140,7 @@ patch -u -l -b -F 5 --suffix=.preplumed "./src/ComputeMgr.C" << \EOF_EOF
+
+
+ for(int i=0;i<forces.size();i++) forces[i]=0.0;
+ for(int i=0;i<forces.size();i++) forces[i]=0.0;
+
+
+ cmd("setMasses",&masses[0]);
+ cmd("setMasses",&masses[0]);
cmd("setCharges",&charges[0]);
+ cmd("setPositions",&positions[0]);
+ cmd("setPositions",&positions[0]);
+ cmd("setForces",&forces[0]);
+ cmd("setForces",&forces[0]);
+
+
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment