Rocketcalc
Products Company Download Contact


Name:
LAM/MPI
Version:
7.0.6
Group:
Libraries/Programming Environment
License(s):
Summary:
Portable implementation and and programming environment of the Message Passing Interface standard.
Web Site(s):
http://www.lam-mpi.org/
File(s):
lam-7.0.6-1-rocketcalc.tar.bz2
lam-7.0.6.tar.bz2
Last Modified:
July 14, 2004

LAM/MPI 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 source code) that installs LAM/MPI 7.0.6 for the GNU, Intel, and Portland Group compiler collections. The following are the steps to install LAM/MPI 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 LAM/MPI will not be installed for the missing compilers. If Intel and Portland Group are not on user's PATH, then for example he/she must set his/her PATH for bash as follows:
    export PATH=/usr/pgi/linux86/bin:/opt/intel/compilers70/ia32/bin:${PATH}
    and for tcsh as follows:
    setenv PATH /usr/pgi/linux86/bin:/opt/intel/compilers70/ia32/bin:${PATH}
    For Portland Group compilers, make sure also that the environment variable PGI is set. The PGI environment variable must point to the directory where the Portland Group directory is installed. To check, run
    echo ${PGI}
    If user gets nothing, then he/she can set PGI for bash:
    export PGI=/usr/pgi
    and set PGI for tcsh as follows:
    setenv PGI /usr/pgi
    The user should make sure that ssh and vi or emacs are on PATH.
  • The user should move (or delete) old LAM/MPI installation if he/she is planning to install it in the same location. The shell script will install LAM/MPI in
    /lam/7.0.6/{gnu,intel,pgi}
    The default value for is /usr/local.
  • Download the file lam-7.0.6-1-rocketcalc.tar.bz2.
  • Unpack the tarball file:
    tar jxvf lam-7.0.6-1-rocketcalc.tar.bz2
    This will create directory lam-7.0.6-1-rocketcalc.
  • Change directory to lam-7.0.6-1-rocketcalc:
    cd lam-7.0.6-1-rocketcalc
  • Become root:
    su
    The user has to enter the root password. This step is not necessary. A regular user may install LAM/MPI.
  • The user should move (or delete) old LAM/MPI installation if he/she is planning to install it in the same location. The shell script will install LAM/MPI in
    /lam/7.0.6/{gnu,intel,pgi}
    The default value for is /usr/local.
  • Run the installation script:
    ./laminstall
    This script will ask the user few questions and then will install LAM/MPI. Toward the end, the script will open an editor where the user have to enter the list of hosts and the corresponding number of CPUs.

If the user would like to use the GNU compilers collections, then he/she should add the following line at the end of ~/.bashrc

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

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

export PATH=/lam/7.0.6/intel/bin:${PATH}
and at the end of ~/.tcshrc
setenv PATH /lam/7.0.6/intel/bin:${PATH}

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

export PATH=/lam/7.0.6/pgi/bin:${PATH}
and at the end of ~/.tcshrc
setenv PATH /lam/7.0.6/pgi/bin:${PATH}
The user should edit the file(s) in
/lam/7.0.6/{gnu,intel,pgi}/etc/lam-bhost.def
to list the hosts with corresponding number of CPUs.

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