Added support for latest version of trinity

Reintroduced support for the latest version of trinity (on uppmax). Nothing special.