%0 Journal article %A Riel, N. %A Kaus, B. J. P. %A Green, E. C. R. %A Berlie, N. %T MAGEMin, an Efficient Gibbs Energy Minimizer: Application to Igneous Systems %R 10.1029/2022GC010427 %J Geochemistry, Geophysics, Geosystems %V 23 %N 7 %I %X Prediction of stable mineral equilibria in the Earth's lithosphere is critical to unravel the tectonomagmatic history of exposed geological sections. While the recent advances in geodynamic modeling allow us to explore the dynamics of magmatic transfer in solid mediums, there is to date no available thermodynamic package that can easily be linked and efficiently be accounted for the computation of phase equilibrium in magmatic systems. Moreover, none of the existing tools fully exploit single point calculation parallelization, which strongly hinders their applicability for direct geodynamic coupling or for thermodynamic database inversions. Here, we present a new Mineral Assemblage Gibbs Energy Minimizer (magemin). The package is written as a parallel C library, provides a direct Julia interface, and is callable from any petrological/geodynamic tool. For a given set of pressure, temperature, and bulk‐rock composition magemin uses a combination of linear programming, extended Partitioning Gibbs Energy and gradient‐based local minimization to compute the stable mineral assemblage. We apply our new minimization package to the igneous thermodynamic data set of Holland et al. (2018), https://doi.org/10.1093/petrology/egy048 and produce several phase diagrams at supra‐solidus conditions. The phase diagrams are then directly benchmarked against thermocalc and exhibit very good agreement. The high scalability of magemin on parallel computing facilities opens new horizons, for example, for modeling reactive magma flow, for thermodynamic data set inversion, and for petrological/geophysical applications. %U http://resolver.sub.uni-goettingen.de/purl?gldocs-11858/10242 %~ FID GEO-LEO e-docs