[mpich-discuss] mpiexec and working directory

Rajeev Thakur thakur at mcs.anl.gov
Thu Nov 6 22:45:15 CST 2008


If you cd to the directory containing the executable, say a.out, and do
"mpiexec -n 2 a.out" does it expect to find input files in your home
directory? That's odd. 


> -----Original Message-----
> From: mpich-discuss-bounces at mcs.anl.gov 
> [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Tiago Silva
> Sent: Thursday, November 06, 2008 6:02 PM
> To: mpich-discuss at mcs.anl.gov
> Subject: Re: [mpich-discuss] mpiexec and working directory
> 
> Rajeev Thakur wrote:
> > 1.0.3 is an ancient version of MPICH2. Try the latest 
> version, 1.0.8.
> >   
> I will ask my systems administrator to do so.
> 
> > The parameters to mpiexec are not identical between MPICH-1 and 
> > MPICH2. Do mpiexec --help. Make sure you are calling 
> MPICH2's mpiexec, not MPICH-1's.
> >   
> I am actually invoking mpiexec with its full path. Is there 
> any incorrect parameter on my mpiexec call?
> I
> > If your input files are in the same directory as the 
> executable, you 
> > should not need to specify anything.
> >   
> But that is exactly the problem. The executable can't find 
> the input files on the working directory.
> 
> 




More information about the mpich-discuss mailing list