Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29262 Discussions

Is stand alone MPI excutable possible?

utsagulshan
Beginner
654 Views
What we have:
Windows XP, Intel Fortran, Visual Studio, and MPI standard 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 doos 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
0 Kudos
3 Replies
TimP
Honored Contributor III
654 Views
For an Argonne MPICH option for static MPICH libraries you would have to follow their instructions to build or download static versions of their libraries, which you could add to Visual Studio library dependency.
www.mcs.anl.gov/research/projects/mpi/mpich1/docs/mpichntman/node18.htm (the old Argonne 32-bit mpich)
I'm not aware of any of the Argonne mpich versions being labeled "standard."
Intel MPI for Window is intended to be inter-operable with Argonne MPICH2, so that might be an option.
Of course, it is usual to rely on MPI dynamic libraries being present on a system where MPI is installed, as it is not possible to run MPI without such an installation, even if the libraries are static linked in your .exe.
You might get more expert attention to MPI questions on the HPC forum.
0 Kudos
utsagulshan
Beginner
654 Views
Quoting - tim18
For an Argonne MPICH option for static MPICH libraries you would have to follow their instructions to build or download static versions of their libraries, which you could add to Visual Studio library dependency.
www.mcs.anl.gov/research/projects/mpi/mpich1/docs/mpichntman/node18.htm (the old Argonne 32-bit mpich)
I'm not aware of any of the Argonne mpich versions being labeled "standard."
Intel MPI for Window is intended to be inter-operable with Argonne MPICH2, so that might be an option.
Of course, it is usual to rely on MPI dynamic libraries being present on a system where MPI is installed, as it is not possible to run MPI without such an installation, even if the libraries are static linked in your .exe.
You might get more expert attention to MPI questions on the HPC forum.

Thank you very much for your reply.

MPICH2 is what I have on my PC. I shold have written MPI library instead of standard.

Overall, I can not build an executable (with static libraries) that will run on a computer without installing MPICH2 (Intel or Argonne) on that computer. I was exploring this option because installing MPICH2 on windows requires administrator access. So no MPI without that access.
I think that atleast it is possible to build an executable that will run on a computer that already has MPICH2 installed.

I searched HPC forum and found this "http://www.hpcuserforum.com/" website. I assume you are talking about this form.

with warm regards
thanks again
0 Kudos
TimP
Honored Contributor III
654 Views
http://software.intel.com/en-us/forums/intel-clusters-and-hpc-technology/
If you're trying to set up MPI on multiple nodes, presumably on a 64-bit Windows, I don't know how you will do it without sufficient privilege to install MPICH2, but that discussion doesn't belong here.
0 Kudos
Reply