Download Theriak-Domino
by Christian de Capitani
Mineralogy and Petrography
Home of Theriak-Domino

Version: 11.03.2020

  • Some improvement in minimizations. Still problems with zero concentrations. The figure 2c of Green et al. (2016) could be re-calculated with only minor issues in minimization.
  • Applied some conventions to satisfy the prigs(1) and pedants(2) of gfortran 9.2: (mostly variable declarations and loop definitions.)
  • The length of phase names, abbreviations and solution names are tested, and a warning is printed if they are too long. Up to now the automatic truncation did not really matter, however ...
    NAME(i) 16 characters (Names of phases)
    ABK(i) 8 characters (Abbreviation of phases)
    SOLNAM(i) 16 characters (Name of solution phases)
  • Updated the Theriak-Domio Guide Moved information depending on operating systems to "readme" and the homepage. Corrected the most embarrassing typos.
  • Corrected some 'logical inconsistencies'(3) in Theriak output.

Install gfortran

The programs were compiled with gfortran. Unfortunately gfortran does not produce a portable binary, because it does not include all libraries. The easiest way of getting the programs to work, is to install gfortran:

The following did work on Windows 7 (in Parallels). If you know a better way, let me know.
Download the latest installer from
under MinGW for Win64 choose "snapshots"
at the bottom half of the page under MinGW-W64 Online Installer click on MinGW-W64-install.exe to download.
start MinGW-W64-install.exe (choose Architecture x86_64)

after mingw64 is installed, change the PATH to C:\Program Files\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin
(In Windows 7: Control Panel -> System -> Advanced System Settings -> Environment Variables)

From here on the installation becomes mystical.
There is no "make.exe" in mingw64. I found a 'make.exe' from an earlier MinGW in \Program Files (x86)\gfortran\bin, which I copied to the above folder.
Then "make all" (The first few times I got errors: "final link failed: permission denied". After several "make all" it worked.)

Mac OS X:
The following did work for macOS Catalina (The worst operating system ever)
1) Install XCode (from App Store).
2) also install the Command Line Tools for XCode (from Apple Developers)
3) Download the appropriate binary e.g. gfortran-9.2-bin.tar.gz from href="
then in a Terminal (working directory wherever you downloaded the ...bin.tar.gz), type:
4) gunzip gfortran-9.2-bin.tar.gz (if your browser didn't do it already)
5) sudo tar -xvf gfortran-9.2-bin.tar -C /

GFortran is included e.g. in Ubuntu. Type: sudo apt-get install gfortran


To re-compile, open a Terminal (Batch window), make "Programs" the working directory and type "make all".

If you own a different compiler, you might also want to re-compile the programs.
In most cases you can edit the Makefile and type "make all"

Useful for Mac OS X

Download cdto from (Download Latest, unzip and "command-move" to toolbar in Finder)

Databases from THERMOCALC

My own translations of these databases were only tested to reproduce few published diagrams and still contain numerous errors.
Fortunately some friends and collegues provide well tested versions which they agree to share with other users:

The databases from THERMOCALC were translated to use with Theriak-Domino by Doug Tinkham, Professor of Metamorphic Geology at Laurentian University.
The THERIAK-DOMINO Input Files can be found here:

Professor Jay Ague from Yale University has put the versions of the database his group is using on his website. Also included are some simple Matlab codes that can be used for preparing input:

Research Talk

There is also a Research Talk organized by Eric Kelly from the University of Texas at Austin.
If you want to join, follow the links in


for Mac OS X

for Windows

Download Theria_G

Theria_G (Gaidies et al., 2008) is a software program that predicts the chemical composition of garnet and the mineral content of a rock during metamorphism considering Gibbs energy minimization, chemical diffusion in garnet, and chemical fractionation associated with garnet crystallization.
Donload from:

(1) a self-righteously moralistic person who behaves as if they are superior to others.
(2) a person who is excessively concerned with minor details and rules or with displaying academic learning.
(3) blatant mistakes

Definitions (for the most part) from Oxford Languages