# Parallel assembly of a finite element sparse matrix

**URL:** <https://discourse.julialang.org/t/parallel-assembly-of-a-finite-element-sparse-matrix/95947>\
**Category:** General Usage\
**Tags:** parallel\
**Created:** [March 12, 2023, 2:11am UTC](https://discourse.julialang.org/t/parallel-assembly-of-a-finite-element-sparse-matrix/95947 "2023-03-12T02:11:37Z")\
**Posts on this page:** 1\
**Showing post:** 34

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [February 11, 2024, 12:02am UTC](https://discourse.julialang.org/t/parallel-assembly-of-a-finite-element-sparse-matrix/95947/34 "2024-02-11T00:02:25Z")

</div>

It would seem I found a possible reason why the tasks are sometimes delayed, and also a possible solution: [Tasks with the same workloads sometimes finish in much longer time than others · Issue #53269 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/issues/53269#issuecomment-1937084122)

The parallel speedups on the Mac M2 Ultra of the assembly with 2, 4, 8, and 16 assembly tasks for an 8-million finite elements mesh:  
2: 1.9, 4: 3.49, 8: 6.53, 16: 11.08.

---

_[View the full topic](https://discourse.julialang.org/t/parallel-assembly-of-a-finite-element-sparse-matrix/95947)._
