# How to compile FreeFem++ on Microsoft Windows _april 2017_ Visit this [web page](http://www.freefem.org/ff++/windows.php) Bug warning (Windows 64): if you launch FreeFem++ without script by double clicking on the icon, you get an error (it is due to a bug in GetOpenFileName). From version 3.52 onwards, the Windows 64 version is built with MPI support and with the following options ```bash ./configure '--enable-download' ``` Then, execute and follow the instructions. ## To test the MPI usage: in windows terminal (cmd, shell, PowerShell) Go to the directory `C:\Program Files (86)\FreeFem++\examples\mpi` To lauch an example: ```bash mpiexec.exe -np 4 FreeFem++-mpi DDM-Schwarz-Lame-2d.edp -wg ``` or without graphics: ```bash mpiexec.exe -np 4 FreeFem++-mpi DDM-Schwarz-Lame-2d.edp ``` ## To use MPI, you must first install `MSMPI` Download [MS MPI V7](https://www.microsoft.com/en-us/download/details.aspx?id=49926 ), and install both `msmpisdk.msi` and `MSMpiSetup.exe`. Remark: Under msys2 do not forger to do open `c:\msys64\mingw64.ini` in an editor and remove `rem` before `set MSYS2_PATH_TYPE=inherit`