nipype
nipype copied to clipboard
Set number of threads in MRTrix3's interfaces
The number of threads is configurable through a text file - https://mrtrix.readthedocs.io/en/latest/getting_started/config.html
Ugh. I guess overriding $HOME is the clean way to do this? Could we convince Rob to support an environment variable instead?
Could we convince Rob to support an environment variable instead?
That seems a reasonable suggestion, even if we didn't intend to implement it here.
I guess overriding $HOME is the clean way to do this?
The fact that it is way cleaner than tinkering with the actual $HOME/.mrtrix.conf (back-up copying, modifying, replacing, in addition to parallelism issues) doesn't make it clean :D
But I agree. If several MRTrix processes run in parallel, overriding $HOME may be the only way to do this without harm.