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 modified. 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? thank you herbey On Mon, Mar 22, 2010 at 11:06 AM, Timothy Hayes <haye...@tcd.ie> 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. > > 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 >> > > > _______________________________________________ > devel mailing list > de...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/devel >