[MPICH] error message when running an mpi program on windows and linux

David Ashton ashton at mcs.anl.gov
Sat Jul 9 14:35:50 CDT 2005


Try specifying everything explicitly like this:
mpiexec -host Windows_host_name -n 1 c:\path\to\app\cpi.exe : -host
Linux_host_name -n 1 /path/to/linux/app/cpi

or this:
mpiexec -path "c:\path\to\app;/path/to/app" -n 2 -machinefile foo cpi

or this:
mpiexec -path "c:\path\to\app;/path/to/app" -hosts 2 winhost linuxhost cpi

-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: Saturday, July 09, 2005 12:38 PM
To: mpich-discuss at mcs.anl.gov
Subject: [MPICH] error message when running an mpi program on windows and
linux


hi,
i launched smpd on two machines (windows and linux) listening to the same 
port.
i created a machinefile containing the ip addresses of the two machines, 
and also set the right executable paths for them.
but when i run "mpiexec -n 2 -machinefile machines cpi", an error occurred.

abort: Error 2 - No such file or directory

i also used -path to set the search path, but didn't work either.

so, how to correctly tell the remote smpd where to find the file and 
execute it?

Thanks





More information about the mpich-discuss mailing list