Page 1 of 1

Multithreading

Posted: 02 Feb 2016, 15:10
by Franz Pichler
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

Re: Multithreading

Posted: 05 Feb 2016, 11:05
by Franz Pichler
Any thoughts?