HP-MPI User's Guide (11th Edition)
Frequently asked questions
Windows specific
Appendix D 307
If you are installing using command line flags, use /DIR="<path>" to
change the default location.
QUESTION: Which compilers does HP-MPI for Windows work with?
ANSWER: HP-MPI works well with all compilers. We explicitly test with
Visual Studio, Intel, and Portland compilers. HP-MPI strives not to
introduce compiler dependencies.
QUESTION: What libraries do I need to link with when I build?
ANSWER: We recommend using the mpicc and mpif90 scripts in
%MPI_ROOT%\bin to build. If you absolutely do not want to build with
these scripts, we recommend using them with the -show option to see
what they are doing and use that as a starting point for doing your build.
The -show option will print out the command to be used for the build and
not execute. Because these scripts are readable, you can examine them to
understand what gets linked in and when.
If you are building a project using Visual Studio IDE, we recommend
adding the provided HPMPI.vsprops (for 32-bit applications) or
HPMPI64.vsprops (for 64-bit applications) to the property pages by using
Visual Studio's Property Manager. Add this property page for each MPI
project in your solution.
QUESTION: How do I specifically build a 32-bit application on a 64-bit
architecture?
ANSWER
: On windows, open the appropriate compiler command window
to get the correct 32-bit or 64-bit compilers. When using mpicc or mpif90
scripts, include the -mpi32 or -mpi64 flag to link in the correct MPI
libraries.
QUESTION: How can I control which interconnect is used for running my
application?
ANSWER
: The default protocol on Windows is TCP. Windows currently
does not have automatic interconnect selection. To use InfiniBand, you
have two choices: WSD or IBAL.
WSD uses the same protocol as TCP. You must select the appropriate IP
subnet, specifically the IPoIB subnet for the InfiniBand drivers.
To select the desired subnet, use the -netaddr flag. For example:
R:\> mpirun -TCP -netaddr 192.168.1.1 -ccp -np 12 rank.exe
This will force TCP/IP to be used over the subnet associated with the
network interface with IP address 192.168.1.1.