pyMPI with MPICH 1.1.2

Help
David
2006-01-02
2013-04-17
  • David
    David
    2006-01-02

    Hi,
    I'm trying to get pyMPI-2.4b3 to work with a Redhat8.0 university cluster, the systems in the cluster all share the home directories using nfs.

    Since I don't have root permissions, I installed python2.4.2 and pyMPI this way:

    $ cd Python-2.4.2/
    $ ./configure --prefix=$HOME/usr
    $ make
    $ make install

    $ cd pyMPI-2.4b3/
    $ ./configure --prefix=$HOME/usr
    $ make
    $ make install

    The directory $HOME/usr/bin is the first one in my path, and when I run "which python" or "which pyMPI" I get the correct answer ($HOME/usr/bin/..).

    When I try running pympi like this:
    mpirun -np 3 -machinefile $HOME/machinefile $HOME/usr/bin/pyMPI

    it only shows these 2 lines:
    > Python 2.4.2 (pyMPI 2.4b3) on linux2
    > Type "help", "copyright", "credits" or "license" for more information.

    and then hangs, after a little while I get these messages:

    p0_15617: (7.221329) net_send: could not write to fd=4, errno = 32

    p2_29750: (10.736554) net_send: could not write to fd=5, errno = 32

    p1_19651: (10.987448) net_send: could not write to fd=5, errno = 32

    When I use only one processor (mpirun -np 1 ..) it works.

    Any ideas?

    Thanks in advance,
      David.

     
    • Julian Cook
      Julian Cook
      2006-05-07

      The best place to post a msg is in : pympi-users mail  list, since that is monitored (occasionally)

      Installing pympi as a none privileged user should work fine. I have done this with python, mpi and pympi..

      In your case, it's hard to tell if MPI itself is working. Usually when you get MPI installed, test it with a program in the examples section. PI is a good one. If the MPI program does not run across multiple cpus, then pympi will have the same problem. The other essential check is to see if the mpi daemons on the other cpus/ machines even started - they certainly can't communicate