I am using MPI in a somewhat nontraditional fashion. My program calls
MPI_Comm_Spawn to start worker processes that are driven by my
shell-like program. My program uses readline for input, and is *not*
started by mpirun.
I have a problem where if I paste large amounts of text to my program
in my terminal, much of it is lost (where large is still less than
1K). Without MPI, this normal input buffering worked, and the program
processed the buffered input as it finished processing earlier input.
I understand that the i/o forwarding system may not interact well with
the readline library, and I'm guessing this may the cause. (It's
probably not relevant, but I'm using putty as a ssh client to reach
the linux machine).
Is this likely? I can try to put together a reproduction case, though
it will require quite a bit of work.
Is it possible to disable the iof system? I only need stdin, stdout,
stderr from my non-mpirun-started program and none of the worker
Any other suggestions?