Build SU2 on Windows

This document will guide you through the steps to compile SU2 on Windows using the Minimalist GNU for Windows development environment (MinGW) and Microsoft MPI.

Note that there are multiple other ways of compiling SU2 on Windows (for example using Cygwin, Visual Studio, the Linux Subsystem) and all of them should(!) work one way or the other, however, we can only document (and support) a limited number of possibilities.


  • Windows 10*
  • Python 3.7 (download here or from the Microsoft Store)
  • MinGW-w64 version 8.1.0* (download here)
  • Microsoft MPI v10.1.2* (download here, you need the msmpisetup.exe and the msmpisdk.msi)
  • SU2 v7.x.x (download here or clone using git)

*Other version might work, but this has not been verified yet.

Installation of Dependencies

  • Install Microsoft MPI by simply executing the installers msmpisetup.exe and the msmpisdk.msi.

  • Install MinGW by executing the installer mingw-w64-install.exe. Choose Version 8.1.0 and Architecture x86_64 on the Settings page. Everything else can stay on their default values. On the next page set a destination folder and remember it! Click next until everything has been downloaded and installed.

Configuration and Compilation

In the file browser go to the mingw installation directory and execute the file mingw-w64. This should open the command prompt. Navigate to the SU2 source code directory (in the command prompt you can change directories using cd and list directories using dir). Now you can follow the steps in the Linux/MacOS Configuration and Compilation section. But make sure to use python and ninja.exe instead of ./ and ./ninja, respectively.

Running the executables

Follow the installation guide.

Improve this page