compilation of ThermoD stuff