<div dir="ltr"><div class="gmail_quote">On Fri, Apr 1, 2011 at 08:53, khalid ashraf <span dir="ltr">&lt;<a href="mailto:khalid_eee@yahoo.com">khalid_eee@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>ex142.c(8): catastrophic error: could not open source file &quot;petscmat.h&quot;</div><div>  #include &lt;petscmat.h&gt;</div><div>                       ^</div><div></div></blockquote><div><br></div><div>What commands are printed when you typed &quot;make ex142&quot;? Are you trying to invoke the compiler yourself (thus missing some include paths)?</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>The same error with &lt;fftw3.h&gt;</div><div><br></div><div>Do I need to configure petsc with something else ?</div>
</blockquote></div><br><div>Did you use --download-fftw or --with-fftw-dir=/path/to/your/fftw3 ?</div></div>