Skip to content

Conversation

hafeoz
Copy link
Contributor

@hafeoz hafeoz commented Aug 21, 2025

Summary

Fallback to $(CUDA_ARCH) if the nvidia-smi shell command fails. Also simplifies the CUDA_ARCH extraction process since pgfortran is no longer a concern anymore.

Additional background

Fixes #4621

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • include documentation in the code and/or rst files, if appropriate

@WeiqunZhang WeiqunZhang merged commit cc67e4b into AMReX-Codes:development Aug 21, 2025
75 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.

CUDA_ARCH not respected in GNU Make

2 participants