[MPICH] question about specifying the path in mpiexec

David Ashton ashton at mcs.anl.gov
Mon Jul 11 20:04:46 CDT 2005


Your example will work on either the Windows machine or the Linux machine:
mpiexec -path "c:\path\to\app;/path/to/app" -n 2 -machinefile file cpi

This should work from either machine.  If it doesn't, please send the error
output to mpich2-maint at mcs.anl.gov

-David Ashton

-----Original Message-----
From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Yu-Cheng Chou
Sent: Monday, July 11, 2005 6:51 PM
To: mpich-discuss at mcs.anl.gov
Subject: [MPICH] question about specifying the path in mpiexec


Hi,
If I have two machines (Windows and Linux), and launch an MPI program from 
the Windows machine, I can only successfully run the MPI program by using 
mpiexec -host Windows_host_name -n 1 c:\path\to\app\cpi.exe : -host
Linux_host_name -n 1 /path/to/linux/app/cpi.

But if I launch the program from the Linux machine, I can use a simpler 
way, such as 
mpiexec -path "c:\path\to\app;/path/to/app" -n 2 -machinefile file cpi

Is this a bug that keeps users from using the simpler command line in the 
first case?

Thanks





More information about the mpich-discuss mailing list