def done(self): charm.exit()
def doneReduction(self, result): assert result == 1 * self.nElements, "Reduction for dynamic array insertion failed." print("All done.") charm.exit()
def main(args): print("Charm program started on processor", charm.myPe()) print("Running on", charm.numPes(), "processors") charm.exit()
def report(self): charm.printStats() charm.exit()
def collectResult(self, result): print("Result is", result) charm.exit()
def done(self): charm.printStats() charm.exit()
def done(self): print("All done") charm.exit()
def done(self, hellos): print("All done " + str(hellos)) charm.exit()