[mpich-discuss] mpich2-1.4.1p1 - Installation

Rajeev Thakur thakur at mcs.anl.gov
Tue Feb 28 14:38:40 CST 2012


-n refers to the number of processes you want to start.

See http://wiki.mcs.anl.gov/mpich2/index.php/Using_the_Hydra_Process_Manager#Quick_Start

Rajeev


On Feb 28, 2012, at 6:15 AM, Bernardo Augusto García Loaiza wrote:

> Thanks Rajeev,
> 
> Yhen my machinefile file, is well formed?
> 
> The parameter -n ,  reference to number of machines or nodes in the cluster?
> 
> Thanks for your help :)
> 
> 
> Bernardo Augusto García Loaiza
> Ingeniero de Sistemas 
> Estudiante de Maestría en Ingeniería Informática - Universidad EAFIT
> http://about.me/bgarcial
> 
> 
> 
> 
> On Mon, Feb 27, 2012 at 7:44 PM, Rajeev Thakur <thakur at mcs.anl.gov> wrote:
> The machinefile should be in the directory from where you are running the mpiexec command, or you can give the full path to the machinefile. You need to be able to ssh from one machine to the other.
> 
> 
> On Feb 27, 2012, at 5:05 PM, Bernardo Augusto García Loaiza wrote:
> 
> > My machine file content is
> >
> > sistemas.eafit.edu.co:4
> > slave-1:2
> > slave-2:2
> >
> >
> > Thanks for your help, Best Regards again.
> >
> > Bernardo Augusto García Loaiza
> > Ingeniero de Sistemas
> > Estudiante de Maestría en Ingeniería Informática - Universidad EAFIT
> > http://about.me/bgarcial
> >
> >
> >
> >
> > 2012/2/27 Bernardo Augusto García Loaiza <botibagl at gmail.com>
> > Dear friends of Mathematics and Computer Science Division Argonne National Laboratory
> >
> > I am installing mpich2 for paralell procesing practice.
> >
> > I took the following guide http://www.mcs.anl.gov/research/projects/mpich2/documentation/files/mpich2-1.4.1-installguide.pdf
> >
> > In the page 5, you speak about of create a file named machinefile, wich content is the list of hosts in the cluster.
> > This file must be created in any particular path? What is the location?
> >
> > I was installed mpich2 in tres hosts (one master and two workers), building the package file.
> >
> > When i enter the instruction mpiexec -n 3 -f machinefile /usr/local/mpich2-1.4.1p1/examples/cpi
> >
> > where:
> >
> >       • The machinefile file is located in /root/ in all hosts in the cluster.
> >       • -n 3 make reference to the number of hosts in the cluster. It's correct? or -n 3 make reference to the cores in each host?
> >
> > The output of  mpiexec -n 3 -f machinefile /usr/local/mpich2-1.4.1p1/examples/cpi is :
> >
> > <Picture 10.png>
> >
> > When i enter the instruction mpiexec -n 6 -f machinefile /usr/local/mpich2-1.4.1p1/examples/cpi , the output is:
> >
> > <Picture 8.png>
> >
> > The system try setup connection through ssh with other hosts, but wait and fail.
> >
> > I appreciate your valuable help and collaboration.
> > Best Regards
> >
> >
> > Bernardo Augusto García Loaiza
> > Ingeniero de Sistemas
> > Estudiante de Maestría en Ingeniería Informática - Universidad EAFIT
> > http://about.me/bgarcial
> >
> >
> >
> > _______________________________________________
> > mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> > To manage subscription options or unsubscribe:
> > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> 
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> 
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



More information about the mpich-discuss mailing list