OpenMP support in Elmer

Discussion about building and installing Elmer
Post Reply
kataja
Posts: 73
Joined: 09 May 2014, 16:06
Antispam: Yes

OpenMP support in Elmer

Post by kataja » 08 Mar 2018, 13:18

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

raback
Site Admin
Posts: 3330
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: OpenMP support in Elmer

Post by raback » 08 Mar 2018, 17:44

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

Post Reply