On Sat, 2 Aug 2025, Renato E Poli wrote: > *>> And a recommendation to use gfortran instead of nvfortran* > The other application is using nvfortran, and now we are trying to link > PETSC to it. > > I guess I understood the main points. > I need to work on it a bit now and get a better idea of what is going on.
petsc-3.22 should work with nvfortran. Fortran interface in petsc is being over-hauled (in 3.23, and future 3.24 releases) requiring F2008 (and F2023?) features - that some of the older compilers don't support. [and older petsc releases might have other issues - say using latest cuda version, cmake version etc...] Satish