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

Tim Steinhoff kandanovian at gmail.com
Mon Nov 5 07:29:00 CST 2018


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