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.

Tim

On 22 March 2010 15:42, herbey zepeda <zepedaher...@gmail.com> wrote:

> 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 10
> I want to distribute the execution between 2 computers A and B
> A adds from array[0] to array[4]
> B adds from array[5] to array[9]
>
> I 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 question
>
> Thank you
>
>
>
> _______________________________________________
> devel mailing list
> de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>

Reply via email to