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 more informative error message in @import_required_backends #89

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Sbozzolo
Copy link
Member

When MPI/CUDA are requested but not available,
@import_required_backends fails with the default Julia error: package not found.

This commit changes @import_required_backends so that it produces an error message that helps user figure out what to do.

Closes #88

@Sbozzolo Sbozzolo force-pushed the gb/informative_error_load_required branch 4 times, most recently from 61f2e16 to ac0d93e Compare August 27, 2024 19:49
When MPI/CUDA are requested but not available,
`@import_required_backends` fails with the default Julia error: `package
not found`.

This commit changes `@import_required_backends` so that it produces an
error message that helps user figure out what to do.
@Sbozzolo Sbozzolo force-pushed the gb/informative_error_load_required branch from ac0d93e to 255c57a Compare August 27, 2024 20:11
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.

Error message from @import_required_backends when CUDA.jl/MPI.jl are not available is unhelpful
1 participant