--- trunk/src/brains/SimCreator.cpp 2013/06/16 15:15:42 1879 +++ trunk/src/brains/SimCreator.cpp 2013/10/31 15:32:17 1938 @@ -1,5 +1,5 @@ /* - * copyright (c) 2005 The University of Notre Dame. All Rights Reserved. + * Copyright (c) 2005 The University of Notre Dame. All Rights Reserved. * * The University of Notre Dame grants you ("Licensee") a * non-exclusive, royalty free, license to use, modify and @@ -46,6 +46,12 @@ * @date 11/03/2004 * @version 1.0 */ + +#ifdef IS_MPI +#include "mpi.h" +#include "math/ParallelRandNumGen.hpp" +#endif + #include #include #include @@ -83,10 +89,6 @@ #include "types/FixedChargeAdapter.hpp" #include "types/FluctuatingChargeAdapter.hpp" -#ifdef IS_MPI -#include "mpi.h" -#include "math/ParallelRandNumGen.hpp" -#endif namespace OpenMD { @@ -104,8 +106,7 @@ namespace OpenMD { MPI::COMM_WORLD.Bcast(&mdFileVersion, 1, MPI::INT, masterNode); #endif SimplePreprocessor preprocessor; - preprocessor.preprocess(rawMetaDataStream, filename, startOfMetaDataBlock, - ppStream); + preprocessor.preprocess(rawMetaDataStream, filename, startOfMetaDataBlock, ppStream); #ifdef IS_MPI //brocasting the stream size