On-node performance optimization of a Monte-Carlo transport code for leadership architectures
This electronic version was submitted by the student author. The certified thesis is available in the Institute Archives and Special Collections.
Main Author: | |
---|---|
Other Authors: | |
Format: | Thesis |
Language: | eng |
Published: |
Massachusetts Institute of Technology
2020
|
Subjects: | |
Online Access: | https://hdl.handle.net/1721.1/123358 |
_version_ | 1826218033144659968 |
---|---|
author | Salcedo-Pérez, José Luis. |
author2 | Benoit Forget and Kord Smith. |
author_facet | Benoit Forget and Kord Smith. Salcedo-Pérez, José Luis. |
author_sort | Salcedo-Pérez, José Luis. |
collection | MIT |
description | This electronic version was submitted by the student author. The certified thesis is available in the Institute Archives and Special Collections. |
first_indexed | 2024-09-23T17:13:06Z |
format | Thesis |
id | mit-1721.1/123358 |
institution | Massachusetts Institute of Technology |
language | eng |
last_indexed | 2024-09-23T17:13:06Z |
publishDate | 2020 |
publisher | Massachusetts Institute of Technology |
record_format | dspace |
spelling | mit-1721.1/1233582020-01-09T03:00:13Z On-node performance optimization of a Monte-Carlo transport code for leadership architectures Salcedo-Pérez, José Luis. Benoit Forget and Kord Smith. Massachusetts Institute of Technology. Department of Nuclear Science and Engineering. Massachusetts Institute of Technology. Department of Nuclear Science and Engineering Nuclear Science and Engineering. This electronic version was submitted by the student author. The certified thesis is available in the Institute Archives and Special Collections. Thesis: S.M., Massachusetts Institute of Technology, Department of Nuclear Science and Engineering, 2019 Cataloged from student-submitted PDF version of thesis. Includes bibliographical references (pages 83-85). The tally system in Monte Carlo neutron transport codes accounts for a significant fraction of the total execution time. This project studied the tally performance of a Monte Carlo neutron transport code (i.e., OpenMC) and implemented several optimizations to address the major bottlenecks. First, a comprehensive profiling analysis was carried out on modern Intel micro-architectures (i.e., Intel Xeon Phi and Intel Xeon Platinum 8180) to understand what hardware and settings configurations were optimal. The specific modules and subroutines that were responsible for the performance drop were also highlighted. The first round of optimizations were specific to the information that the profiling analysis provided. Both the nuclide and the reaction index searches were found to be inefficient. As a result, the two searches were improved with the implementation of direct address tables, which have a single search efficiency of O(1) and a small memory footprint. Moreover, a linear array cache was also introduced to store the following cross-sections: (n, 2n), (n, 3n), (n, 4n), (n, p), (n, [alpha]), and (n, [gamma]). These cross-sections, together with (n; fission), are indispensable to solve the transition matrix of the Bateman equations during transmutation analysis. As a result, pre-computing and storing them before tally-time eliminated redundant computations in the case a high energy particle travels through multiple fuel regions without colliding. Overall, these optimizations resulted in speedups of 2.31x and 2.15x for the Xeon Platinum and Xeon Phi, respectively. Further, this project also presents an alternative method to compute reaction rate tallies. In general, tallying all of the aforementioned seven rates through a Monte Carlo simulation can be quite expensive for realistic light water reactors. Another approach would be to collapse a very fine-group flux together with a pregenerated multigroup cross section (constructed with the same energy grid). While this approach does provide a 3x speedup in the OpenMC active cycles performance, it also introduces a considerable memory penalty. The issue is that thousands of groups are needed to accurately resolve the (n, [gamma]) rates, most notably that of 238U. This study explores a hybrid approach in which (n, [gamma]) and (n, fission) are handled with a standard reaction rate tally while the remaining reaction rates are computed through the flux tally route. This option provides more flexibility in reducing the total number of groups because the remaining reactions outside of (n, fission) and (n, [gamma]) usually have smoother shapes. Performance was tested on five benchmarks with depleted fuel and increasing geometrical complexity. Results showed that the hybrid tally method provided decent speedups ranging from 1.30x to 1.75x in the active cycles across all benchmarks. Multiple error analyses were also carried out on the proposed hybrid method; the results show that even when going as low as 300 groups, the eigenvalue is still within 100 pcm of a traditional simulation. by José Luis Salcedo-Pérez. S.M. S.M. Massachusetts Institute of Technology, Department of Nuclear Science and Engineering 2020-01-08T19:33:01Z 2020-01-08T19:33:01Z 2019 2019 Thesis https://hdl.handle.net/1721.1/123358 1134765398 eng MIT theses are protected by copyright. They may be viewed, downloaded, or printed from this source but further reproduction or distribution in any format is prohibited without written permission. http://dspace.mit.edu/handle/1721.1/7582 85 pages application/pdf Massachusetts Institute of Technology |
spellingShingle | Nuclear Science and Engineering. Salcedo-Pérez, José Luis. On-node performance optimization of a Monte-Carlo transport code for leadership architectures |
title | On-node performance optimization of a Monte-Carlo transport code for leadership architectures |
title_full | On-node performance optimization of a Monte-Carlo transport code for leadership architectures |
title_fullStr | On-node performance optimization of a Monte-Carlo transport code for leadership architectures |
title_full_unstemmed | On-node performance optimization of a Monte-Carlo transport code for leadership architectures |
title_short | On-node performance optimization of a Monte-Carlo transport code for leadership architectures |
title_sort | on node performance optimization of a monte carlo transport code for leadership architectures |
topic | Nuclear Science and Engineering. |
url | https://hdl.handle.net/1721.1/123358 |
work_keys_str_mv | AT salcedoperezjoseluis onnodeperformanceoptimizationofamontecarlotransportcodeforleadershiparchitectures |