Skip to content

Latest commit

 

History

History
57 lines (45 loc) · 2.67 KB

README_WINDOWS.md

File metadata and controls

57 lines (45 loc) · 2.67 KB

How to compile FreeFem++ on Microsoft Windows

april 2017

Visit this web page

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

./configure '--enable-download' '--disable-pastix' '--disable-hips'

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:

mpiexec.exe -np 4 FreeFem++-mpi DDM-Schwarz-Lame-2d.edp -wg

or without graphics:

mpiexec.exe -np 4 FreeFem++-mpi DDM-Schwarz-Lame-2d.edp

To use MPI, you must first install MSMPI

Download MS MPI V7, 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