Build SU2 on Windows
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
- 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
Install MinGW by executing the installer
mingw-w64-install.exe. Choose Version
x86_64on 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
Now you can follow the steps in the Linux/MacOS Configuration and Compilation section. But make sure to use
python meson.py and
ninja.exe instead of
Running the executables
Follow the installation guide.