LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2005-01-07 08:17:32


The problem is likely how we handle stdin in LAM/MPI. You might want
to see the FAQ for discussions about this -- see the "Running LAM/MPI
Applications" section; the questions "Why can't my process read stdin?"
and "Why can only rank 0 read from stdin?"

http://www.lam-mpi.org/faq/

On Jan 6, 2005, at 8:32 AM, Kemp, Eric M. wrote:

>
> Hello:
>
> I am trying to execute an MPI program on a 4-node AMD Opteron Beowulf
> cluster running Fedora Core 3. We have installed LAM/MPI 7.1.1. The
> MPI
> program (arps) is written in Fortran and needs to read a Namelist file
> that is redirected to standard input. For some reason, the
> straightforward approach:
>
> mpirun -np 16 n0,1,2,3 arps < arps.input > arps.output
>
> is not effective: the program sits and waits for standard input. I
> do not have this problem when I run non-MPI programs, nor does this
> happen when
> I use MPICH. I have tried using the -w and -nw flags, but neither
> solves the problem.
>
> Any ideas?
>
> Eric Kemp
> Northrop Grumman IT TASC
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/