This shows you the differences between two versions of the page.
mrtrix_usage [2016/12/20 19:46] mgstauff created |
mrtrix_usage [2017/06/02 15:27] (current) mgstauff [Multi-threading] |
||
---|---|---|---|
Line 5: | Line 5: | ||
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. | 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=== | + | ===MRTRIX_NTHREADS defaults to NSLOTS=== |
- | The / | + | As of approximately December 21, 2016, MRTrix will read the environment variable '' |
- | ===How to enable | + | ===How to override |
- | In your script when you call MRtrix, | + | If for some reason (be sure about this!) you need to override the setting, you can do so in your script when you call an MRtrix |