<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>RE: [mpich-discuss] MPICH2 on HPC Server 2008  wdir problem</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>&nbsp;Hi,<BR>
&nbsp; If you want to use a network drive in your job you will have to map it explicity using the &quot;-map&quot; option of mpiexec (mpiexec -n 2 -map k:\\host\share cpi.exe).<BR>
<BR>
Regards,<BR>
Jayesh<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Addepalli, Srirangam V [<A HREF="mailto:srirangam.v.addepalli@ttu.edu">mailto:srirangam.v.addepalli@ttu.edu</A>]<BR>
Sent: Sunday, May 17, 2009 8:10 PM<BR>
To: Jayesh Krishna<BR>
Cc: mpich-discuss@mcs.anl.gov<BR>
Subject: RE: [mpich-discuss] MPICH2 on HPC Server 2008 wdir problem<BR>
<BR>
Thank you all. I tried with the -wdir option compute node crashed with blue screen but only after the job started to read/write to network drive. I am assuming it is something to do with MS HPC job scheduler now.<BR>
Rangam<BR>
<BR>
Problem signature:<BR>
&nbsp; Problem Event Name:&nbsp;&nbsp; BlueScreen<BR>
&nbsp; OS Version:&nbsp;&nbsp; 6.0.6001.2.1.0.272.18<BR>
&nbsp; Locale ID:&nbsp;&nbsp;&nbsp; 1033<BR>
<BR>
Additional information about the problem:<BR>
&nbsp; BCCode:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 27<BR>
&nbsp; BCP1: 00000000BAAD0075<BR>
&nbsp; BCP2: FFFFFA6005EF6228<BR>
&nbsp; BCP3: FFFFFA6005EF5C00<BR>
&nbsp; BCP4: FFFFFA6004111734<BR>
&nbsp; OS Version:&nbsp;&nbsp; 6_0_6001<BR>
&nbsp; Service Pack: 1_0<BR>
&nbsp; Product:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 272_3<BR>
<BR>
Files that help describe the problem:<BR>
&nbsp; C:\Windows\Minidump\Mini051709-04.dmp<BR>
&nbsp; C:\Users\Administrator\AppData\Local\Temp\2\WER-2587978-0.sysdata.xml<BR>
&nbsp; C:\Users\Administrator\AppData\Local\Temp\2\WER78F.tmp.version.txt<BR>
<BR>
Read our privacy statement:<BR>
&nbsp; <A HREF="http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409">http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409</A><BR>
<BR>
<BR>
________________________________________<BR>
From: Jayesh Krishna [jayesh@mcs.anl.gov]<BR>
Sent: Sunday, May 17, 2009 9:36 AM<BR>
To: Addepalli, Srirangam V<BR>
Cc: mpich-discuss@mcs.anl.gov<BR>
Subject: RE: [mpich-discuss] MPICH2 on HPC Server 2008&nbsp; wdir problem<BR>
<BR>
&nbsp;You will also need to set the working directory (-wdir) for your job.<BR>
<BR>
-jayesh<BR>
<BR>
-----Original Message-----<BR>
From: mpich-discuss-bounces@mcs.anl.gov [<A HREF="mailto:mpich-discuss-bounces@mcs.anl.gov">mailto:mpich-discuss-bounces@mcs.anl.gov</A>] On Behalf Of Markus Fischer<BR>
Sent: Sunday, May 17, 2009 4:10 AM<BR>
To: mpich-discuss@mcs.anl.gov<BR>
Subject: Re: [mpich-discuss] MPICH2 on HPC Server 2008 wdir problem<BR>
<BR>
have you tried<BR>
<BR>
&nbsp; job submit /workdir:\\p\a\t\h<BR>
<BR>
Markus<BR>
<BR>
<BR>
Addepalli, Srirangam V wrote:<BR>
&gt; Hello Jayesh,<BR>
&gt;<BR>
&gt; I tried both the options suggested.<BR>
&gt;<BR>
&gt; mpiexec -np 8 -path Z:\BIN\ nwchem.exe siosi3.nw&nbsp; (Here Z:\BIN is a<BR>
&gt; network mapped drive) with MS HPC job scheduler variables<BR>
&gt; WorkingDirectory \\Fileshare\BIN\ Using this option i was able to get<BR>
&gt; the executable to start but it exits as it is not able find the input<BR>
&gt; file.. siosi3.nw<BR>
&gt;<BR>
&gt; argument&nbsp; 1 = siosi3.nw<BR>
&gt;&nbsp;&nbsp; could not open a file in permanent directory:<BR>
&gt;&nbsp;&nbsp; could not open a file in scratch directory:<BR>
&gt;&nbsp;&nbsp; Both permanent and scratch directory not accessible<BR>
&gt;&nbsp; ******** Fatal Error ********&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 911<BR>
&gt; This option worked till it found the nwchem.exe binary. But executable (nwchem) failed to read the input file from the directory it was supposed to be reading from. I believe these errors are caused by the way the file sharing is setup.<BR>
&gt;<BR>
&gt; I switched over to the second option and specified the full path<BR>
&gt;<BR>
&gt; mpiexec -np 8&nbsp; \\Fileserv\BIN\nwchem.exe siosi3.nw<BR>
&gt;<BR>
&gt; Working Directory \\Fileserv\BIN\<BR>
&gt;<BR>
&gt; This kills the compute node ..with no information in the event viewer about what triggered the reboot.same set of jobs work perfectly fine using mpiexec wrapper interface ...<BR>
&gt;<BR>
&gt; So for i was only able to get it to work using mpiexecwrapper.<BR>
&gt;<BR>
&gt; mpiexec -np 8 nwchem.exe siosi3.nw&nbsp; (this works when both nwchem.exe<BR>
&gt; and siosi3.nw are located in C:\<BR>
&gt; MPICH2\bin)<BR>
&gt;<BR>
&gt; Rangam<BR>
&gt; ________________________________________<BR>
&gt; From: Jayesh Krishna [jayesh@mcs.anl.gov]<BR>
&gt; Sent: Saturday, May 16, 2009 8:34 PM<BR>
&gt; To: Addepalli, Srirangam V<BR>
&gt; Cc: mpich-discuss@mcs.anl.gov<BR>
&gt; Subject: RE: [mpich-discuss] MPICH2 on HPC Server 2008&nbsp; wdir problem<BR>
&gt;<BR>
&gt; Hi,<BR>
&gt;<BR>
&gt; # Does specifying a complete path to the executable work (mpiexec -n 2 c:\temp\cpi.exe )?<BR>
&gt; # Did you try the &quot;-path&quot; option of mpiexec when launching your job (mpiexec -n 2 -path c:\temp cpi.exe) ?<BR>
&gt;<BR>
&gt; -jayesh<BR>
&gt;<BR>
&gt; -----Original Message-----<BR>
&gt; From: mpich-discuss-bounces@mcs.anl.gov<BR>
&gt; [<A HREF="mailto:mpich-discuss-bounces@mcs.anl.gov">mailto:mpich-discuss-bounces@mcs.anl.gov</A>] On Behalf Of Addepalli,<BR>
&gt; Srirangam V<BR>
&gt; Sent: Friday, May 15, 2009 5:18 PM<BR>
&gt; To: mpich-discuss@mcs.anl.gov<BR>
&gt; Subject: [mpich-discuss] MPICH2 on HPC Server 2008 wdir problem<BR>
&gt;<BR>
&gt; Hello All.<BR>
&gt; I am trying to used MPICH2 on windows HPC Cluster.&nbsp; Using HPC job scheduler i am not able to specify the work directory when i try to submit a job. mpiexec will look at the input files only if preset in&nbsp; MPICH2/BIN directory. I have tried using the -wdir setting but not able to get mpiexec to work.<BR>
&gt; Sincerely<BR>
&gt; Rangam<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt;<BR>
&gt; ----------------------------------------------------------------------<BR>
&gt; --<BR>
&gt;<BR>
&gt;<BR>
&gt; No virus found in this incoming message.<BR>
&gt; Checked by AVG - www.avg.com<BR>
&gt; Version: 8.5.325 / Virus Database: 270.12.32/2118 - Release Date:<BR>
&gt; 05/16/09 17:05:00<BR>
&gt;<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>