I would like to ask if someone knows a boost::mpi documentation for beginners? (i already read Boost.MPI documentation from the Internet site).
a bit about my system, i have a claster of about 90 knots, each knot have two CPU with two cores (4 cores together) and 4Gb ram.
i would like to define shared memory to each knot and there store a vector std::vector<bool> occupation;
. Then each process need to compute something based on his rank()
number.
Now, all the multi Process need to wait until all the cores are done computing and then send a vector, std::vector<uint32_t> remove;
, to the main process (rank() == 0
) which will update vector occupation
and then send to all the knots the new occupation
vector.
It could be that it would better to use simply mpi.h
instead of boost::mpi
.
I would like to hear your opinion, since i don't have experience in this area of MPI.