The installation of mpich is very easy.

The installation of a working mpich is a little more difficult. 🙂

  1. install the mpich2 packages
    • aptitude install mpich2
  2. create the requested files
    • touch /etc/mpd.conf
    • chmod 600 /etc/mpd.conf
    • echo MPD_SECRETWORD=test > /etc/mpd.conf
    • touch /etc/mpd.hosts
    • echo $host_list > /etc/mpd.hosts
  3. run mpdboot
    • mpdboot –file=/etc/mpd.hosts
The debian package mpich2 does not work with slurm. Install it from source
./configure --with-pm=none --with-pmi=slurm ; make ; make install