<!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=832022720-02102009>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=832022720-02102009> MPICH2 has a set of runtime components required
to run your MPI job. So you will have to package your MPI program with the
MPICH2 components required to run your MPI program before distributing it
to your users (i.e., you will have to install MPICH2 manually using your own
install program).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=832022720-02102009> Please follow the steps below when distributing
your MPI application (these are the steps followed by our users who distribute
MPI apps),</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=832022720-02102009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=832022720-02102009># Compile your MPI program with
MPICH2</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=832022720-02102009># Package the tools in the
<MPICH2-INSTALL-DIR>\bin directory (Based on your requirement. For a basic
setup package mpiexec.exe & smpd.exe) with your pgm.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=832022720-02102009># Package the MPICH2 dlls. (Look for mpich2*.dll,
mpe*.dll & fmpich*.dll in your c:\windows\system32 directory) with your
pgm.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=832022720-02102009># When installing your MPI program,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=832022720-02102009>---- install the MPICH2 program manager, smpd,
using the "-install" option (smpd -install).</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=832022720-02102009>---- Copy the MPICH2 dlls to c:\windows\system32 (based
on your system this could change - I would recommend using an installer &
its support vars) directory</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=832022720-02102009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=832022720-02102009> Let us know if you need further
help.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=832022720-02102009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=832022720-02102009>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=832022720-02102009>Jayesh</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=832022720-02102009></SPAN></FONT> </DIV>
<DIV dir=ltr align=left>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr align=left><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>Gulshan Singh<BR><B>Sent:</B> Friday, October 02, 2009 3:02
PM<BR><B>To:</B> mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> [mpich-discuss] Is
stand alone MPI executable possible?<BR></FONT><BR></DIV>
<DIV></DIV>What we have:<BR>Windows XP, Intel Fortran, Visual Studio, and MPI
library from Argonne National Labrotary.<BR><BR>We developed a MPI Fortran code
that that runs on requested number of processors. We are trying to generate an
executable from this code. This executable should be such that the user does not
have to install MPI library (STATIC library).<BR><BR>We have been trying to do
this from some time. We looked at intel help for statis libraries and many posts
regarding similar issues and could not find/develop a solution. Can any please
tell us that it is possible to do develop a stand alone MPI executable. If
possible what is the procedure in Visual Studio to get the
executable.<BR><BR>Gulshan </BODY></HTML>