<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, May 29, 2014 at 11:01 PM, Adrian Croucher <span dir="ltr"><<a href="mailto:a.croucher@auckland.ac.nz" target="_blank">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">
<div bgcolor="#FFFFFF" text="#000000">
hi<div class=""><br>
<br>
<div>On 30/05/14 14:42, Matthew Knepley
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote"><br>
<div>Adrian, here is the easiest way to get this working:</div>
<div><br>
</div>
<div> cd $PETSC_ARCH/externalpackages/sowing-*</div>
<div> cd src/bfort</div>
<div> <Copy in the attached bfort.c></div>
<div>
make</div>
<div> make install</div>
<div> cd $PETSC_DIR</div>
<div> make allfortranstubs</div>
<div> make</div>
</div>
</div>
</div>
</blockquote>
<br></div>
That all went ok and my little test code snippet for PetscFV now
works ok. Success!<div class=""><br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div><br>
</div>
<div>And you can check it with</div>
<div><br>
</div>
<div> cd src/dm/impls/plex/examples/tutorials</div>
<div> make ex3f90</div>
<div> ./ex3f90</div>
</div>
</div>
</div>
</blockquote>
<br></div>
This didn't actually work though... strangely, make ex3f90 gives me:<br>
<br>
ex3f90.F:6:0: fatal error: finclude/petsc.h90: No such file or
directory<br>
<br>
Weird, because that's the same include as in my little code snippet.
The only thing different I can see is the format- I used free format
and ex3f90 seems to be fixed format?</div></blockquote><div><br></div><div>Hmm, the makefile must be broken. I always use Python to test things:</div><div><br></div><div> ./config/builder2.py check src/dm/impls/plex/examples/tutorials/ex390f.F</div>
<div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
<div class="">
<br>
- Adrian<br>
<pre cols="72">--
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
University of Auckland, New Zealand
email: <a href="mailto:a.croucher@auckland.ac.nz" target="_blank">a.croucher@auckland.ac.nz</a>
tel: <a href="tel:%2B64%20%280%299%20923%204611" value="+6499234611" target="_blank">+64 (0)9 923 4611</a>
</pre>
</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</div></div>