If I understood your question correctly, it's not really the MPI implementation's duty to solve this issue. You either have to copy the binaries to each machine manually or (more usually) each machine is given access to a common shared file system.
Hi,In open MPI, where are the binaries stored.Let's say I have a program P that adds the numbers in an array of length 10I want to distribute the execution between 2 computers A and BA adds from array to arrayB adds from array to arrayI understand that I have to tell mpi that machines A and B exist and that I want the processes to be exected as required.No problem with this, my confusion is in the implementation.lets say I am running the adding program P from machine C.When I execute the P program, how do computers A and B know what binary to execute? My binaries are in copmuter C!Does MPI copy the binaries to machines A and B from C? and then executes the program?How is the program P loaded to memory in A and B, is P stored on disk in A and B?Do I have to copy the P binaries in A and B prior to executing the program?When the program P has finished execution , what happens to the binaries.I have not found anything on the web to answer my questionThank you
devel mailing list