diff --git a/src/multicolvar/AdjacencyMatrixAction.cpp b/src/multicolvar/AdjacencyMatrixAction.cpp index 2f795272a6696a7ff099348a9021798e27174d9f..e9336afb1fbd65b76ea36b51103b514fe6f2c02c 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