We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@import_required_backends
When calling @import_required_backends, the relevant backends have to be installed. When they are not, the error message is something like
ERROR: ArgumentError: Package CUDA not found in current path. - Run `import Pkg; Pkg.add("CUDA")` to install the CUDA package. Stacktrace: [1] macro expansion @ ./loading.jl:1772 [inlined] [2] macro expansion @ ./lock.jl:267 [inlined] [3] __require(into::Module, mod::Symbol) @ Base ./loading.jl:1753 [4] #invoke_in_world#3 @ ./essentials.jl:926 [inlined] [5] invoke_in_world @ ./essentials.jl:923 [inlined] [6] require(into::Module, mod::Symbol) @ Base ./loading.jl:1746 [7] macro expansion @ ~/.julia/packages/ClimaComms/agO9C/src/loading.jl:51 [inlined] [8] top-level scope @ REPL[6]:1
This is not very user friendly and might leave people confused.
This is something that end users interact with directly, so it would be better to provide more informative errors.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
When calling
@import_required_backends
, the relevant backends have to be installed. When they are not, the error message is something likeThis is not very user friendly and might leave people confused.
This is something that end users interact with directly, so it would be better to provide more informative errors.
The text was updated successfully, but these errors were encountered: