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

Add TBB as a dependency to HEXRD #567

Merged
merged 3 commits into from
Oct 18, 2023
Merged

Add TBB as a dependency to HEXRD #567

merged 3 commits into from
Oct 18, 2023

Conversation

psavery
Copy link
Collaborator

@psavery psavery commented Oct 17, 2023

If TBB is installed, numba will use TBB instead of OpenMP.

In my brief testing, it appears that having TBB makes some of the workflows run a little faster. It also fixes some warnings we have been seeing about OpenMP.

If TBB is installed, numba will use TBB instead of OpenMP.

In my brief testing, it appears that having TBB makes some of the workflows
run a little faster. It also fixes some warnings we have been seeing about
OpenMP.

Signed-off-by: Patrick Avery <[email protected]>
@psavery
Copy link
Collaborator Author

psavery commented Oct 17, 2023

I confirmed that the output of hexrd fit-grains does not change whether TBB is used or OpenMP.

@psavery psavery requested a review from saransh13 October 17, 2023 20:43
We don't need the `CONDA_BUILD` flags anymore.

Signed-off-by: Patrick Avery <[email protected]>
@pep8speaks
Copy link

Hello @psavery! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 18:80: E501 line too long (81 > 79 characters)

@psavery psavery requested a review from bnmajor October 18, 2023 18:23
Copy link
Collaborator

@bnmajor bnmajor left a comment

Choose a reason for hiding this comment

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

LGTM

@psavery psavery merged commit 77923b1 into master Oct 18, 2023
6 checks passed
@psavery psavery deleted the install-tbb branch October 18, 2023 18:59
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.

3 participants