Automatic differentiation of C++ codes for large-scale scientific computing

被引:0
|
作者
Bartlett, Roscoe A. [1 ]
Gay, David M. [1 ]
Phipps, Eric T. [1 ]
机构
[1] Sandia Natl Labs, Albuquerque, NM 87185 USA
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We discuss computing first derivatives for models based on elements, such as large-scale finite-element PDE discretizations, implemented in the C++ programming language. We use a hybrid technique of automatic differentiation (AD) and manual assembly, with local element-level derivatives computed via AD and manually summed into the global derivative. C++ templating and operator overloading work well for both forward- and reverse-mode derivative computations. We found that AD derivative computations compared favorably in time to finite differencing for a scalable finite-element discretization of a convection-diffusion problem in two dimensions.
引用
收藏
页码:525 / 532
页数:8
相关论文
共 50 条
  • [1] Fault tolerance in large-scale scientific computing
    Hough, Patricia D.
    Howle, Victoria E.
    [J]. PARALLEL PROCESSING FOR SCIENTIFIC COMPUTING, 2006, : 203 - 220
  • [2] Automatic Monitoring of Large-Scale Computing Infrastructure
    Kim, Bockjoo
    Bourilkov, Dimitri
    [J]. 26TH INTERNATIONAL CONFERENCE ON COMPUTING IN HIGH ENERGY AND NUCLEAR PHYSICS, CHEP 2023, 2024, 295
  • [3] AUTOMATIC DIFFERENTIATION IN C++
    JERRELL, ME
    [J]. JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 1990, 3 (01): : 17 - &
  • [4] Mesh data management in large-scale scientific computing
    Chen, Hong
    Zheng, Winmin
    [J]. PROCEEDINGS OF THE THIRD CHINAGRID ANNUAL CONFERENCE, 2008, : 144 - 152
  • [5] Research on parallel visualization in large-scale scientific computing
    Gao, Jiaquan
    Zhao, Duanyang
    [J]. ICAT 2006: 16TH INTERNATIONAL CONFERENCE ON ARTIFICIAL REALITY AND TELEXISTENCE - WORSHOPS, PROCEEDINGS, 2006, : 149 - +
  • [6] Distributed Domain Generation for Large-Scale Scientific Computing
    Ertl, Christoph
    Mundani, Ralf-Peter
    [J]. 2021 20TH INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED COMPUTING (ISPDC), 2021, : 105 - 113
  • [7] Large-scale scientific irregular computing on clusters and grids
    Brezany, P
    Bubak, M
    Malawski, M
    Zajac, K
    [J]. COMPUTATIONAL SCIENCE-ICCS 2002, PT I, PROCEEDINGS, 2002, 2329 : 484 - 493
  • [8] Emerging programming paradigms for large-scale scientific computing
    Oliker, Leonid
    Nishtala, Rajesh
    Biswas, Rupak
    [J]. PARALLEL COMPUTING, 2011, 37 (09) : 499 - 500
  • [9] LARGE-SCALE SCIENTIFIC COMPUTING AT LOS-ALAMOS
    BUZBEE, BL
    [J]. SIAM REVIEW, 1978, 20 (03) : 621 - 621
  • [10] LARGE-SCALE SCIENTIFIC COMPUTING - FUTURE-DIRECTIONS
    PATTERSON, GS
    [J]. COMPUTER PHYSICS COMMUNICATIONS, 1982, 26 (3-4) : 217 - 225