Quite new to openLB here, and was wondering if there is a
tutorial on how to compile openLB with openMP.
I’m able to compile the example tutorial files via the Makefile
using g++/gcc & cygwin in serial mode, however using PARALLEL_MODE := MPI,
the compilation is not sucessful, possibly due to the absence of the
MPIFLAGS component.
Any tips or suggestions on how to compile it would be appreciated.
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.
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok