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

DOC: Improve documentation of --nprocs and --omp-nthreads #986

Merged
merged 3 commits into from
Apr 27, 2022

Conversation

oesteban
Copy link
Member

If this is accepted, we should probably propagate it to fMRIPrep.

Resolves: #849.

Copy link
Member

@effigies effigies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The text seems fine. Unclear if this is the best place for it.

8-CPU-threaded processes will be running at a given time).
Under this mode of operation, ``--nprocs`` sets the maximum number of processors
that can be assigned work within an *MRIQC* job, which includes all the processors
used by currently running single- and multi-threaded processes.""",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this look okay in --help? It seems like a lot of text including markup.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The markup is for sphinx-argparse - that gets rendered in https://mriqc.readthedocs.io/en/latest/running.html#command-line-interface.

I'm not particularly annoyed by this level of markup within the shell, if we can agree on that, I guess this is a thumb-up?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough. 👍

@oesteban oesteban merged commit 581ede0 into master Apr 27, 2022
@oesteban oesteban deleted the docs/nprocs-nthreads branch April 27, 2022 21:32
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

Successfully merging this pull request may close these issues.

document --nprocs NPROCS and --omp-nthreads
2 participants