LAM/MPI passes all argv to all processes, so all your processes should
see the "infile" argument.
Are you sure that you are using LAM/MPI?
On Aug 14, 2005, at 6:09 PM, ThanhVu Nguyen wrote:
> Hi , I am able to successfully run existing programming in parallel
> with MPI. However when it comes to program that requires an input file
> (e.g, progname infile) , then I cannot able to run it in parallel,
> the 'infile' is not passed to the slave machines.
>
> I use this command
>
> mpirun -np 3 ./a.out infile
>
> then on machine id 0 (master), everything is fine but on other
> machines don't see the 'infile' argument.
>
> What is the correct way to run program that requires extra arguments ?
> Thanks
>
> tvn,
>
> ThanhVu H. Nguyen
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|