--- trunk/src/parallel/ForceMatrixDecomposition.cpp 2015/03/03 15:22:26 2057 +++ trunk/src/parallel/ForceMatrixDecomposition.cpp 2015/03/03 16:24:44 2061 @@ -436,15 +436,16 @@ namespace OpenMD { void ForceMatrixDecomposition::distributeData() { + +#ifdef IS_MPI + snap_ = sman_->getCurrentSnapshot(); storageLayout_ = sman_->getStorageLayout(); - + bool needsCG = true; if(info_->getNCutoffGroups() != info_->getNAtoms()) needsCG = false; - -#ifdef IS_MPI - + // gather up the atomic positions AtomPlanVectorRow->gather(snap_->atomData.position, atomRowData.position);