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:
parent
33e062d166
commit
28ab2004ea
4 changed files with 84 additions and 28 deletions
|
|
@ -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() )
|
||||
|
|
|
|||
Reference in a new issue