Hi All,
I would like to implement my OOP C++ in computer cluster. But I dont know exactly how to do this. I am very new to this parallel computation. I tried as follows,
Code:#include ..... #include <mpi.h> int main(int nargs, char** args) { int size, my_rank; MPI_Init (&nargs, &args); MPI_Comm_size (MPI_COMM_WORLD, &size); MPI_Comm_rank(MPI_COMM_WORLD, &my_rank); //here I want to run three different independent job make_pov(); make_avs(); make_vrml(); MPI_Finalize (); return 0; }
Actually this is my first try, please give me how to do this job correctly with little explanation.
Thanks a lot in advance..
Sitha.
Edit/Delete Message




Reply With Quote