[petsc-dev] segv in fortran
Mark Adams
mfadams at lbl.gov
Fri Dec 10 13:59:31 CST 2021
whoops ...
This code is here.
if (filename .ne. PETSC_NULL_CHARACTER) then
filename = trim(filename)
endif
Maybe filename should not be used as the destination?
On Fri, Dec 10, 2021 at 2:56 PM Mark Adams <mfadams at lbl.gov> wrote:
> I am getting a segv when calling a Fortran subrouting from C, where
> PetscInit is called in the Fortran code only with a string for the rc file.
>
> We have seen this on multiple platforms.
>
> I got it in totalview and the segv was on the trim(filename) method
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20211210/f254709e/attachment.html>
More information about the petsc-dev
mailing list