Skip to content

Optimizing DoF filtering while extracting vertex data from FEniCS#135

Merged
BenjaminRodenberg merged 6 commits intodevelopfrom
optimize-dof-filtering
Jul 12, 2021
Merged

Optimizing DoF filtering while extracting vertex data from FEniCS#135
BenjaminRodenberg merged 6 commits intodevelopfrom
optimize-dof-filtering

Conversation

@IshaanDesai
Copy link
Member

This PR refactors the functions used to filter FEniCS DoFs for relevant vertex information for parallel computations. This refactoring was done as part of implementing 3D capability and was also tested on the LRZ Linux Cluster and found to reduce initialization time by a significant factor.

@IshaanDesai IshaanDesai self-assigned this Jul 7, 2021
@IshaanDesai IshaanDesai added the bug Something isn't working label Jul 7, 2021
Copy link
Contributor

@BenjaminRodenberg BenjaminRodenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is a huge improvement w.r.t performance for large cases!

Mostly comments on documentation and design/style. I did a performance test with the partitioned heat equation with each participant on one node with 28 cores. I did not see any degradation comparing d6f5590 (3D version) and ba9c61d (this PR). I will do another check with the latest change to make sure I did not do something stupid in 30295ec.

Copy link
Contributor

@BenjaminRodenberg BenjaminRodenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some smaller things.

I will do another round of performance checks with the final version and then merge.

@BenjaminRodenberg
Copy link
Contributor

Performance overall looks good as it is. Will merge this PR now.

@BenjaminRodenberg BenjaminRodenberg merged commit 361cfaf into develop Jul 12, 2021
@IshaanDesai IshaanDesai deleted the optimize-dof-filtering branch July 12, 2021 08:36
@BenjaminRodenberg BenjaminRodenberg added this to the v1.2.0 milestone Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants