Install MPICH1.2.7p1 with Intel compilers

Background

MPICH2 on the cluster runs a global mpd as root. The initial tests include bash scripts, cpi, some user made programs all passed. But one user program almost always disrupt mpd on slave nodes and prematurely exits. This user program was reported running fine on other cluster with MPICH 1.

So MPICH 1.2.7p1 will be installed on to the cluster to see if mpd was causing trouble for whatever reasons (load, compatibility ...)

 

Procedure:

  1. Download and extract mpich1.2.7p1
  2. check environment variables:
    ~/mpich-1.2.7p1$ echo $CC
    icc
    ~/mpich-1.2.7p1$ echo $CXX
    icpc
    ~/mpich-1.2.7p1$ echo $FC
    ifort
    ~/mpich-1.2.7p1$ echo $F77
    ifort
    ~/mpich-1.2.7p1$ echo $F90
    ifort
    ~/mpich-1.2.7p1$ export RSHCOMMAND=ssh

     
  3. Configure
    ./config --with-prefix=/home/common/mpich1-2.7p1
     
  4. Install
    make
    sudo make install

    screen message:
    ...
    installed MPICH in /home/common/mpich1-2.7p1
    /home/common/mpich1-2.7p1/sbin/mpiuninstall may be used to remove the installation.

     
  5. Test
    Refere to the previous test programs
     
  6. Setup script for user to swap between MPICH2 and MPICH1
     
  7. Prepare PE mpich for Grid Engine
    the pe for mpich2 works for mpich1.