| 591 | 
  | 
    info->setMolToProcMap(molToProcMap); | 
| 592 | 
  | 
    sprintf(checkPointMsg, | 
| 593 | 
  | 
            "Successfully divided the molecules among the processors.\n"); | 
| 594 | 
< | 
    MPIcheckPoint(); | 
| 594 | 
> | 
    errorCheckPoint(); | 
| 595 | 
  | 
  } | 
| 596 | 
  | 
   | 
| 597 | 
  | 
#endif | 
| 777 | 
  | 
  startingIndex += numIntegrableObjectsPerMol[i]; | 
| 778 | 
  | 
 } | 
| 779 | 
  | 
 | 
| 780 | 
– | 
 std::cerr << "nGIO = " << info->getNGlobalIntegrableObjects() << "\n"; | 
| 780 | 
  | 
 std::vector<StuntDouble*> IOIndexToIntegrableObject(info->getNGlobalIntegrableObjects(), (StuntDouble*)NULL); | 
| 781 | 
  | 
 for (mol = info->beginMolecule(mi); mol != NULL; mol = info->nextMolecule(mi)) { | 
| 782 | 
  | 
      int myGlobalIndex = mol->getGlobalIndex(); | 
| 783 | 
  | 
      int globalIO = startingIOIndexForMol[myGlobalIndex]; | 
| 785 | 
– | 
      std::cerr << "myGlobalIndex = " << myGlobalIndex << " globalIO = " << globalIO << "\n"; | 
| 784 | 
  | 
      for (StuntDouble* integrableObject = mol->beginIntegrableObject(ioi); integrableObject != NULL; | 
| 785 | 
  | 
           integrableObject = mol->nextIntegrableObject(ioi)) { | 
| 786 | 
  | 
            integrableObject->setGlobalIntegrableObjectIndex(globalIO); |