<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18812"></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=612023915-07082009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=612023915-07082009> 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 <A
href="http://www.mcs.anl.gov/research/projects/mpich2/documentation/index.php?s=docs">http://www.mcs.anl.gov/research/projects/mpich2/documentation/index.php?s=docs</A> .</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=612023915-07082009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=612023915-07082009> Let us know if it works for
you.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=612023915-07082009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=612023915-07082009>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=612023915-07082009>Jayesh</SPAN></FONT></DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> mpich-discuss-bounces@mcs.anl.gov
[mailto:mpich-discuss-bounces@mcs.anl.gov] <B>On Behalf Of </B>Luiz Carlos da
Costa Junior<BR><B>Sent:</B> Friday, August 07, 2009 10:36 AM<BR><B>To:</B>
MPICH Discuss<BR><B>Subject:</B> [mpich-discuss] Windows execution over the
network<BR></FONT><BR></DIV>
<DIV></DIV>Hi,<BR><BR>I have a Windows application and until now, I followed
this procedure to run it:<BR>
<OL>
<LI>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;
<LI>Start the application with MPIEXEC pointing to the executable in each host
('c:\myapp', locally).</LI></OL>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.<BR>In order to do this, I tried the following
procedure:<BR>
<OL>
<LI>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). </LI></OL>
<DIV style="FONT-FAMILY: courier new,monospace; MARGIN-LEFT: 80px"><FONT
size=2>mpiexec -n 1 -host master -wdir \\master\myapp app.exe : -n 1 -host slave
-wdir \\master\myapp app.exe<BR></FONT></DIV><BR>But I got problems:<BR>
<UL>
<LI>When I try to run with more than 1 node, the execution get stuck;
<LI>When I run just with the master node, the applications runs completely,
but it shows this message:</LI></UL>
<DIV style="FONT-FAMILY: courier new,monospace; MARGIN-LEFT: 80px"><FONT
size=2>'\\master\</FONT><FONT size=2>myapp</FONT><FONT size=2>'<BR>CMD.EXE was
started with the above path as the current directory.<BR>UNC paths are not
supported. Defaulting to Windows directory.<BR></FONT></DIV><BR>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?<BR><BR>But I am still
figuring out if there is a possibility to avoid step (1).<BR>What could I
do?<BR><BR>Thanks,<BR>LC<BR></BODY></HTML>