Workshop — Beijing 9-13.03.2026
Welcome to the MAGEMin hands-on workshop material. This workshop introduces the MAGEMin_C.jl Julia interface through a series of progressive tutorials, from basic phase equilibrium calculations to trace-element partitioning during fractional melting.
Prerequisites
Julia installed (≥ 1.10 recommended)
Visual Studio Code with the Julia extension
Basic familiarity with the Julia language
Tutorial overview
The workshop is organized into five tutorials of increasing complexity:
| # | Tutorial | Description |
|---|---|---|
| 1 | Introduction | Installation, first minimization, accessing results, plotting |
| 2 | Iterative calculations | Batch melting along a P–T path, heat capacity, latent heat |
| 3 | Fractional melting | Dynamic bulk-rock update, melt extraction, mass tracking |
| 4 | Li partitioning | Trace-element batch melting equations, partition coefficients |
| 5 | Li partitioning — fractional melting | Combining fractional melting with trace-element prediction, non-linear KD models |
Tip
Work through the tutorials in order, each one builds on concepts introduced in the previous ones.