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

Post-processing on CPU devices fails when GPU device available #1741

Closed
valeriabarra opened this issue Jun 6, 2023 · 0 comments · Fixed by #1742
Closed

Post-processing on CPU devices fails when GPU device available #1741

valeriabarra opened this issue Jun 6, 2023 · 0 comments · Fixed by #1742
Assignees
Labels
bug Something isn't working

Comments

@valeriabarra
Copy link
Member

If an NVIDIA GPU device is available, our post-processing tries to run there, but it would throw the following error:

ERROR: LoadError: CUDA error: unknown error (code 999, ERROR_UNKNOWN)

One way we can avoid this, is by setting the environment variable

export CLIMACOMMS_DEVICE=CPU

but a cleaner and more robust way is to pass the context to the InputOutput.HDF5Reader function.

@valeriabarra valeriabarra added the bug Something isn't working label Jun 6, 2023
@valeriabarra valeriabarra self-assigned this Jun 6, 2023
@bors bors bot closed this as completed in 8960356 Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant