Page 1 of 1

OpenMP support in Elmer

Posted: 08 Mar 2018, 13:18
by kataja
There has been an ongoing effort in threading and vectorization of certain parts of Elmer. To make use of the OpenMP support, Elmer needs to be recompiled with cmake option

Code: Select all

 WITH_OpenMP=TRUE 
and the number of threads is controlled by the

Code: Select all

 OMP_NUM_THREADS
environment variable.

Cheers,
Juhani

Re: OpenMP support in Elmer

Posted: 08 Mar 2018, 17:44
by raback
Hi

Those willing to have a closer look, there are two threaded versions of the ModelPDE among the tests: ModelPDEthreaded and ModelPDEevol. The latter also includes more efficient versions for list operations.

Also some internal Krylov methods of Elmer have been thereaded.

-Peter