Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] STDIN
From: Reuti (reuti_at_[hidden])
Date: 2010-10-03 17:48:31


Am 03.10.2010 um 18:25 schrieb Andrei Fokau:

> We have a a program which is normally (running w/o MPI) controlled by Ctrl+C and then a number of options. Is it possible to set STDIN for a command executed via mpirun? The following page describes parameter -stdin, but it seems to be not supported by OMPI's mpirun.

did you try just to redirect it with "<"? Only the first process will get the stdin though. Even Open MPI has an option -stdin, but it can only set the number of the rank whihc will get the input file, not the name of the input file (maybe the web page you mention describes MPICH(1)).

-- Reuti

> Is there a solution for our problem?
> Regards,
> Andrei
> _______________________________________________
> users mailing list
> users_at_[hidden]