[petsc-users] PetscViewerFileSetName() wrong error code in Fortran

Smith, Barry F. bsmith at mcs.anl.gov
Mon Nov 5 10:49:09 CST 2018


   Fixed in the branch barry/fix-fortran-petscfileviewersetname soon to be fixed in maint and then the next patch release of PETSc.

   Thanks for the report

    Barry

> On Nov 5, 2018, at 7:29 AM, Tim Steinhoff via petsc-users <petsc-users at mcs.anl.gov> wrote:
> 
> Dear PETSc Team,
> 
> I am having the issue that petscviewerfilesetname_() and
> petscviewerfilegetname_() in
> src\sys\classes\viewer\impls\ascii\ftn-custom\zfilevf.c (Fortran) do
> not return proprer error codes, as those are not checked immediately
> after the actual call and will be overwritten afterwards within the
> macro FREECHAR() or by other subsequent calls respectively.
> 
> It would be very helpful if you could fix that.
> 
> Thanks and king regards,
> 
> Volker



More information about the petsc-users mailing list