I am attempting to parallelize a part of a large legacy software product using MPI.
I would like to start up a number of processes just as they are started now, and use one of them as a master taking care of the overall execution and the rest as workers each doing its share of the parallel part.
Hence the MPI connections should be established on the fly. The processes can be running on the same computer or on different blades. Theycan communicate through sockets, too. The solution should work on Windows platforms.
I have tried to find a sample for doing this but have not found one.
Can someone help me.