MpiJob now just deal with loop logic, not with handled data. Handled data is now handled by the MpiJob subclasses. Tests updated.

This commit is contained in:
Benjamin Bouvier 2012-06-21 18:26:56 +02:00
commit 28ab2004ea
4 changed files with 84 additions and 28 deletions

View file

@ -33,7 +33,7 @@ int main(int argc, char** argv)
cout << "Création du job..." << endl;
ParallelApply<int> job( plusOneInstance, v, algo, 0 );
Role<int> node( job );
Role node( job );
node.run();
if( node.master() )