<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=koi8-r">
<META content="MSHTML 6.00.6000.16735" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=420160916-27012009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=420160916-27012009> The MPICH2 process manager is installed as a
Service which runs as "Local System". So the process manager by default cannot
access the network mapped drives (and rightly so...).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=420160916-27012009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=420160916-27012009>(PS: Note that an MPI job can be run on behalf of any
user. A user might want to only map the network drive relevant to the MPI job.
You can also try using the "-mapall" option which will map all the network
drives.)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=420160916-27012009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=420160916-27012009>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=420160916-27012009>Jayesh</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Константин Герценбергер
[mailto:k.gertsenberger@gmail.com] <BR><B>Sent:</B> Tuesday, January 27, 2009
1:20 AM<BR><B>To:</B> Jayesh Krishna<BR><B>Subject:</B> Re: [mpich-discuss] File
I/O doesn't work with mapped network drive<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi. I have written in my previous message that "and use -map option, it
works well".</DIV>
<DIV>-map option is all right, but I'm interested in following
questions: Why can't MPICH work without -map option with my
mapped network drive, mapped by Windows Explorer? or the same, It have been
mapped yet in Windows Explorer, why should I map it again by mpiexec? If
It's impossible, do you plan this possibility in future versions.<BR></DIV>
<DIV>Thank you for your reply. It's very important for me.</DIV>
<DIV>With best wishes, Konstantin Gertsenberger.<BR></DIV>
<DIV class=gmail_quote>2009/1/26 Jayesh Krishna <SPAN dir=ltr><<A
href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</A>></SPAN><BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN> Please use the "-map" option available with mpiexec to map
any network drive that you use in your MPI job (eg: mpiexec -n 2 -map
x:\\MACHINE_NAME\MAPPED_DRIVE_NAME cpi.exe)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN> Let
us know if it works for you.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2><SPAN>Jayesh</SPAN></FONT></DIV><BR>
<DIV lang=en-us dir=ltr align=left>
<HR>
<FONT face=Tahoma size=2><B>From:</B> <A
href="mailto:mpich-discuss-bounces@mcs.anl.gov"
target=_blank>mpich-discuss-bounces@mcs.anl.gov</A> [mailto:<A
href="mailto:mpich-discuss-bounces@mcs.anl.gov"
target=_blank>mpich-discuss-bounces@mcs.anl.gov</A>] <B>On Behalf Of
</B>?????????? ????????????<BR><B>Sent:</B> Sunday, January 25, 2009 10:39
AM<BR><B>To:</B> <A href="mailto:mpich-discuss@mcs.anl.gov"
target=_blank>mpich-discuss@mcs.anl.gov</A><BR><B>Subject:</B> [mpich-discuss]
File I/O doesn't work with mapped network drive<BR></FONT><BR></DIV>
<DIV>
<DIV></DIV>
<DIV class=Wj3C7c>
<DIV></DIV>
<DIV>Good day.</DIV>
<DIV>I've developed MPI (MPICH 1.0.8) application working with file
that is located on mapped network drive (letter z:, for example,
z:\my.bin). <BR>The drive Z was mapped by Windows Explorer and it's
avalaible for all nodes.</DIV>
<DIV> </DIV>
<DIV>My application (run with mpiexec
-n X(1,2,3...) "c:\my_app.exe", it has copy on all nodes) get an
error when it attemps to open this file from any node (no such file or
directory). If i disconnect mapped network drive in Windows and use -map
option, it works well, but there are some reasons because of I can't use
this approach.</DIV>
<DIV> </DIV>
<DIV>Tell me please, why can't SMPD find files are located
on mapped network drive, mounted by Windows
(Explorer)?<BR></DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR></BODY></HTML>