Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
HPC High Processing Cluster in IIT DELHI
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==g. Installation of MPI ( Message Passing Interface)== Initally LAM was used as MPI but the application Fluent doesn't work with this MPI so we installed MPICH2. The MPI mpich2 can be downloaded from http://www.mcs.anl.gov/research/projects/mpich2 1. Unpack the tar file. tar xfz mpich2.x.x.x.tar.gz 2. Choose an installation directory (the default is /usr/local/bin): mkdir /usr/local/mpich2/ cd /mpich2 ./configure –prefix=/usr/local/mpich2 make make install. Set the enviroment variable for user “wolf” in /home/wolf/.bash_profile Add following lines. MPICH2=/usr/local/mpich2 PATH=$PATH:$HOME/bin:$MPICH2/bin 2.MPICH2, uses an external process manager for scalable startup of large MPI jobs. The default process manager is called MPD, which is a ring of daemons on the machines where you will run your MPI programs. For security reasons, mpd looks in your home directory for a file named .mpd.conf containing the line in home directory. So create this file as follows cd $HOME touch .mpd.conf chmod 600 .mpd.conf add a line <nowiki>secretword=<anysecretword></nowiki> we used “fluentwolf” as secretword in our case. 3.The first sanity check consists of bringing up a ring of one mpd on the local machine, testing one mpd command, and bringing the “ring” down. mpd & mpdtrace mpdallexit The output of mpdtrace should be the hostname of the machine you are running on. The mpdallexit causes the mpd daemon to exit 4.Now we will bring up a ring of mpd’s on a set of machines. Create a file consisting of a list of machine names, one per line. Name this file .mpd.hosts in home directory of user wolf. These hostnames will be used as targets for ssh so include full domain names if necessary. Check that you can reach these machines with ssh without entering a password. You can test by doing. Ssh node1 –l wolf # Start the daemons on (some of) the hosts in the file mpd.hosts mpdboot -n <nowiki><number to start> -f mpd.hosts</nowiki> The number to start can be less than 1 + number of hosts in the file,but cannot be greater than 1 + the number of hosts in the file. One mpd is always started on the machine where mpdboot is run, and is counted in the number to start, whether or not it occurs in the file. By default, mpdboot will only start one mpd per machine even if the machine name appears in the hosts file multiple times. mpdboot -n 5 -f mpd.hosts This will start the cluster. mpdtrace This command will show you the nodes in the cluster like below Master_node Node1 Node2
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)