Rocketcalc
Products Company Download Contact


Name:
MPICH
Version:
1.2.5.2
Group:
Libraries/Programming Environment
License(s):
Summary:
Portable implementation and and programming environment of the Message Passing Interface standard.
Web Site(s):
http://www-unix.mcs.anl.gov/mpi/mpich/
File(s):
mpich-1.2.5.2-3-rocketcalc.tar.bz2
mpich-1.2.5.2.tar.bz2
Last Modified:
March 16, 2004

MPICH is a portable implementation of the full MPI-1 specification and a programming environment for MPI programs for a wide variety of parallel and distributed computing environments.

The notation denotes a variable (such as directory name, file name, user name, etc.) that user has to substitute.

If a backslash (\) appears in a shell command, then it should be treated as a line continuation, i.e., it could be ignored if the user types in the shell command.

Rocketcalc provides a shell script (along with the source code) that installs MPICH 1.2.5.2 for the GNU, Intel, and Portland Group compiler collections. The following are the steps to install MPICH using the shell script.

  • The user should make sure that the GNU (gcc, g++, and g77), Intel (icc and ifc), and Portland Group (pgcc, pgCC, pgf77, and pgf90) compilers are on PATH environment variable. If some of these compilers are not on your PATH, then MPICH will not be installed for the missing compilers. If Intel and Portland Group are not on user's PATH, then he/she must set his/her environment variable PATH. For example,
    export PATH=/usr/pgi/linux86/bin:/opt/intel/compilers70/ia32/bin:${PATH}
    for bash shell or
    setenv PATH /usr/pgi/linux86/bin:/opt/intel/compilers70/ia32/bin:${PATH}
    for tcsh shell. Note that for Portland Group compilers, the environment variable PGI must be set. The PGI environment variable must point to the directory where the Portland Group directory is installed. To check whether the environment variable is set, run
    echo ${PGI}
    If user gets nothing, then for example he/she must set PGI:
    export PGI=/usr/pgi
    for bash shell or
    setenv PGI /usr/pgi
    for tcsh shell. The user should make sure that ssh and vi or emacs are on PATH as well.
  • The user should move (or delete) old mpich installation if he/she is planning to install it in the same location. The shell script will install MPICH in
    /mpich/1.2.5.2/{gnu,intel,pgi}
    The default value for is /usr/local.
  • Download the file mpich-1.2.5.2-3-rocketcalc.tar.bz2.
  • Unpack the tarball file:
    tar jxvf mpich-1.2.5.2-3-rocketcalc.tar.bz2
    This will create directory mpich-1.2.5.2-3-rocketcalc.
  • Change directory to mpich-1.2.5.2-3-rocketcalc:
    cd mpich-1.2.5.2-3-rocketcalc
  • Become root:
    su
    The user has to enter the root password. This step is not necessary. A regular user may install MPICH.
  • Run the installation script mpichinstall:
    ./mpichinstall
    This script will ask the user few questions and then will install MPICH. Toward the end, the script will open an editor to edit the machines file which contains the the list of hosts and the corresponding number of CPUs participating in the virtual machine.

The user should add the following line at the end of ~/.bashrc

export PATH=/mpich/1.2.5.2/gnu/bin:${PATH}
and at the end of ~/.tcshrc
setenv PATH /mpich/1.2.5.2/gnu/bin:${PATH}

If the user would rather use the Intel compiler collection, then he/she should add the following line at the end of ~/.bashrc

export PATH=/mpich/1.2.5.2/intel/bin:${PATH}
and at the end of ~/.tcshrc
setenv PATH /usr/local/mpich/1.2.5.2/intel/bin:${PATH}

If the user would rather use the Portland Group compiler collection, then he/she should add the following line at the end of ~/.bashrc

export PATH=/mpich/1.2.5.2/pgi/bin:${PATH}
and at the end of ~/.tcshrc
setenv PATH /mpich/1.2.5.2/pgi/bin:${PATH}
The user should edit the file(s) in
/mpich/1.2.5.2/{gnu,intel,pgi}/share/machines.LINUX
if he/she wants to modify the list the hosts participating the virtual machine.

Products ??|?? Buy ??|?? Contact ??|?? Download ??|?? Bulletins ??|?? Company ??|?? Legal ??|?? Home