Re: [mpich-discuss] How to use MPI on two computers
Thanks for your respond. I have ssh connection. Now my question is how can I create this machine file? with hostnameA do you mean something like this: user@computername:"number of proccess" ? On Thu, Apr 24, 2014 at 3:19 PM, Lu, Huiwei <[email protected]> wrote:
The easiest way of installing MPI on Ubuntu is by ‘sudo apt-get install mpich’. As long as these two machines can ssh to each other, MPI can be used to connect them. To use multiple machines, you need to create a machine file like: //machinefile: hostnameA hostnameB Then if you run MPI using ‘mpiexec -f machinefile -n 2 ./example/cpi’, the application ‘cpi’ will run on both machines and communication through MPI.
For more details, please refer to https://www.mpich.org/static/downloads/3.1/mpich-3.1-userguide.pdf for more information.
— Huiwei Lu Postdoc Appointee Mathematics and Computer Science Division, Argonne National Laboratory http://www.mcs.anl.gov/~huiweilu/
On Apr 24, 2014, at 7:39 AM, ehsan saei <[email protected]> wrote:
Dear community,
I have to PCs with ubuntu 12.04 installed on them. How can I use MPI on these machines? Is it possible to connect them without router? It would be grateful if you guide me.
Thanks in advance, Ehsan _______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
participants (1)
-
ehsan saei