Archives


- Beowulf
- Beowulf Announce
- Scyld-users
- Beowulf on Debian

[Beowulf] ask about mpich

Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.

Search

Dmitry Zaletnev dzaletnev at yandex.ru
Fri Nov 27 23:27:04 PST 2009


MPICH2 condensed instructions:

mpd daemon ring setup (MPICH2 installed supposed)

1. At all nodes:
cd $HOME
touch .mpd.conf
chmod 600 .mpd.conf
nano .mpd.conf
(if there's no nano - aptitude install nano)
Enter in the file:
MPD_SECRETWORD=_secretword_
_secretword_ must be the same at all nodes
2. At all nodes in /etc/hosts as root enter all nodes IP's, for the current node 127.0.0.1 change by its actual IP.
3. At head node run:
mpd &
mpdtrace -l

Get _host_ _ _port_
4. At slave nodes run
mpd -h _host_ -p _port_ &
5. See if the daemon ring started by running
mpdtrace

Running mpiexec (2 examples)

1. mpiexec -machinefile /home/user/mfile -np 4 -wdir /home/user ./_YourCode_
The content of the file mfile:
Slave0:2
Slave1:2

2 - number of cores

2. mpiexec -genv FOO BAR -n 2 -host Slave0 a.out : -n 2 -host Slave1 b.out

FOO - environment variable
BAR - its value
a.out and b.out - executables. 

> Edited revision of original post without permission from author:
> "Hello folks;
> I want to make a cluster system employing the command/function: mpich, in Ubuntu, but I am not too familiar with it. I could use some advice for a problem that a good translation might solve for me.
> I have followed the instructions [assuming translated into your native language] for mpich, the information related to the cluster that I am using, but it does not work. The project is related to an important work that is my thesis. Help would be greatly appreciated!"
> What is your native language?
> On Thu, Nov 12, 2009 at 4:33 AM, christian suhendra  wrote:
> > halo guys i wants to make a cluster system with mpich in ubuntu,,but i have troubleshooting with mpich..
> >  but when i run the example program in mpich..it doesn't work in cluster..but i've registered the node on machine.LINUX..
> >  but still not working
> > please help me..this is my thesis...
> > 
> > _______________________________________________
> >  Beowulf mailing list, Beowulf at beowulf.org sponsored by Penguin Computing
> >  To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf
> > 
> -- 
> Jeremy Baker
> PO 297
> Johnson, VT
> 05656
> 

Яндекс.Почта. Письма есть. Спама - нет. http://mail.yandex.ru/nospam/sign



More information about the Beowulf mailing list