Integrating ytopt and libEnsemble to autotune OpenMC
DOE
Questions this answers
Sources
- doe_osti · checked 2024-10-07
Source record
The underlying research record — supporting evidence for the object above.
Key Details
- Posted Date
- Source
- doe_osti
Description
Ytopt is a Python machine-learning-based autotuning software package developed within the ECP PROTEAS-TUNE project. The ytopt software adopts an asynchronous search framework that consists of sampling a small number of input parameter configurations and progressively fitting a surrogate model over the input-output space until exhausting the user-defined maximum number of evaluations or the wall-clock time. libEnsemble is a Python toolkit for coordinating workflows of asynchronous and dynamic ensembles of calculations across massively parallel resources developed within the ECP PETSc/TAO project. libEnsemble helps users take advantage of massively parallel resources to solve design, decision, and inference problems and expands the class of problems that can benefit from increased parallelism. In this paper we present our methodology and framework to integrate ytopt and libEnsemble to take advantage of massively parallel resources to accelerate the autotuning process. Specifically, we focus on using the proposed framework to autotune the ECP ExaSMR application OpenMC, an open source Monte Carlo particle transport code. OpenMC has seven tunable parameters some of which have large ranges such as the number of particles in-flight, which is in the range of 100,000 to 8 million, with its default setting of 1 million. Setting the proper combination of these parameter values to achieve the best performance is extremely time-consuming. Therefore, we apply the proposed framework to autotune the MPI/OpenMP offload version of OpenMC based on a user-defined metric such as the figure of merit (FoM) (particles/s) or energy efficiency energy-delay product (EDP) on Crusher at Oak Ridge Leadership Computing Facility. In conclusion, the experimental results show that we achieve the improvement up to 29.49% in FoM and up to 30.44% in EDP.. Authors: Wu, Xingfu [Argonne National Laboratory (ANL), Argonne, IL (United States)] (ORCID:0000000181505171); Tramm, John R. [Argonne National Laboratory (ANL), Argonne, IL (United States)]; Larson, Jeffrey [Argonne National Laboratory (ANL), Argonne, IL (United States)] (ORCID:0000000199242082); Navarro, John-Luke [Argonne National Laboratory (ANL), Argonne, IL (United States)] (ORCID:0000000299169038); Balaprakash, Prasanna [Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States)]. DOE Contract: AC02-06CH11357. Subjects: Autotuning; ECP; Energy; Machine Learning; OpenMC; Performance; exascale computing project; libEnsemble; ytopt