Reply To: Multiprocessing Compilation
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Multiprocessing Compilation › Reply To: Multiprocessing Compilation
December 8, 2021 at 2:01 pm
#6212
Adrian
Keymaster
In order to compile in OpenMP mode you only need to set PARALLEL_MODE := OMP
in config.mk
.
For MPI you need to set this variable to MPI
(as you did) but also change the compiler to the desired MPI wrapper, e.g. mpic++
.
For usage on Windows we recommend the WSL instead of (frequently problematic) Cygwin.