<div dir="auto">If I understand correctly, with gfotran I will be able to link to petsc cuda-c++ , but I wont be able to use the fortran cuda interface directly (so I wont be able to write my own gpu-accelerated fortran). Is that correct?</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sat, Aug 2, 2025, 13:25 Satish Balay <<a href="mailto:balay.anl@fastmail.org">balay.anl@fastmail.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, 2 Aug 2025, Renato E Poli wrote:<br>
<br>
> *>> And a recommendation to use gfortran instead of nvfortran*<br>
> The other application is using nvfortran, and now we are trying to link<br>
> PETSC to it.<br>
> <br>
> I guess I understood the main points.<br>
> I need to work on it a bit now and get a better idea of what is going on.<br>
<br>
petsc-3.22 should work with nvfortran.<br>
<br>
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.<br>
<br>
[and older petsc releases might have other issues - say using latest cuda version, cmake version etc...]<br>
<br>
Satish<br>
</blockquote></div>