ON PARALLELIZATION OF ASSEMLY OPERATIONS IN FINITE ELEMENT SOFTWARE


Abstract eng:
Current development in computer hardware brings in new opportunities in numerical modelling. Computers with a single processing unit, where only one instruction can be processed at any moment in time, allow us to run simulation codes only sequentially. The performance of single processing units is reaching the physical limits, given by transmission delays and heat build-up on the silicon chips. The future of scientific computing seems to be in parallel computing, that allows to overcome the limitations of traditional sequential processing units. Parallel computing is based on simultaneous use of multiple processing units. The fundamental paradigm in parallel computing is based on work decomposition into pieces of work that can be processed simultaneously. This contribution focuses on parallelization of sparse matrix and global vector assembly operations, which are typical to any finite element code. The aim of presented work is to propose an alternative approach to assembly operation based on decomposition of the work into independent element groups, members of which can be processed concurrently without blocking operation. The individual groups contain elements contributing to distinct entries in sparse matrix or global vector. Such decomposition is done using colouring algorithm. As the elements in group contribute to distinct locations, there is no need to prevent the race condition, that can occur when the same location is updated simultaneously. It is only necessary to enforce synchronization before processing each element group. Efficiency of implemented approach is compared to approach based on decomposition of assembly loop using OpenMP and POSIX threads directives and explicit locking of updated locations in sparse matrix or global vector, which was published by the authors in (Bosansky & Patzak, 2016a) and (Bosansky & Patzak, 2016b).

Contributors:
Publisher:
Institute of Thermomechanics AS CR, v.v.i., Praha
Conference Title:
Conference Title:
Engineering Mechanics 2016
Conference Venue:
Svratka, CZ
Conference Dates:
2016-05-09 / 2016-05-12
Rights:
Text je chráněný podle autorského zákona č. 121/2000 Sb.



Record appears in:



 Record created 2016-08-16, last modified 2016-08-16


Original version of the author's contribution as presented on CD, id 016, section SOL.:
Download fulltext
PDF

Rate this document:

Rate this document:
1
2
3
 
(Not yet reviewed)