From 6ccd9da8321aa37d9116a5d326cc126b37538c3b Mon Sep 17 00:00:00 2001
From: Gareth Tribello <gt@eider.phy.qub.ac.uk>
Date: Mon, 23 Jun 2014 10:57:28 +0100
Subject: [PATCH] Fixed bug in SPRINT collective variables

---
 src/multicolvar/AdjacencyMatrixAction.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/multicolvar/AdjacencyMatrixAction.cpp b/src/multicolvar/AdjacencyMatrixAction.cpp
index 2f795272a..e9336afb1 100644
--- a/src/multicolvar/AdjacencyMatrixAction.cpp
+++ b/src/multicolvar/AdjacencyMatrixAction.cpp
@@ -77,6 +77,7 @@ tmpdf(1)
   buildAtomListWithPairs( true );
   // Build active elements array
   for(unsigned i=0;i<getFullNumberOfTasks();++i) active_elements.addIndexToList( i );
+  active_elements.setupMPICommunication( comm );
 
   if( getNumberOfVessels()!=0 ) error("there should be no vessel keywords");
   // Create the storeAdjacencyMatrixVessel
-- 
GitLab