[mpich-discuss] Windows execution over the network
Jayesh Krishna
jayesh at mcs.anl.gov
Fri Aug 7 10:44:24 CDT 2009
Hi,
If you plan to use network drives for your MPI job you need to map these
drives explicitly using the "-map" option of mpiexec (mpiexec -n 2
-machinefile machinefile_containing_hostname_of_master_slave.txt -map
x:\\master_machine_name\master_share_name -wdir x:\myapp app.exe). You can
find more information in the windows developer's guide available at
http://www.mcs.anl.gov/research/projects/mpich2/documentation/index.php?s=
docs .
Let us know if it works for you.
Regards,
Jayesh
_____
From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Luiz Carlos da
Costa Junior
Sent: Friday, August 07, 2009 10:36 AM
To: MPICH Discuss
Subject: [mpich-discuss] Windows execution over the network
Hi,
I have a Windows application and until now, I followed this procedure to
run it:
1. Copy the entire application folder (with executable file and other
files required by the application) from the master node (let me say
'c:\myapp') to all other nodes;
2. Start the application with MPIEXEC pointing to the executable in
each host ('c:\myapp', locally).
But, instead of doing it, I would like to eliminate the step (1) and, if
it is possible, start the application directly from the master host.
In order to do this, I tried the following procedure:
1. Start the application with MPIEXEC pointing to the executable in
master host and setting the working directory to the application directory
in master node (all directories was set using UNC paths).
mpiexec -n 1 -host master -wdir \\master\myapp app.exe : -n 1 -host slave
-wdir \\master\myapp app.exe
But I got problems:
* When I try to run with more than 1 node, the execution get stuck;
* When I run just with the master node, the applications runs
completely, but it shows this message:
'\\master\myapp'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
I believe as I am starting MPIEXEC from the application folder
('c:\myapp'), to change to the default Windows directory results the same,
isn't it?
But I am still figuring out if there is a possibility to avoid step (1).
What could I do?
Thanks,
LC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20090807/6007ad6e/attachment-0001.htm>
More information about the mpich-discuss
mailing list