<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>hi<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 14/10/17 00:47, Matthew Knepley
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAMYG4GmFOK4RyxF6ayKytAkw3Z7otQx0SzsXzbYXUeRicsWOJw@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote"><br>
            <div>If you want the wrapper to take in F90 pointer
              arguments, then you have to declare it or you get an SEGV.
              These</div>
            <div>get autogenerated in
              include/petsc/finclude/ftn-auto/*.h90 when you run 'make
              allfortranstubs'. Did this happen</div>
            <div>for your function?</div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    I just tried running make allfortranstubs, but I don't see anything
    new in include/petsc/finclude/ftn-auto/*.h90, and my test program
    still crashes.<br>
    <br>
    I also tried doing a make clean and make allfortranstubs all, but
    that didn't help.<br>
    <br>
    I even tried deleting my $PETSC_ARCH directory and rebuilding
    everything (including make allfortranstubs) but again it didn't
    help.<br>
    <br>
    I'm a bit surprised that custom Fortran bindings should produce
    anything in include/petsc/finclude/ftn-auto/, I thought that would
    only be for the auto-generated stuff that comes out of bfort?<br>
    <br>
    - Adrian<br>
    <pre class="moz-signature" cols="72">-- 
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
University of Auckland, New Zealand
email: <a class="moz-txt-link-abbreviated" href="mailto:a.croucher@auckland.ac.nz">a.croucher@auckland.ac.nz</a>
tel: +64 (0)9 923 4611
</pre>
  </body>
</html>