--- branches/development/src/parallel/Communicator.hpp 2011/11/22 20:38:56 1665 +++ trunk/src/parallel/Communicator.hpp 2012/09/10 18:38:44 1796 @@ -72,8 +72,8 @@ namespace OpenMD{ static int Length() { return 1; }; }; - template<> inline MPI::Datatype MPITraits::Type() { return MPI_INT; } - template<> inline MPI::Datatype MPITraits::Type() { return MPI_REALTYPE; } + template<> inline MPI::Datatype MPITraits::Type() { return MPI::INT; } + template<> inline MPI::Datatype MPITraits::Type() { return MPI::REALTYPE; } template class MPITraits< Vector > { @@ -120,7 +120,6 @@ namespace OpenMD{ if (nProc % i == 0) nColumns = i; } - int nRows = nProc / nColumns; rowIndex_ = myRank / nColumns; columnIndex_ = myRank % nColumns;