Hi, I have a program, that is been implemented in C++, now I want to add MPI support. The point is exist a MPI bind for C++, with namespace MPI and everything. In my case I have a specific object that is suitable to be the parallelized process into the cluster.
Question, does anyone already did something like this ? Can give some advices ? How to best implement this ? How to start the MPI inside the constructor ? After start the MPI inside the constructor of the Class, all the intermediate calls will be parallelized too ? e.g., MyClass obj;
x =x; //this will be parallelized ? onj.calc();
y = x++; //this will be parallelized ?
z = obj.result();
Thanks for any help.