Microsoft MPI (MS-MPI) is a Microsoft implementation of the Message Passing Interface standard for developing and running parallel applications on the Windows platform.
MS-MPI offers several benefits:
- Ease of porting existing code that uses MPICH.
- Security based on Active Directory Domain Services.
- High performance on the Windows operating system.
- Binary compatibility across different types of interconnectivity options.
MS-MPI is MPI 2.2 compliant with the exception of Fortran bindings errata around attributes interop between C and Fortran. MS-MPI implements a subset of features from MPI 3.1 standard:
- Non-blocking collectives,
- RMA,
- MPI shared memory,
- New datatypes,
- Large counts,
- Matched probe.
For the full list of APIs please see Microsoft MPI Reference.
The following are current downloads for MS-MPI:
- MS-MPI v10.1.2 (new!) - see Release notes
- The MS-MPI SDK is also available on Nuget.
Earlier versions of MS-MPI are available from the Microsoft Download Center.
- Featured tutorial: How to compile and run a simple MS-MPI program
- Featured guide: Set up a Windows RDMA cluster with HPC Pack and A8 and A9 instances to run MPI applications
- Microsoft High Performance Computing for Developers
- Microsoft HPC Pack (Windows HPC Server) Technical Library
- Azure HPC Scenarios
-
Please make sure to select the following workloads during installation:
- .NET desktop development (required for Nuget packages)
- Desktop development with C++
-
- Note: SDK and WDK version must match, otherwise
mc.exemay silently fail
- Note: SDK and WDK version must match, otherwise
-
- Update LLVM_DIR in Directory.Build.props to the install location of LLVM
- Note: LLVM Versions earlier than 21 are unsupported - this is due to file names for the flang runtime differing.
-
- Note: On ARM64 platforms, emulated x64 perl is fine, as it is only used as part of the build process
Based on the installed VS/SDK/WDK versions, update WindowsTargetPlatformVersion in Directory.Build.props
Before building, update the path in the variable ND_DIR to the clone directory of https://github.com/anthony-linaro/NetworkDirect
To build, open a Native Tools Command Prompt for Visual Studio and run msbuild from root folder.
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.