Yes Tim it's along these lines,
I see, so if I understand correctly we have two options:
1-Using a network file system (it will be the file system's responsibility
to export P binaries from C to A and B)
2-manually copy the binaries to the machines that will be executing the
program P (in this case machine A and machine B)
Since in my case I will not use a distributed file system I will have to go
for option 2.
I will have to write a script that updates machines A and B each time P is
So just to clarify, what you mean is that the P binaries HAVE to reside in
machines A and B prior to execution of P from machine C?
On Mon, Mar 22, 2010 at 11:06 AM, Timothy Hayes <hayesti_at_[hidden]> wrote:
> 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.
> On 22 March 2010 15:42, herbey zepeda <zepedaherbey_at_[hidden]> wrote:
>> 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
>> I want to distribute the execution between 2 computers A and B
>> A adds from array to array
>> B adds from array to array
>> 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
>> 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
> devel mailing list