SlideShare a Scribd company logo
An asynchronous and task-based implementation of
peridynamics utilizing HPX—the C++ standard library
for parallelism and concurrency
Patrick Diehl
Thanks to Prashant Jha, who contributed to the code during his Postdoc at LSU.
LSU Center of Computation & Technology
pdiehl@cct.lsu.edu
December 1, 2021
P. Diehl (CCT/LSU) NLMech December 1, 2021 1 / 17
Motivation
Computer science aspects:
Asynchronous many-task
systems
Peridynamic aspects:
Bond-based and state-based
softening model
Explicit derivation of the
tangent stiffness matrix
P. Diehl (CCT/LSU) NLMech December 1, 2021 2 / 17
Overview
1 General information
2 Computer science aspects
3 Computational engineering aspects
4 Applications
5 Conclusion and Outlook
P. Diehl (CCT/LSU) NLMech December 1, 2021 3 / 17
General information
P. Diehl (CCT/LSU) NLMech December 1, 2021 4 / 17
General information
Code’s logo
Open Source
Modern C++
Boost license
Available on GitHub1
Intensive documentation2
Docker image for testing the code3
References
Diehl, Patrick, et al. ”An asynchronous and task-based implementation of peridynamics utilizing HPX—the C++
standard library for parallelism and concurrency.” SN Applied Sciences 2.12 (2020): 1-21.
Jha, Prashant K., and Patrick Diehl. ”NLMech: Implementation of finite difference/meshfree discretization of nonlocal
fracture models.” Journal of Open Source Software 6.65 (2021): 3020.
1
https://github.com/nonlocalmodels/NLMech
2
https://hub.docker.com/r/diehlpk/nlmech/tags?page=1&ordering=last_updated
3
https://nonlocalmodels.github.io/documentation/
P. Diehl (CCT/LSU) NLMech December 1, 2021 5 / 17
Computer science aspects
P. Diehl (CCT/LSU) NLMech December 1, 2021 6 / 17
HPX
HPX is a open source C++ Standard Library for Concurrency and
Parallelism1.
Features
HPX exposes a uniform, standards-oriented API for ease of
programming parallel and distributed applications.
HPX provides unified syntax and semantics for local and remote
operations.
HPX exposes a uniform, flexible, and extendable performance counter
framework which can enable runtime adaptivity.
References
Kaiser, Hartmut, et al. ”Hpx-the c++ standard library for parallelism and concurrency.” Journal of Open Source
Software 5.53 (2020): 2352.
1
https://github.com/STEllAR-GROUP/hpx
P. Diehl (CCT/LSU) NLMech December 1, 2021 7 / 17
Synchronous vs asynchronous communication
Reference
Daiß, Gregor, et al. ”From piz daint to the stars: Simulation of stellar mergers using high-level abstractions.”
Proceedings of the international conference for high performance computing, networking, storage and analysis. 2019.
P. Diehl (CCT/LSU) NLMech December 1, 2021 8 / 17
Load balancing for distributed nonlocal models
Reference
P. Gadikar, P. Diehl and P. Jha, ”Load balancing for distributed nonlocal models within asynchronous many-task
systems,” in 2021 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW), Portland,
OR, USA, 2021 pp. 669-678. doi: 10.1109/IPDPSW52791.2021.00103
P. Diehl (CCT/LSU) NLMech December 1, 2021 9 / 17
Computational engineering aspects
P. Diehl (CCT/LSU) NLMech December 1, 2021 10 / 17
Softening model
Reference
R. Lipton, E. Said, P. K. Jha, Dynamic brittle fracture from nonlocal double-well potentials: A state-based model,
Handbook of Nonlocal Continuum Mechanics for Materials and Structures (2018) 1–27
P. Diehl (CCT/LSU) NLMech December 1, 2021 11 / 17
Analytic stiffness matrix
Reference
Diehl, P., & Lipton, R. (2021, September 30). Quasistatic Fracture using Nonlinear-Nonlocal Elastostatics with Explicit
Tangent Stiffness Matrix. https://doi.org/10.31224/osf.io/3je6b
P. Diehl (CCT/LSU) NLMech December 1, 2021 12 / 17
Coupling with partition of unity methods
Reference
Birner, Matthias, et al. ”A Fracture Multiscale Model for Peridynamic enrichment within the Partition of Unity Method:
Part I.” arXiv preprint arXiv:2108.02336 (2021).
P. Diehl (CCT/LSU) NLMech December 1, 2021 13 / 17
Applications
P. Diehl (CCT/LSU) NLMech December 1, 2021 14 / 17
Applications
Lipton RP, Lehoucq RB, Jha PK. “Complex fracture nucleation and
evolution with nonlocal elastodynamics”. Journal of Peridynamics and
Nonlocal Modeling
Lipton RP, Said E, Jha PK.”Free damage propagation with memory”.
Journal of Elasticity, 14 March 2018, 133(2), 129-153
Jha PK, Lipton RP. Kinetic relations and local energy balance for
LEFM from a nonlocal peridynamic model. International Journal of
Fracture. 2020
P. Diehl (CCT/LSU) NLMech December 1, 2021 15 / 17
Conclusion and Outlook
P. Diehl (CCT/LSU) NLMech December 1, 2021 16 / 17
Conclusion and Outlook
Conclusion
Usage of asynchronous many-task systems and Modern C++.
Implementation of the softening model.
Outlook
Improve the distributed implementation
Add the explicit stiffness matrix.
Automate the coupling with the partition of unity method.
Thanks for your attention!
Questions?
P. Diehl (CCT/LSU) NLMech December 1, 2021 17 / 17

More Related Content

What's hot

Volume 2-issue-6-1933-1938
Volume 2-issue-6-1933-1938Volume 2-issue-6-1933-1938
Volume 2-issue-6-1933-1938
Editor IJARCET
 
NASA_EPSCoR_poster_2015
NASA_EPSCoR_poster_2015NASA_EPSCoR_poster_2015
NASA_EPSCoR_poster_2015
Longyin Cui
 
AnupVMathur
AnupVMathurAnupVMathur
AnupVMathur
anupmath
 

What's hot (18)

K-means Clustering Method for the Analysis of Log Data
K-means Clustering Method for the Analysis of Log DataK-means Clustering Method for the Analysis of Log Data
K-means Clustering Method for the Analysis of Log Data
 
On Execution Platforms for Large-Scale Aggregate Computing
On Execution Platforms for Large-Scale Aggregate ComputingOn Execution Platforms for Large-Scale Aggregate Computing
On Execution Platforms for Large-Scale Aggregate Computing
 
Learning Systems for Science
Learning Systems for ScienceLearning Systems for Science
Learning Systems for Science
 
Performance Analysis of K-mean Clustering Map for Different Nodes
Performance Analysis of K-mean Clustering Map for Different NodesPerformance Analysis of K-mean Clustering Map for Different Nodes
Performance Analysis of K-mean Clustering Map for Different Nodes
 
Sgg crest-presentation-final
Sgg crest-presentation-finalSgg crest-presentation-final
Sgg crest-presentation-final
 
A Novel Optimization of Cloud Instances with Inventory Theory Applied on Real...
A Novel Optimization of Cloud Instances with Inventory Theory Applied on Real...A Novel Optimization of Cloud Instances with Inventory Theory Applied on Real...
A Novel Optimization of Cloud Instances with Inventory Theory Applied on Real...
 
Coding the Continuum
Coding the ContinuumCoding the Continuum
Coding the Continuum
 
prj exam
prj examprj exam
prj exam
 
20 26
20 26 20 26
20 26
 
The Pacific Research Platform: Building a Distributed Big Data Machine Learni...
The Pacific Research Platform: Building a Distributed Big Data Machine Learni...The Pacific Research Platform: Building a Distributed Big Data Machine Learni...
The Pacific Research Platform: Building a Distributed Big Data Machine Learni...
 
Peering The Pacific Research Platform With The Great Plains Network
Peering The Pacific Research Platform With The Great Plains NetworkPeering The Pacific Research Platform With The Great Plains Network
Peering The Pacific Research Platform With The Great Plains Network
 
Volume 2-issue-6-1933-1938
Volume 2-issue-6-1933-1938Volume 2-issue-6-1933-1938
Volume 2-issue-6-1933-1938
 
Q04606103106
Q04606103106Q04606103106
Q04606103106
 
A Review: Metaheuristic Technique in Cloud Computing
A Review: Metaheuristic Technique in Cloud ComputingA Review: Metaheuristic Technique in Cloud Computing
A Review: Metaheuristic Technique in Cloud Computing
 
NASA_EPSCoR_poster_2015
NASA_EPSCoR_poster_2015NASA_EPSCoR_poster_2015
NASA_EPSCoR_poster_2015
 
The Materials Project: Experiences from running a million computational scien...
The Materials Project: Experiences from running a million computational scien...The Materials Project: Experiences from running a million computational scien...
The Materials Project: Experiences from running a million computational scien...
 
AnupVMathur
AnupVMathurAnupVMathur
AnupVMathur
 
Path Addressed Depth Based Routing
Path Addressed Depth Based RoutingPath Addressed Depth Based Routing
Path Addressed Depth Based Routing
 

Similar to An asynchronous and task-based implementation of peridynamics utilizing HPX—the C++ standard library for parallelism and concurrency

Simulating Stellar Merger using HPX/Kokkos on A64FX on Supercomputer Fugaku
Simulating Stellar Merger using HPX/Kokkos on A64FX on Supercomputer FugakuSimulating Stellar Merger using HPX/Kokkos on A64FX on Supercomputer Fugaku
Simulating Stellar Merger using HPX/Kokkos on A64FX on Supercomputer Fugaku
Patrick Diehl
 
Augmented Collective Digital Twins for Self-Organising Cyber-Physical Systems
Augmented Collective Digital Twins for Self-Organising Cyber-Physical SystemsAugmented Collective Digital Twins for Self-Organising Cyber-Physical Systems
Augmented Collective Digital Twins for Self-Organising Cyber-Physical Systems
Roberto Casadei
 
A semantic framework and software design to enable the transparent integratio...
A semantic framework and software design to enable the transparent integratio...A semantic framework and software design to enable the transparent integratio...
A semantic framework and software design to enable the transparent integratio...
Patricia Tavares Boralli
 
Digital Twins, Virtual Devices, and Augmentations for Self-Organising Cyber-P...
Digital Twins, Virtual Devices, and Augmentations for Self-Organising Cyber-P...Digital Twins, Virtual Devices, and Augmentations for Self-Organising Cyber-P...
Digital Twins, Virtual Devices, and Augmentations for Self-Organising Cyber-P...
Roberto Casadei
 
Linking data, models and tools an overview
Linking data, models and tools an overviewLinking data, models and tools an overview
Linking data, models and tools an overview
Gennadii Donchyts
 

Similar to An asynchronous and task-based implementation of peridynamics utilizing HPX—the C++ standard library for parallelism and concurrency (20)

Simulating Stellar Merger using HPX/Kokkos on A64FX on Supercomputer Fugaku
Simulating Stellar Merger using HPX/Kokkos on A64FX on Supercomputer FugakuSimulating Stellar Merger using HPX/Kokkos on A64FX on Supercomputer Fugaku
Simulating Stellar Merger using HPX/Kokkos on A64FX on Supercomputer Fugaku
 
Recent developments in HPX and Octo-Tiger
Recent developments in HPX and Octo-TigerRecent developments in HPX and Octo-Tiger
Recent developments in HPX and Octo-Tiger
 
Towards reproducibility and maximally-open data
Towards reproducibility and maximally-open dataTowards reproducibility and maximally-open data
Towards reproducibility and maximally-open data
 
Data dissemination and materials informatics at LBNL
Data dissemination and materials informatics at LBNLData dissemination and materials informatics at LBNL
Data dissemination and materials informatics at LBNL
 
Augmented Collective Digital Twins for Self-Organising Cyber-Physical Systems
Augmented Collective Digital Twins for Self-Organising Cyber-Physical SystemsAugmented Collective Digital Twins for Self-Organising Cyber-Physical Systems
Augmented Collective Digital Twins for Self-Organising Cyber-Physical Systems
 
A semantic framework and software design to enable the transparent integratio...
A semantic framework and software design to enable the transparent integratio...A semantic framework and software design to enable the transparent integratio...
A semantic framework and software design to enable the transparent integratio...
 
Benchmarking the Parallel 1D Heat Equation Solver in Chapel, Charm++, C++, HP...
Benchmarking the Parallel 1D Heat Equation Solver in Chapel, Charm++, C++, HP...Benchmarking the Parallel 1D Heat Equation Solver in Chapel, Charm++, C++, HP...
Benchmarking the Parallel 1D Heat Equation Solver in Chapel, Charm++, C++, HP...
 
CONTEXT-AWARE CLUSTERING USING GLOVE AND K-MEANS
CONTEXT-AWARE CLUSTERING USING GLOVE AND K-MEANSCONTEXT-AWARE CLUSTERING USING GLOVE AND K-MEANS
CONTEXT-AWARE CLUSTERING USING GLOVE AND K-MEANS
 
AI Science
AI Science AI Science
AI Science
 
Deep learning and reasoning: Recent advances
Deep learning and reasoning: Recent advancesDeep learning and reasoning: Recent advances
Deep learning and reasoning: Recent advances
 
Deep learning 1.0 and Beyond, Part 1
Deep learning 1.0 and Beyond, Part 1Deep learning 1.0 and Beyond, Part 1
Deep learning 1.0 and Beyond, Part 1
 
Digital Twins, Virtual Devices, and Augmentations for Self-Organising Cyber-P...
Digital Twins, Virtual Devices, and Augmentations for Self-Organising Cyber-P...Digital Twins, Virtual Devices, and Augmentations for Self-Organising Cyber-P...
Digital Twins, Virtual Devices, and Augmentations for Self-Organising Cyber-P...
 
Recent articles published in VLSI design & Communication Systems
 Recent articles published in VLSI design & Communication Systems Recent articles published in VLSI design & Communication Systems
Recent articles published in VLSI design & Communication Systems
 
Linking data, models and tools an overview
Linking data, models and tools an overviewLinking data, models and tools an overview
Linking data, models and tools an overview
 
CNN Structure: From LeNet to ShuffleNet
CNN Structure: From LeNet to ShuffleNetCNN Structure: From LeNet to ShuffleNet
CNN Structure: From LeNet to ShuffleNet
 
6th eCAS workshop on Engineering Collective Adaptive Systems
6th eCAS workshop on Engineering Collective Adaptive Systems6th eCAS workshop on Engineering Collective Adaptive Systems
6th eCAS workshop on Engineering Collective Adaptive Systems
 
A Linked Fusion of Things, Services, and Data to Support a Collaborative Data...
A Linked Fusion of Things, Services, and Data to Support a Collaborative Data...A Linked Fusion of Things, Services, and Data to Support a Collaborative Data...
A Linked Fusion of Things, Services, and Data to Support a Collaborative Data...
 
Enase20.ppt
Enase20.pptEnase20.ppt
Enase20.ppt
 
Combining density functional theory calculations, supercomputing, and data-dr...
Combining density functional theory calculations, supercomputing, and data-dr...Combining density functional theory calculations, supercomputing, and data-dr...
Combining density functional theory calculations, supercomputing, and data-dr...
 
Hala skafkeynote@conferencedata2021
Hala skafkeynote@conferencedata2021Hala skafkeynote@conferencedata2021
Hala skafkeynote@conferencedata2021
 

More from Patrick Diehl

Framework for Extensible, Asynchronous Task Scheduling (FEATS) in Fortran
Framework for Extensible, Asynchronous Task Scheduling (FEATS) in FortranFramework for Extensible, Asynchronous Task Scheduling (FEATS) in Fortran
Framework for Extensible, Asynchronous Task Scheduling (FEATS) in Fortran
Patrick Diehl
 
A tale of two approaches for coupling nonlocal and local models
A tale of two approaches for coupling nonlocal and local modelsA tale of two approaches for coupling nonlocal and local models
A tale of two approaches for coupling nonlocal and local models
Patrick Diehl
 
Interactive C++ code development using C++Explorer and GitHub Classroom for e...
Interactive C++ code development using C++Explorer and GitHub Classroom for e...Interactive C++ code development using C++Explorer and GitHub Classroom for e...
Interactive C++ code development using C++Explorer and GitHub Classroom for e...
Patrick Diehl
 
Quasistatic Fracture using Nonliner-Nonlocal Elastostatics with an Analytic T...
Quasistatic Fracture using Nonliner-Nonlocal Elastostatics with an Analytic T...Quasistatic Fracture using Nonliner-Nonlocal Elastostatics with an Analytic T...
Quasistatic Fracture using Nonliner-Nonlocal Elastostatics with an Analytic T...
Patrick Diehl
 
Google Summer of Code mentor summit 2020 - Session 2 - Open Science and Open ...
Google Summer of Code mentor summit 2020 - Session 2 - Open Science and Open ...Google Summer of Code mentor summit 2020 - Session 2 - Open Science and Open ...
Google Summer of Code mentor summit 2020 - Session 2 - Open Science and Open ...
Patrick Diehl
 

More from Patrick Diehl (16)

Evaluating HPX and Kokkos on RISC-V using an Astrophysics Application Octo-Tiger
Evaluating HPX and Kokkos on RISC-V using an Astrophysics Application Octo-TigerEvaluating HPX and Kokkos on RISC-V using an Astrophysics Application Octo-Tiger
Evaluating HPX and Kokkos on RISC-V using an Astrophysics Application Octo-Tiger
 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?
 
Evaluating HPX and Kokkos on RISC-V Using an Astrophysics Application Octo-Tiger
Evaluating HPX and Kokkos on RISC-V Using an Astrophysics Application Octo-TigerEvaluating HPX and Kokkos on RISC-V Using an Astrophysics Application Octo-Tiger
Evaluating HPX and Kokkos on RISC-V Using an Astrophysics Application Octo-Tiger
 
D-HPC Workshop Panel : S4PST: Stewardship of Programming Systems and Tools
D-HPC Workshop Panel : S4PST: Stewardship of Programming Systems and ToolsD-HPC Workshop Panel : S4PST: Stewardship of Programming Systems and Tools
D-HPC Workshop Panel : S4PST: Stewardship of Programming Systems and Tools
 
Subtle Asynchrony by Jeff Hammond
Subtle Asynchrony by Jeff HammondSubtle Asynchrony by Jeff Hammond
Subtle Asynchrony by Jeff Hammond
 
Framework for Extensible, Asynchronous Task Scheduling (FEATS) in Fortran
Framework for Extensible, Asynchronous Task Scheduling (FEATS) in FortranFramework for Extensible, Asynchronous Task Scheduling (FEATS) in Fortran
Framework for Extensible, Asynchronous Task Scheduling (FEATS) in Fortran
 
JOSS and FLOSS for science: Examples for promoting open source software and s...
JOSS and FLOSS for science: Examples for promoting open source software and s...JOSS and FLOSS for science: Examples for promoting open source software and s...
JOSS and FLOSS for science: Examples for promoting open source software and s...
 
A tale of two approaches for coupling nonlocal and local models
A tale of two approaches for coupling nonlocal and local modelsA tale of two approaches for coupling nonlocal and local models
A tale of two approaches for coupling nonlocal and local models
 
Challenges for coupling approaches for classical linear elasticity and bond-b...
Challenges for coupling approaches for classical linear elasticity and bond-b...Challenges for coupling approaches for classical linear elasticity and bond-b...
Challenges for coupling approaches for classical linear elasticity and bond-b...
 
Quantifying Overheads in Charm++ and HPX using Task Bench
Quantifying Overheads in Charm++ and HPX using Task BenchQuantifying Overheads in Charm++ and HPX using Task Bench
Quantifying Overheads in Charm++ and HPX using Task Bench
 
Interactive C++ code development using C++Explorer and GitHub Classroom for e...
Interactive C++ code development using C++Explorer and GitHub Classroom for e...Interactive C++ code development using C++Explorer and GitHub Classroom for e...
Interactive C++ code development using C++Explorer and GitHub Classroom for e...
 
Quasistatic Fracture using Nonliner-Nonlocal Elastostatics with an Analytic T...
Quasistatic Fracture using Nonliner-Nonlocal Elastostatics with an Analytic T...Quasistatic Fracture using Nonliner-Nonlocal Elastostatics with an Analytic T...
Quasistatic Fracture using Nonliner-Nonlocal Elastostatics with an Analytic T...
 
A review of benchmark experiments for the validation of peridynamics models
A review of benchmark experiments for the validation of peridynamics modelsA review of benchmark experiments for the validation of peridynamics models
A review of benchmark experiments for the validation of peridynamics models
 
On the treatment of boundary conditions for bond-based peridynamic models
On the treatment of boundary conditions for bond-based peridynamic modelsOn the treatment of boundary conditions for bond-based peridynamic models
On the treatment of boundary conditions for bond-based peridynamic models
 
EMI 2021 - A comparative review of peridynamics and phase-field models for en...
EMI 2021 - A comparative review of peridynamics and phase-field models for en...EMI 2021 - A comparative review of peridynamics and phase-field models for en...
EMI 2021 - A comparative review of peridynamics and phase-field models for en...
 
Google Summer of Code mentor summit 2020 - Session 2 - Open Science and Open ...
Google Summer of Code mentor summit 2020 - Session 2 - Open Science and Open ...Google Summer of Code mentor summit 2020 - Session 2 - Open Science and Open ...
Google Summer of Code mentor summit 2020 - Session 2 - Open Science and Open ...
 

Recently uploaded

JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)
Max Lee
 

Recently uploaded (20)

A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
A Python-based approach to data loading in TM1 - Using Airflow as an ETL for TM1
 
Breaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdfBreaking the Code : A Guide to WhatsApp Business API.pdf
Breaking the Code : A Guide to WhatsApp Business API.pdf
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
 
How To Build a Successful SaaS Design.pdf
How To Build a Successful SaaS Design.pdfHow To Build a Successful SaaS Design.pdf
How To Build a Successful SaaS Design.pdf
 
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfA Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
 
JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)JustNaik Solution Deck (stage bus sector)
JustNaik Solution Deck (stage bus sector)
 
INGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by DesignINGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by Design
 
Benefits of Employee Monitoring Software
Benefits of  Employee Monitoring SoftwareBenefits of  Employee Monitoring Software
Benefits of Employee Monitoring Software
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
 
Agnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in KrakówAgnieszka Andrzejewska - BIM School Course in Kraków
Agnieszka Andrzejewska - BIM School Course in Kraków
 
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAGAI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
 
Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024
 
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
 
Top Mobile App Development Companies 2024
Top Mobile App Development Companies 2024Top Mobile App Development Companies 2024
Top Mobile App Development Companies 2024
 
How to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabberHow to install and activate eGrabber JobGrabber
How to install and activate eGrabber JobGrabber
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
 
A Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationA Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data Migration
 

An asynchronous and task-based implementation of peridynamics utilizing HPX—the C++ standard library for parallelism and concurrency

  • 1. An asynchronous and task-based implementation of peridynamics utilizing HPX—the C++ standard library for parallelism and concurrency Patrick Diehl Thanks to Prashant Jha, who contributed to the code during his Postdoc at LSU. LSU Center of Computation & Technology pdiehl@cct.lsu.edu December 1, 2021 P. Diehl (CCT/LSU) NLMech December 1, 2021 1 / 17
  • 2. Motivation Computer science aspects: Asynchronous many-task systems Peridynamic aspects: Bond-based and state-based softening model Explicit derivation of the tangent stiffness matrix P. Diehl (CCT/LSU) NLMech December 1, 2021 2 / 17
  • 3. Overview 1 General information 2 Computer science aspects 3 Computational engineering aspects 4 Applications 5 Conclusion and Outlook P. Diehl (CCT/LSU) NLMech December 1, 2021 3 / 17
  • 4. General information P. Diehl (CCT/LSU) NLMech December 1, 2021 4 / 17
  • 5. General information Code’s logo Open Source Modern C++ Boost license Available on GitHub1 Intensive documentation2 Docker image for testing the code3 References Diehl, Patrick, et al. ”An asynchronous and task-based implementation of peridynamics utilizing HPX—the C++ standard library for parallelism and concurrency.” SN Applied Sciences 2.12 (2020): 1-21. Jha, Prashant K., and Patrick Diehl. ”NLMech: Implementation of finite difference/meshfree discretization of nonlocal fracture models.” Journal of Open Source Software 6.65 (2021): 3020. 1 https://github.com/nonlocalmodels/NLMech 2 https://hub.docker.com/r/diehlpk/nlmech/tags?page=1&ordering=last_updated 3 https://nonlocalmodels.github.io/documentation/ P. Diehl (CCT/LSU) NLMech December 1, 2021 5 / 17
  • 6. Computer science aspects P. Diehl (CCT/LSU) NLMech December 1, 2021 6 / 17
  • 7. HPX HPX is a open source C++ Standard Library for Concurrency and Parallelism1. Features HPX exposes a uniform, standards-oriented API for ease of programming parallel and distributed applications. HPX provides unified syntax and semantics for local and remote operations. HPX exposes a uniform, flexible, and extendable performance counter framework which can enable runtime adaptivity. References Kaiser, Hartmut, et al. ”Hpx-the c++ standard library for parallelism and concurrency.” Journal of Open Source Software 5.53 (2020): 2352. 1 https://github.com/STEllAR-GROUP/hpx P. Diehl (CCT/LSU) NLMech December 1, 2021 7 / 17
  • 8. Synchronous vs asynchronous communication Reference Daiß, Gregor, et al. ”From piz daint to the stars: Simulation of stellar mergers using high-level abstractions.” Proceedings of the international conference for high performance computing, networking, storage and analysis. 2019. P. Diehl (CCT/LSU) NLMech December 1, 2021 8 / 17
  • 9. Load balancing for distributed nonlocal models Reference P. Gadikar, P. Diehl and P. Jha, ”Load balancing for distributed nonlocal models within asynchronous many-task systems,” in 2021 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW), Portland, OR, USA, 2021 pp. 669-678. doi: 10.1109/IPDPSW52791.2021.00103 P. Diehl (CCT/LSU) NLMech December 1, 2021 9 / 17
  • 10. Computational engineering aspects P. Diehl (CCT/LSU) NLMech December 1, 2021 10 / 17
  • 11. Softening model Reference R. Lipton, E. Said, P. K. Jha, Dynamic brittle fracture from nonlocal double-well potentials: A state-based model, Handbook of Nonlocal Continuum Mechanics for Materials and Structures (2018) 1–27 P. Diehl (CCT/LSU) NLMech December 1, 2021 11 / 17
  • 12. Analytic stiffness matrix Reference Diehl, P., & Lipton, R. (2021, September 30). Quasistatic Fracture using Nonlinear-Nonlocal Elastostatics with Explicit Tangent Stiffness Matrix. https://doi.org/10.31224/osf.io/3je6b P. Diehl (CCT/LSU) NLMech December 1, 2021 12 / 17
  • 13. Coupling with partition of unity methods Reference Birner, Matthias, et al. ”A Fracture Multiscale Model for Peridynamic enrichment within the Partition of Unity Method: Part I.” arXiv preprint arXiv:2108.02336 (2021). P. Diehl (CCT/LSU) NLMech December 1, 2021 13 / 17
  • 14. Applications P. Diehl (CCT/LSU) NLMech December 1, 2021 14 / 17
  • 15. Applications Lipton RP, Lehoucq RB, Jha PK. “Complex fracture nucleation and evolution with nonlocal elastodynamics”. Journal of Peridynamics and Nonlocal Modeling Lipton RP, Said E, Jha PK.”Free damage propagation with memory”. Journal of Elasticity, 14 March 2018, 133(2), 129-153 Jha PK, Lipton RP. Kinetic relations and local energy balance for LEFM from a nonlocal peridynamic model. International Journal of Fracture. 2020 P. Diehl (CCT/LSU) NLMech December 1, 2021 15 / 17
  • 16. Conclusion and Outlook P. Diehl (CCT/LSU) NLMech December 1, 2021 16 / 17
  • 17. Conclusion and Outlook Conclusion Usage of asynchronous many-task systems and Modern C++. Implementation of the softening model. Outlook Improve the distributed implementation Add the explicit stiffness matrix. Automate the coupling with the partition of unity method. Thanks for your attention! Questions? P. Diehl (CCT/LSU) NLMech December 1, 2021 17 / 17