<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>hi Barry,<br>
</p>
<br>
<div class="moz-cite-prefix">On 24/06/16 14:23, Barry Smith wrote:<br>
</div>
<blockquote
cite="mid:67C934E5-0D51-4B5C-863C-42E8A29C5E99@mcs.anl.gov"
type="cite">
<pre wrap="">
If your fortran function includes petscsnesdef.h does it work ok?</pre>
</blockquote>
<br>
No, unfortunately.<br>
<br>
(I forgot to say, I'm doing #include
<petsc/finclude/petsc.h90> in my code.)<br>
<br>
<blockquote type="cite">
<pre wrap="">Just pass in the string 'ds' it looks like our Fortran include files are not correct.</pre>
</blockquote>
<br>
This does compile, but doesn't look like it is actually doing
anything- i.e it's not giving the same behaviour as if I set
"-mat_fd_type ds" on the command line. It just gives the default wp
behaviour.<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 84611
</pre>
</body>
</html>