13 results on '"Blühdorn, Johannes"'
Search Results
2. Hybrid parallel discrete adjoints in SU2
- Author
-
Blühdorn, Johannes, Gomes, Pedro, Aehle, Max, and Gauger, Nicolas R.
- Subjects
Computer Science - Mathematical Software ,D.1.3 ,G.1.4 ,G.4 ,J.2 - Abstract
The open-source multiphysics suite SU2 features discrete adjoints by means of operator overloading automatic differentiation (AD). While both primal and discrete adjoint solvers support MPI parallelism, hybrid parallelism using both MPI and OpenMP has only been introduced for the primal solvers so far. In this work, we enable hybrid parallel discrete adjoint solvers. Coupling SU2 with OpDiLib, an add-on for operator overloading AD tools that extends AD to OpenMP parallelism, marks a key step in this endeavour. We identify the affected parts of SU2's advanced AD workflow and discuss the required changes and their tradeoffs. Detailed performance studies compare MPI parallel and hybrid parallel discrete adjoints in terms of memory and runtime and unveil key performance characteristics. We showcase the effectiveness of performance optimizations and highlight perspectives for future improvements. At the same time, this study demonstrates the applicability of OpDiLib in a large code base and its scalability on large test cases, providing valuable insights for future applications both within and beyond SU2., Comment: 28 pages, 9 figures, 2 listings; new layout, revised section structure, polishing and small updates
- Published
- 2024
3. Reverse-Mode Automatic Differentiation of Compiled Programs
- Author
-
Aehle, Max, Blühdorn, Johannes, Sagebaum, Max, and Gauger, Nicolas R.
- Subjects
Computer Science - Mathematical Software - Abstract
Tools for algorithmic differentiation (AD) provide accurate derivatives of computer-implemented functions for use in, e. g., optimization and machine learning (ML). However, they often require the source code of the function to be available in a restricted set of programming languages. As a step towards making AD accessible for code bases with cross-language or closed-source components, we recently presented the forward-mode AD tool Derivgrind. It inserts forward-mode AD logic into the machine code of a compiled program using the Valgrind dynamic binary instrumentation framework. This work extends Derivgrind, adding the capability to record the real-arithmetic evaluation tree, and thus enabling operator overloading style reverse-mode AD for compiled programs. We maintain the high level of correctness reported for Derivgrind's forward mode, failing the same few testcases in an extensive test suite for the same well-understood reasons. Runtime-wise, the recording slows down the execution of a compiled 64-bit benchmark program by a factor of about 180., Comment: 17 pages, 5 figures, 1 listing
- Published
- 2022
4. Forward-Mode Automatic Differentiation of Compiled Programs
- Author
-
Aehle, Max, Blühdorn, Johannes, Sagebaum, Max, and Gauger, Nicolas R.
- Subjects
Computer Science - Mathematical Software - Abstract
Algorithmic differentiation (AD) is a set of techniques that provide partial derivatives of computer-implemented functions. Such a function can be supplied to state-of-the-art AD tools via its source code, or via an intermediate representation produced while compiling its source code. We present the novel AD tool Derivgrind, which augments the machine code of compiled programs with forward-mode AD logic. Derivgrind leverages the Valgrind instrumentation framework for a structured access to the machine code, and a shadow memory tool to store dot values. Access to the source code is required at most for the files in which input and output variables are defined. Derivgrind's versatility comes at the price of scaling the run-time by a factor between 30 and 75, measured on a benchmark based on a numerical solver for a partial differential equation. Results of our extensive regression test suite indicate that Derivgrind produces correct results on GCC- and Clang-compiled programs, including a Python interpreter, with a small number of exceptions. While we provide a list of scenarios that Derivgrind does not handle correctly, nearly all of them are academic counterexamples or originate from highly optimized math libraries. As long as differentiating those is avoided, Derivgrind can be applied to an unprecedentedly wide range of cross-language or partially closed-source software with little integration efforts., Comment: 21 pages, 3 figures, 3 tables, 5 listings
- Published
- 2022
5. Exploration of Differentiability in a Proton Computed Tomography Simulation Framework
- Author
-
Aehle, Max, Alme, Johan, Barnaföldi, Gergely Gábor, Blühdorn, Johannes, Bodova, Tea, Borshchov, Vyacheslav, Brink, Anthony van den, Eikeland, Viljar, Feofilov, Gregory, Garth, Christoph, Gauger, Nicolas R., Grøttvik, Ola, Helstrup, Håvard, Igolkin, Sergey, Keidel, Ralf, Kobdaj, Chinorat, Kortus, Tobias, Kusch, Lisa, Leonhardt, Viktor, Mehendale, Shruti, Mulawade, Raju Ningappa, Odland, Odd Harald, O'Neill, George, Papp, Gábor, Peitzmann, Thomas, Pettersen, Helge Egil Seime, Piersimoni, Pierluigi, Pochampalli, Rohit, Protsenko, Maksym, Rauch, Max, Rehman, Attiq Ur, Richter, Matthias, Röhrich, Dieter, Sagebaum, Max, Santana, Joshua, Schilling, Alexander, Seco, Joao, Songmoolnak, Arnon, Sudár, Ákos, Tambave, Ganesh, Tymchuk, Ihor, Ullaland, Kjetil, Varga-Kofarago, Monika, Volz, Lennart, Wagner, Boris, Wendzel, Steffen, Wiebel, Alexander, Xiao, RenZheng, Yang, Shiming, and Zillien, Sebastian
- Subjects
Physics - Medical Physics ,Computer Science - Mathematical Software - Abstract
Objective. Algorithmic differentiation (AD) can be a useful technique to numerically optimize design and algorithmic parameters by, and quantify uncertainties in, computer simulations. However, the effectiveness of AD depends on how "well-linearizable" the software is. In this study, we assess how promising derivative information of a typical proton computed tomography (pCT) scan computer simulation is for the aforementioned applications. Approach. This study is mainly based on numerical experiments, in which we repeatedly evaluate three representative computational steps with perturbed input values. We support our observations with a review of the algorithmic steps and arithmetic operations performed by the software, using debugging techniques. Main results. The model-based iterative reconstruction (MBIR) subprocedure (at the end of the software pipeline) and the Monte Carlo (MC) simulation (at the beginning) were piecewise differentiable. Jumps in the MBIR function arose from the discrete computation of the set of voxels intersected by a proton path. Jumps in the MC function likely arose from changes in the control flow that affect the amount of consumed random numbers. The tracking algorithm solves an inherently non-differentiable problem. Significance. The MC and MBIR codes are ready for the integration of AD, and further research on surrogate models for the tracking subprocedure is necessary., Comment: 27 pages, 11 figures
- Published
- 2022
6. Event-Based Automatic Differentiation of OpenMP with OpDiLib
- Author
-
Blühdorn, Johannes, Sagebaum, Max, and Gauger, Nicolas R.
- Subjects
Computer Science - Mathematical Software ,D.1.3 ,D.2.13 ,G.1.4 ,G.4 - Abstract
We present the new software OpDiLib, a universal add-on for classical operator overloading AD tools that enables the automatic differentiation (AD) of OpenMP parallelized code. With it, we establish support for OpenMP features in a reverse mode operator overloading AD tool to an extent that was previously only reported on in source transformation tools. We achieve this with an event-based implementation ansatz that is unprecedented in AD. Combined with modern OpenMP features around OMPT, we demonstrate how it can be used to achieve differentiation without any additional modifications of the source code; neither do we impose a priori restrictions on the data access patterns, which makes OpDiLib highly applicable. For further performance optimizations, restrictions like atomic updates on adjoint variables can be lifted in a fine-grained manner. OpDiLib can also be applied in a semi-automatic fashion via a macro interface, which supports compilers that do not implement OMPT. We demonstrate the applicability of OpDiLib for a pure operator overloading approach in a hybrid parallel environment. We quantify the cost of atomic updates on adjoint variables and showcase the speedup and scaling that can be achieved with the different configurations of OpDiLib in both the forward and the reverse pass., Comment: 31 pages, 13 figures, 3 tables, 13 listings; new layout, additional references, refocused Section 3 (former Section 4), extended performance tests, overall polishing and shortening
- Published
- 2021
- Full Text
- View/download PDF
7. Assign optimization for algorithmic differentiation reuse index management strategies
- Author
-
Sagebaum, Max, Blühdorn, Johannes, and Gauger, Nicolas R.
- Subjects
Computer Science - Mathematical Software ,68N30 ,G.1.4 ,G.4 ,D.2.2 - Abstract
The identification of primal variables and adjoint variables is usually done via indices in operator overloading algorithmic differentiation tools. One approach is a linear management scheme, which is easy to implement and supports memory optimization for copy statements. An alternative approach performs a reuse of indices, which requires more implementation effort but results in much smaller adjoint vectors. Therefore, the vector mode of algorithmic differentiation scales better with the reuse management scheme. In this paper, we present a novel approach that reuses the indices and allows the copy optimization, thus combining the advantages of the two aforementioned schemes. The new approach is compared to the known approaches on a simple synthetic test case and a real-world example using the computational fluid dynamics solver SU2., Comment: 15 pages, 4 figures, 4 tables
- Published
- 2020
8. AutoMat -- Automatic Differentiation for Generalized Standard Materials on GPUs
- Author
-
Blühdorn, Johannes, Gauger, Nicolas R., and Kabel, Matthias
- Subjects
Computer Science - Computational Engineering, Finance, and Science ,Computer Science - Mathematical Software ,G.1.4 ,G.1.7 ,G.4 ,J.2 - Abstract
We propose a universal method for the evaluation of generalized standard materials that greatly simplifies the material law implementation process. By means of automatic differentiation and a numerical integration scheme, AutoMat reduces the implementation effort to two potential functions. By moving AutoMat to the GPU, we close the performance gap to conventional evaluation routines and demonstrate in detail that the expression level reverse mode of automatic differentiation as well as its extension to second order derivatives can be applied inside CUDA kernels. We underline the effectiveness and the applicability of AutoMat by integrating it into the FFT-based homogenization scheme of Moulinec and Suquet and discuss the benefits of using AutoMat with respect to runtime and solution accuracy for an elasto-viscoplastic example., Comment: 28 pages, 15 figures, 7 tables; new layout, more detailed proof of Theorem 1
- Published
- 2020
- Full Text
- View/download PDF
9. AutoMat: automatic differentiation for generalized standard materials on GPUs
- Author
-
Blühdorn, Johannes, Gauger, Nicolas R., and Kabel, Matthias
- Published
- 2022
- Full Text
- View/download PDF
10. Exploration of differentiability in a proton computed tomography simulation framework
- Author
-
Aehle, Max, primary, Alme, Johan, additional, Gábor Barnaföldi, Gergely, additional, Blühdorn, Johannes, additional, Bodova, Tea, additional, Borshchov, Vyacheslav, additional, van den Brink, Anthony, additional, Eikeland, Viljar, additional, Feofilov, Gregory, additional, Garth, Christoph, additional, Gauger, Nicolas R, additional, Grøttvik, Ola, additional, Helstrup, Håvard, additional, Igolkin, Sergey, additional, Keidel, Ralf, additional, Kobdaj, Chinorat, additional, Kortus, Tobias, additional, Kusch, Lisa, additional, Leonhardt, Viktor, additional, Mehendale, Shruti, additional, Ningappa Mulawade, Raju, additional, Harald Odland, Odd, additional, O’Neill, George, additional, Papp, Gábor, additional, Peitzmann, Thomas, additional, Pettersen, Helge Egil Seime, additional, Piersimoni, Pierluigi, additional, Pochampalli, Rohit, additional, Protsenko, Maksym, additional, Rauch, Max, additional, Ur Rehman, Attiq, additional, Richter, Matthias, additional, Röhrich, Dieter, additional, Sagebaum, Max, additional, Santana, Joshua, additional, Schilling, Alexander, additional, Seco, Joao, additional, Songmoolnak, Arnon, additional, Sudár, Ákos, additional, Tambave, Ganesh, additional, Tymchuk, Ihor, additional, Ullaland, Kjetil, additional, Varga-Kofarago, Monika, additional, Volz, Lennart, additional, Wagner, Boris, additional, Wendzel, Steffen, additional, Wiebel, Alexander, additional, Xiao, RenZheng, additional, Yang, Shiming, additional, and Zillien, Sebastian, additional
- Published
- 2023
- Full Text
- View/download PDF
11. Event-Based Automatic Differentiation of OpenMP with OpDiLib
- Author
-
Blühdorn, Johannes, primary, Sagebaum, Max, additional, and Gauger, Nicolas, additional
- Published
- 2023
- Full Text
- View/download PDF
12. On Recent Developments for Efficient Turbo-Machinery Design using Algorithmic Differentiation
- Author
-
Sagebaum, Max, primary, Blühdorn, Johannes, additional, Gauger, Nicolas R., additional, Frey, Christian, additional, Backhaus, Jan, additional, Geiser, Georg, additional, Bayer, Felix, additional, and Kügeler, Edmund, additional
- Published
- 2023
- Full Text
- View/download PDF
13. AutoMat: automatic differentiation for generalized standard materials on GPUs
- Author
-
Blühdorn, Johannes, primary, Gauger, Nicolas R., additional, and Kabel, Matthias, additional
- Published
- 2021
- Full Text
- View/download PDF
Catalog
Discovery Service for Jio Institute Digital Library
For full access to our library's resources, please sign in.