<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16825" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=021203221-05062009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=021203221-05062009> On unix systems you probably need to provide the
bin directory from your MPICH2 installation (to provide the process
manager/launcher apps). However this could get messy if your customer has a
different version of OS, runs your code on a different arch or has a different
version of glibc. You can use tricks like "symbol versioning" to achieve binary
compatibility across glibc versions (<A
href="http://sourceware.org/git/?p=glibc.git;a=blob_plain;f=FAQ;hb=HEAD">http://sourceware.org/git/?p=glibc.git;a=blob_plain;f=FAQ;hb=HEAD</A>).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=021203221-05062009> If your application is open source you can ship
the MPICH2 source code with your app source and the customer can do a
configure/make/make_install.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=021203221-05062009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=021203221-05062009>Regards,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=021203221-05062009>Jayesh</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2></FONT><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Shangli Wu [mailto:shangliw@cadence.com]
<BR><B>Sent:</B> Friday, June 05, 2009 3:17 PM<BR><B>To:</B> Jayesh
Krishna<BR><B>Subject:</B> RE: [mpich-discuss] one question<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><SPAN class=136551520-05062009><FONT face=Arial
color=#0000ff size=2>Thanks a lot.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=136551520-05062009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=136551520-05062009><FONT face=Arial
color=#0000ff size=2>How about on Unix (such as Solaris/Linux)
machines?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=136551520-05062009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=136551520-05062009><FONT face=Arial
color=#0000ff size=2>Shangli</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Jayesh Krishna
[mailto:jayesh@mcs.anl.gov] <BR><B>Sent:</B> Friday, June 05, 2009 4:12
PM<BR><B>To:</B> Shangli Wu<BR><B>Cc:</B>
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> RE: [mpich-discuss] one
question<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009> If you have developed your application on
windows using MPICH2 you can follow the instructions from the "MINIMAL
INSTALLATION" section in README.winbin.rtf document (available in your
installation directory). Or you can ask the user to install MPICH2
separately.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009> I am providing the information from the README
below (you can consider the worker nodes as the user's compute node) for your
reference,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009>============================================================================</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><FONT size=2>
<P>If you want to have worker nodes that do not have any tools on them, you
can simply copy smpd.exe to each node and execute "smpd.exe -install". </P>
<P>smpd.exe is the only application required on each machine to launch MPICH2
jobs. But, MPICH2 applications require the mpich2 dlls. This requirement can
be satisfied by copying the mpich2 dlls to the windows\system32 directory on
each node. Then any mpich2 application can run on those systems. This is what
the installer does. If you don't want to copy the mpich2 dlls to each machine,
then you need to place the dlls in the same location as the executable you are
going to launch.</P>
<P>For example, if you have a directory called \\myserver\mysharedfolder and
you have myapp.exe and *mpich2*.dll in that directory then you can execute
this command: "mpiexec -n 4 \\myserver\mysharedfolder\myapp.exe"</P>
<P>Note: There are several mpich2 dlls and depending on your build target
(Fortran, C, Debug or Release) you will need the corresponding dlls in the
application directory.</P></FONT></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN
class=314470120-05062009>============================================================================</SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN
class=314470120-05062009></SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN class=314470120-05062009> Please find
below the list of dlls (you can find them in c:\windows\system32 directory in
your machine) installed with MPICH2,</SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN
class=314470120-05062009></SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN
class=314470120-05062009>====================================================</SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN
class=314470120-05062009></SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN class=314470120-05062009>C:\>dir
c:\windows\system32\mpich2*.dll<BR> Volume in drive C has no
label.<BR> Volume Serial Number is AC9F-67B7</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN class=314470120-05062009> Directory of
c:\windows\system32</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN class=314470120-05062009>05/17/2009 04:34
AM 1,249,280
mpich2.dll<BR>06/02/2009 10:13
PM 151,552
mpich2mpe.dll<BR>05/13/2009 09:22
AM 163,840
mpich2mpi.dll<BR>06/02/2009 11:26
PM 1,265,664
mpich2mt.dll<BR>06/02/2009 11:37
PM 1,462,272
mpich2mtp.dll<BR>06/02/2009 11:49
PM 2,318,336
mpich2nemesis.dll<BR>06/02/2009 11:59
PM 2,527,232
mpich2nemesisp.dll<BR>06/02/2009 01:57
AM 1,404,928
mpich2p.dll<BR>06/02/2009 02:39
AM 1,183,744
mpich2shm.dll<BR>06/02/2009 02:50
AM 1,368,064
mpich2shmp.dll<BR>06/02/2009 03:04
AM 1,232,896
mpich2ssm.dll<BR>06/02/2009 03:16
AM 1,449,984
mpich2ssmp.dll<BR>
12 File(s) 15,777,792
bytes<BR>
0 Dir(s) 5,438,078,976 bytes free</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN class=314470120-05062009>C:\>dir
c:\windows\system32\fmpich2*.dll<BR> Volume in drive C has no
label.<BR> Volume Serial Number is AC9F-67B7</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN class=314470120-05062009> Directory of
c:\windows\system32</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN class=314470120-05062009>06/02/2009 02:19
AM 114,688
fmpich2.dll<BR>06/02/2009 02:24
AM 118,784
fmpich2g.dll<BR>06/02/2009 02:29
AM 126,976
fmpich2s.dll<BR>
3 File(s) 360,448
bytes<BR>
0 Dir(s) 5,438,078,976 bytes free</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN class=314470120-05062009>C:\>dir
c:\windows\system32\mpe*.dll<BR> Volume in drive C has no
label.<BR> Volume Serial Number is AC9F-67B7</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN class=314470120-05062009> Directory of
c:\windows\system32</SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN class=314470120-05062009>06/02/2009 10:13
PM 135,168
mpe.dll<BR>
1 File(s) 135,168
bytes<BR>
0 Dir(s) 5,438,078,976 bytes free</SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN
class=314470120-05062009></SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN class=314470120-05062009><SPAN
class=314470120-05062009><SPAN
class=314470120-05062009>====================================================</SPAN></SPAN></SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN class=314470120-05062009><SPAN
class=314470120-05062009><SPAN
class=314470120-05062009></SPAN></SPAN></SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN class=314470120-05062009><SPAN
class=314470120-05062009><SPAN class=314470120-05062009> Please let us
know if you require further help.</SPAN></SPAN></SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN class=314470120-05062009><SPAN
class=314470120-05062009><SPAN
class=314470120-05062009></SPAN></SPAN></SPAN></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN class=314470120-05062009><SPAN
class=314470120-05062009><SPAN
class=314470120-05062009>Regards,</SPAN></SPAN></SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN class=314470120-05062009><SPAN
class=314470120-05062009><SPAN
class=314470120-05062009>Jayesh</SPAN></SPAN></SPAN></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=314470120-05062009><SPAN
class=314470120-05062009></SPAN></SPAN></FONT> </DIV><FONT face=Arial
color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff size=2></FONT><FONT
face=Arial color=#0000ff size=2></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> mpich-discuss-bounces@mcs.anl.gov
[mailto:mpich-discuss-bounces@mcs.anl.gov] <B>On Behalf Of </B>Shangli
Wu<BR><B>Sent:</B> Friday, June 05, 2009 2:59 PM<BR><B>To:</B>
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> [mpich-discuss] one
question<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2><SPAN class=140455619-05062009>I have a question
about deliver our application with MPICH2. We are build some applications
using MPICH2. When we deliver our executables to customer, what MPICH2 stuff
do we have to ship to customer at same time? </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=140455619-05062009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=140455619-05062009>Thanks</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=140455619-05062009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=140455619-05062009>Shangli
Wu</SPAN></FONT></DIV></BLOCKQUOTE></BODY></HTML>