libyt: a Tool for Parallel In Situ Analysis with yt
Shin-Rong Tsai
Hsi-Yu Schive
Matthew J. Turk
In the era of exascale computing, storage and analysis of large scale data have become
more important and difficult.
We present libyt, an open source C++ library, that allows researchers to analyze and
visualize data using yt or other Python packages in parallel during simulation runtime.
We describe the code method for organizing adaptive mesh refinement grid data structure and
simulation data, handling data transition between Python and simulation with minimal memory
overhead, and conducting analysis with no additional time penalty using Python C API and
NumPy C API.
We demonstrate how it solves the problem in astrophysical simulations and increases disk
usage efficiency. Finally, we conclude it with discussions about libyt.
astronomy data analysis, astronomy data visualization, in situ analysis, open source software
DOI10.25080/gerudo-f2bc6f59-011