| 1 |  | /* | 
| 2 | < | * copyright (c) 2005 The University of Notre Dame. All Rights Reserved. | 
| 2 | > | * Copyright (c) 2005 The University of Notre Dame. All Rights Reserved. | 
| 3 |  | * | 
| 4 |  | * The University of Notre Dame grants you ("Licensee") a | 
| 5 |  | * non-exclusive, royalty free, license to use, modify and | 
| 46 |  | * @date 11/03/2004 | 
| 47 |  | * @version 1.0 | 
| 48 |  | */ | 
| 49 | + |  | 
| 50 | + | #ifdef IS_MPI | 
| 51 | + | #include "mpi.h" | 
| 52 | + | #include "math/ParallelRandNumGen.hpp" | 
| 53 | + | #endif | 
| 54 | + |  | 
| 55 |  | #include <exception> | 
| 56 |  | #include <iostream> | 
| 57 |  | #include <sstream> | 
| 89 |  | #include "types/FixedChargeAdapter.hpp" | 
| 90 |  | #include "types/FluctuatingChargeAdapter.hpp" | 
| 91 |  |  | 
| 86 | – | #ifdef IS_MPI | 
| 87 | – | #include "mpi.h" | 
| 88 | – | #include "math/ParallelRandNumGen.hpp" | 
| 89 | – | #endif | 
| 92 |  |  | 
| 93 |  | namespace OpenMD { | 
| 94 |  |  | 
| 106 |  | MPI::COMM_WORLD.Bcast(&mdFileVersion, 1, MPI::INT, masterNode); | 
| 107 |  | #endif | 
| 108 |  | SimplePreprocessor preprocessor; | 
| 109 | < | preprocessor.preprocess(rawMetaDataStream, filename, startOfMetaDataBlock, | 
| 108 | < | ppStream); | 
| 109 | > | preprocessor.preprocess(rawMetaDataStream, filename, startOfMetaDataBlock, ppStream); | 
| 110 |  |  | 
| 111 |  | #ifdef IS_MPI | 
| 112 |  | //brocasting the stream size |