nipype icon indicating copy to clipboard operation
nipype copied to clipboard

Set number of threads in MRTrix3's interfaces

Open oesteban opened this issue 4 months ago • 2 comments

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

oesteban avatar Apr 11 '24 15:04 oesteban

Ugh. I guess overriding $HOME is the clean way to do this? Could we convince Rob to support an environment variable instead?

effigies avatar Apr 11 '24 15:04 effigies

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.

oesteban avatar Apr 16 '24 09:04 oesteban