Newsgroups: comp.parallel.mpi
From: roytenbe@scs.carleton.ca (david roytenberg)
Subject: Re: How to pass parameters to the program?
Organization: Carleton University
Date: Fri, 25 Aug 1995 19:42:16 GMT
Message-ID: <DDvtEG.E0v@cunews.carleton.ca>

In article <41kh61$l4i@cnn.cc.biu.ac.il> you write:
>Hi , 
>I am probably asking very simple quiestion:
>How can I pass parameters to mpi program, compiled on Solaris with the
>MPICH package.
>My executable accepts few parameters and non-parallel version 
>execution is simply :
>			my_prgm f1 f2 f3
>MPICH execution requires :
>	      mpirun  my_prgm f1 f2 f3
>which does not work because these parameters are not accepted (exactly as
>I did not specifying anything).
>	Thank you for help,
>			Yours, Paul Cuno
>
Paul,

	I had the same problem the first time I used mpirun.
The answer is to put the command line in double quotes.  Mpirun
will then parse it correctly.

	David Roytenberg



-- 
David Roytenberg    roytenbe@scs.carleton.ca M. of Computer Science student
Carleton University PARALLEL COMPUTING       Graduate Students Assoc CS rep

--
David Roytenberg   School of Computer Science  Carleton University
roytenbe@scs.carleton.ca   Masters Program     Ottawa, Canada

