#17 interactive prompt fails: 2.0b0


Using pyMPI 2.0b0, I can only get the interactive prompt to appear
when I run with just one process. When I run with multiple
processes I get no prompt and the program exits. It works fine
with old_pyMPI.

[5*onyx kdagley]:lamboot -V

LAM 7.0.6/MPI 2 C++/ROMIO - Indiana University

Arch: i686-pc-linux-gnu
Prefix: /home/students/kdagley/local
Configured by: kdagley
Configured on: Fri Oct 15 11:30:23 MDT 2004
Configure host: onyx.boisestate.edu
SSI rpi: crtcp lamd sysv tcp usysv

[5*onyx kdagley]:mpirun C old_pyMPI
Python 2.2.2 (#1, Feb 24 2003, 19:13:11)
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-4)] on linux2
Copyright (c) 2001, 2002 Python Software Foundation.
All Rights Reserved.

Copyright (c) 2000 BeOpen.com.
All Rights Reserved.

Copyright (c) 1995-2001 Corporation for National Research
All Rights Reserved.

Copyright (c) 1991-1995 Stichting Mathematisch Centrum,
All Rights Reserved.

[5*onyx kdagley]:mpirun C pyMPI
Python 2.2.2 (pyMPI 2.0b0) on linux2
Type "help", "copyright", "credits" or "license" for more
[5*onyx kdagley]:


  • Michael P. Steder

    Logged In: YES

    This is fixed in the soon to be released pyMPI 2.0b4 (at
    least we think it is). It should be on the download page in
    a couple days(tomorrow hopefully). If you need it asap and
    it's not up e-mail me and I can send you an unstable version
    that works.

  • Michael P. Steder

    • status: open --> open-fixed
  • Patrick Miller

    Patrick Miller - 2005-02-22

    Logged In: YES

    This is a known weirdness which is MPI version
    related. Alas, the best response I can come up
    with is to configure with some sledgehammer

    The first to try is

    % ./configure --with-isatty=yes

    This helps pyMPI know that a process in interactive
    [often bulk launch mpirun programs hide the interactivity]

    If that doesn't work, use

    % ./configure --with-prompt-nl=yes

    This is yuckier, but deals with the issue where
    flush() doesn't work right

    It adds a newline, so your prompts come out

  • Patrick Miller

    Patrick Miller - 2005-02-22
    • assigned_to: nobody --> patmiller

Log in to post a comment.