Setting up MS MPI (Microsoft MPI) on Windows 10 / Windows 7

Setting up MS MPI (Microsoft MPI) on Windows 10 / Windows 7

How to install MS MPI on Windows OS

MPI is a Message Passing library standard that allows programmers to develop applications that can run in parallel on multiple independent systems. By doing so, we can harness the computing power and memory of multiple systems to solve a single problem.

The time required to solve a problem can be cut down by adding more workers i.e., compute systems.

Microsoft has an implementation of MPI, called as MS MPI.

This was my first attempt to setup MPI on Windows 10 and Windows 7 workstations. I did many such setups on Linux but never tried on Windows.

I will just brief the process and the issues I have faced, this might help you as well.

1. Download MS MPI packages from the official Microsoft website.

Typically, you have to download MSMPI SDK which has set of libraries to compile and linkup MPI applications on Windows and MSMPI executables to launch and run MPI applications.


2. Install both of them. Just double click and acept license agreement. Installation is pretty simple if you are lucky. Unfortunately, I wasn’t. I got the following weird error with not much further info.

“MS-MPI Installation failed with error code 1603”

I was struggling to get more information on error so that I can debug it. You can track whatever you want in Linux by looking at installer logs, system logs, strace, gtsack etc., I had no clue how to do it on Windows.

Finally, I figured out a way to enable installer logs.


To enable Installer logging on Windows:

Open the registry by using Regedit.exe, and then create the following subkey and keys:

Reg_SZ: Logging
Value: voicewarmup
Once you enable logging, run the installer again. After you finish instllation you can find the log file in Windows TEMP directory.
To open TEMP directory type “%temp%” from Windows Run Prompt. To open Windows “Run Prompt” press keys “Windows Button + R”.
After looking at the log, I seriously didn’t have any clue. It said prematurely ended not much info. I disabled antivirus and enabled firewall and Windows defender as said in many blogs but no use.
Resolution : I did Windows update and restarted my workstaions and it worked ­čÖé
I will update this blog or write another article on how to compile and launch MPI applications on Windows.




Leave a Reply

Your email address will not be published. Required fields are marked *