[petsc-users] Error compiling with cuda

Satish Balay balay.anl at fastmail.org
Sun Aug 3 11:49:59 CDT 2025


On Sun, 3 Aug 2025, Renato E Poli wrote:

> Any chance new PETSC distros will support NVFORTRAN soon?

Its more of 'when will nvfortran support newer fortran features'

For ex: flang-new 19+ versions support these fatures, and compilers that are based on older flang versions fail. AMD compilers are clang/flang based (v17) so whenever they get to rebased over llvm-19+ or newer - they are likely to work

https://urldefense.us/v3/__https://www.amd.com/en/developer/aocc.html__;!!G_uCfscf7eWS!c0ugVETwGi3h7i8tmUTHAGKZzhxVNgTlepWYpIYDBZI2CifAqMH3FSRhyXg1QihvrYMt96C8F7ezT5vcZR084UqOnjA$ 

But I don't know if/when nvfortran is migrating to flang/llvm (or not).

petsc main (git) branch has more fortran changes (and more in the pipeline) - so you can try a build on it to check on the current outstanding issues.

Satish


More information about the petsc-users mailing list