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

Fix *_USE_OPENMP, *_HAS_OPENMP, *_USE_CUDA, and *_HAS_CUDA #629

Merged
merged 10 commits into from
Dec 23, 2023

Conversation

DrTimothyAldenDavis
Copy link
Owner

See #622 .

If SUITESPARSE_USE_OPENMP is OFF, this forces all *_USE_OPENMP options to be OFF.

Likewise if SUITESPARSE_USE_CUDA is OFF, this forces all *_USE_CUDA options to be OFF.

Added SUITESPARSE_CONFIG_USE_OPENMP option, since SuiteSparse_config can optionally use OpenMP.

Also fixed a bug in ParU when OpenMP was disabled, to allow it to compile without OpenMP. ParU is fundamentally a parallel package, so OpenMP is highly recommended for ParU ... but it still can be compiled without it. If using OpenMP, ParU requires OpenMP 4.5 or later.

@DrTimothyAldenDavis DrTimothyAldenDavis merged commit 9c4bb11 into dev Dec 23, 2023
22 checks passed
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.

2 participants