<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 03/08/17 13:10, Matthew Knepley
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAMYG4GkR9G4TMN=QfUM-JDq4Oh077GYNzysjfgHLC2AbU+0zwA@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">On Wed, Aug 2, 2017 at 8:06 PM,
            Adrian Croucher <span dir="ltr"><<a
                href="mailto:a.croucher@auckland.ac.nz" target="_blank"
                moz-do-not-send="true">a.croucher@auckland.ac.nz</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">I
              haven't tried this myself, but two of my colleagues are
              reporting problems accessing DMLabel from Fortran, when
              using the latest 'next' branch.<br>
              <br>
              Previously, #include <petsc/finclude/petsc.h> and
              then 'use petsc' would give access to DMLabel.<br>
              <br>
              But now it appears that doesn't work- you need to include
              petscdmlabel.h as well.<br>
              <br>
              Is that a bug or a feature?</blockquote>
            <div><br>
            </div>
            <div>Its a bug. We refactored DMLabel to make all
              functionality available from Fortran, including using it
              as a type, but</div>
            <div>I did not put the new header inside petsc.h. I can do
              that.</div>
            <div><br>
            </div>
            <div>   Matt</div>
            <div> </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    It appears this never got done, so I have had a look and (I think)
    figured out how to fix it myself.<br>
    <br>
    I've just submitted a pull request with the fix in a branch called
    acroucher/fix-fortran-dmlabel.<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>