Jeff,
I've tried a few more tests with both arps and a simple mpi program, and I get the same
problem. The only behavior difference between -w and -nw is that -nw gives me access to the command prompt while the mpi program sits there. I found a thread ("Some GM-related problems") on the lam-devel mailing list back in mid-February 2004 that discusses the same behavior. Is this the same bug?
In my tests I have used tcsh and bash, and used the lamd, tcp, sysv, and usysv RPIs. We are using Fedora Core 1 (I mistakenly said Core 3 earlier), kernel version
2.4.22-1.2197.nptlsmp. We compiled LAM using pgf90 compiler 5.2 and gcc 3.3.2 (we have
had success using pgf90/gcc with LAM 6.5.9 on another system).
Eric Kemp
Northrop Grumman IT TASC
-----Original Message-----
From: lam-bounces_at_[hidden] [mailto:lam-bounces_at_[hidden]]
Sent: Friday, January 07, 2005 8:18 AM
To: General LAM/MPI mailing list
Subject: Re: LAM: Odd problem with running MPI jobs
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/
_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/
|