The number of threads is configurable through a text file - https://mrtrix.readthedocs.io/en/latest/getting_started/config.html