--- trunk/OOPSE/libmdtools/mpiSimulation.cpp 2003/04/03 20:21:54 447 +++ trunk/OOPSE/libmdtools/mpiSimulation.cpp 2003/08/20 22:23:34 708 @@ -66,7 +66,7 @@ int* mpiSimulation::divideLabor( void ){ int nmol_global, natoms_global; int local_index, index; int smallDiff, bigDiff; - int baseSeed = BASE_SEED; + int baseSeed = entryPlug->getSeed(); int testSum; @@ -82,6 +82,7 @@ int* mpiSimulation::divideLabor( void ){ mpiPlug->nSRIGlobal = entryPlug->n_SRI; mpiPlug->nMolGlobal = entryPlug->n_mol; + myRandom = new randomSPRNG( baseSeed ); a = 3.0 * (double)mpiPlug->nMolGlobal / (double)mpiPlug->nAtomsGlobal;