Menu

#18 no prompt with mpich but seems to work with lam

open-fixed
nobody
None
5
2004-11-19
2004-10-19
No

HI,

I'm not getting a python prompt using mpich and python
2.3.3, but it works all fine with lam.
Executing scripts in parallel works also with mpich, but if I
just run mpirun -np 2 ./pyMPI it just sits there
and gives me the output:
Python 2.3.3 (pyMPI 2.1b3) on linux2
Type "help", "copyright", "credits" or "license" for more
information.
but no prompt. If i after a while interrupt it with Ctrl-c, I get
the following error messages
3_15611: (54.617902) net_send: could not write to fd=5,
errno = 32
p3_15611: p4_error: net_send write: -1
p4_error: latest msg from perror: Broken pipe
p4_error: latest msg from perror: Broken pipe
p2_15525: (55.542071) net_send: could not write to fd=5,
errno = 32
p2_15525: p4_error: net_send write: -1
p1_15440: (56.421708) net_send: could not write to fd=5,
errno = 32
p1_15440: p4_error: net_send write: -1
p4_error: latest msg from perror: Broken pipe

Any suggestions.

Regards

Thomas Hauser

Discussion

  • Michael P. Steder

    Logged In: YES
    user_id=564691

    I have the same error with mpich, and am installing lam at
    the moment to see if that resolves the issue.

     
  • Michael P. Steder

    Logged In: YES
    user_id=564691

    I was able to replicate your problem with PyMPI. It almost
    worked with lam-mpi. I've tested a new version of pyMPI,
    version 2.0b4, which appears to have resolved this issue.

    Once you get the new sources you should configure pyMPI with
    the at least "--with-isatty", and possibly "--with-isatty
    --with-prompt-nl".

    The new version should be available for download in the next
    day or two. I've attached an unstable version that contains
    these fixes. I don't think Pat really wants people using
    this version, but if you can't wait for the new stable
    version...

     
  • Michael P. Steder

    Logged In: YES
    user_id=564691

    Nevermind, it won't let me upload an attachment over 256K,
    so e-mail me if you need the source asap.

     
  • Michael P. Steder

    • status: open --> open-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.