[mpich-discuss] Is stand alone MPI executable possible?
Jayesh Krishna
jayesh at mcs.anl.gov
Fri Oct 2 15:39:46 CDT 2009
Hi,
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).
Please follow the steps below when distributing your MPI application
(these are the steps followed by our users who distribute MPI apps),
# Compile your MPI program with MPICH2
# 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.
# Package the MPICH2 dlls. (Look for mpich2*.dll, mpe*.dll & fmpich*.dll
in your c:\windows\system32 directory) with your pgm.
# When installing your MPI program,
---- install the MPICH2 program manager, smpd, using the "-install" option
(smpd -install).
---- 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
Let us know if you need further help.
Regards,
Jayesh
_____
From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Gulshan Singh
Sent: Friday, October 02, 2009 3:02 PM
To: mpich-discuss at mcs.anl.gov
Subject: [mpich-discuss] Is stand alone MPI executable possible?
What we have:
Windows XP, Intel Fortran, Visual Studio, and MPI library from Argonne
National Labrotary.
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).
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.
Gulshan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20091002/e7f5342e/attachment.htm>
More information about the mpich-discuss
mailing list