[petsc-users] missing routines in the Fortran interfaces
Barry Smith
bsmith at petsc.dev
Fri Jun 27 16:03:16 CDT 2025
Randy,
Thanks for trying this. I have started a merge request https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/merge_requests/8501__;!!G_uCfscf7eWS!bceR7fahh0spEc8XRbLMfFNdOqIhH-v-WLSyDf6tadn0DTdqAVEV7w00DMInOOXFlqEF6dE7-UGW-sfYmO3DUMU$ with this requirement on all Fortran source code and found many missing interfaces. I have fixed some but there are still some outstanding that need to be resolved in the MR. Including some you pointed out below.
Barry
> On Jun 23, 2025, at 1:37 PM, Randall Mackie <rlmackie862 at gmail.com> wrote:
>
> After discovery of the implicit none (type, external) statement for disabling implicit procedures (thanks to Barry for the suggestion), I used that in my code to good effect.
>
> However, it also showed that were some routines I call that did not have explicit Fortran interfaces, and maybe they exist but I just didn’t include the right modules.
>
> Here are the ones I’m missing:
>
> MatShellSetOperation
> PetscOptionGetString
> PetscViewerASCIIPrintF
> VecSetValue
> KSPMonitorSet
>
> Do the Fortran interfaces exist for these? If not can they be added?
>
>
> Thanks, Randy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20250627/68e2ac18/attachment.html>
More information about the petsc-users
mailing list