Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set number of threads in MRTrix3's interfaces #3645

Open
oesteban opened this issue Apr 11, 2024 · 2 comments
Open

Set number of threads in MRTrix3's interfaces #3645

oesteban opened this issue Apr 11, 2024 · 2 comments
Assignees

Comments

@oesteban
Copy link
Contributor

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

@oesteban oesteban self-assigned this Apr 11, 2024
@effigies
Copy link
Member

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

@oesteban
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants