Issue with CUDA Compilation and GPU Execution after Updating to Castro 24.01 #2713
-
Hello Castro Team, I hope this message finds you well. I am currently facing an issue with the Castro software after updating to version 24.01. In the previous version (23.10), I was able to successfully compile using CUDA and run the application on GPU. However, upon upgrading to version 24.01, I encounter an error during the initial execution. The error message is as follows: I attempted to address the issue by rolling back to previous versions such as 23.11, 23.10, and 23.09, but unfortunately, the problem persists. My system configuration includes Ubuntu 22.04, GCC 11.4.0, CUDA 12.3, and NVIDIA driver version 545.23.08. The appendix is "Backtrace" and "GNUmakefile" for Sedov case. I would appreciate any guidance or assistance in resolving this matter. Thank you for your time and support. Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
can you do:
and post the output here? |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, I am unable to reproduce this. You said that the older versions that used to work no longer do -- is that right? when you test back on 23.10, are you also putting amrex and Microphysics on 23.10? Also, your git hashes indicate that you have local changes to Castro that are not committed. What are those changes? |
Beta Was this translation helpful? Give feedback.
-
can you also share the output of |
Beta Was this translation helpful? Give feedback.
-
thanks, I've updated the docs here: |
Beta Was this translation helpful? Give feedback.
We have successfully resolved the issue. The solution involves adding CUDA_ARCH = n to the GNUmakefile, where n corresponds to the respective GPU architecture.
Thank you for your assistance.
Best regards.