Multithreading

High Performance Computing with Elmer
Post Reply
Franz Pichler
Posts: 196
Joined: 29 Sep 2011, 12:25
Antispam: Yes

Multithreading

Post by Franz Pichler » 02 Feb 2016, 15:10

Hi everybody,

i was wondering if there is an example of the omp capabilities within elmer. Or is there even an overview somehwere.
When i interpret the code fragments throughout the solvers in the rigth way then:
1)for now the multithreading is applied to matrix assembly only
2) the multithreading is used on the element loop in the assembling routines. So every thread takes an element and calculates its contribution to the global matrix. Is the summation into the global matrix thread safe? Does the user/solver have to take care of that?

any comments are appreciated

best regards
Franz

Franz Pichler
Posts: 196
Joined: 29 Sep 2011, 12:25
Antispam: Yes

Re: Multithreading

Post by Franz Pichler » 05 Feb 2016, 11:05

Any thoughts?

Post Reply