User Tools

Site Tools


mrtrix_usage

This is an old revision of the document!


MRtrix

Multi-threading

Similar to Matlab, MRtrix will, by default, spawn as many threads as it sees cores on the compute node where it's running. This will cause problems and significantly slow down the whole node. To prevent this, multi-threading should be disabled or carefully set to match the number of slots/cores assigned to your job.

Disabled by default

The /etc/mrtrix.conf configuration file is set on chead and on each node to disable multi-threading by default, by assigning the NumberOfThreads parameter to 0.

How to enable multi-threading

In your script when you call MRtrix, include -nthreads $NSLOTS. This will set up multi-threading for the number of slots/cores your job has.

mrtrix_usage.1482263168.txt.gz · Last modified: 2016/12/20 19:46 by mgstauff