[mpich-discuss] mpiexec and working directory
Rajeev Thakur
thakur at mcs.anl.gov
Thu Nov 6 17:34:53 CST 2008
1.0.3 is an ancient version of MPICH2. Try the latest version, 1.0.8.
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.
If your input files are in the same directory as the executable, you should
not need to specify anything.
Rajeev
> -----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 5:17 PM
> To: mpich-discuss at mcs.anl.gov
> Subject: [mpich-discuss] mpiexec and working directory
>
> Hi all,
>
> I have been using mpich 1.2.7 and am now trying a version of
> mpich2 on
> our cluster (1.0.3). I am running into some problems so I
> hope you can
> help me.
> My program is expecting to to find its input files on my home dir ~/
> instead of the local directory, even when I am using -wdir or
> -dir. If I
> copy the input files to ~/ it runs fine, writing the output
> file also in
> ~/. This is how I invoke mpiexec
>
> [tsilva run]$ mpiexec -wdir /tsilva/plasim/run/ -ssh -nopm -n 2
> -machinefile /tsilva/run/machines /tsilva/run/F90_mpi.x
>
> I used to have the same problem with mpirun and mpich 1.2.7
> but once I
> made sure that the file access was done after call mpi_init
> and before
> call mpi_finalize it worked fine. So I have already checked and this
> isn't the case at the moment.
>
> I am using RH4 and PGI 7.0 Fortran compiler
>
> Thanks for any help,
> Silva
>
More information about the mpich-discuss
mailing list