<div dir="ltr"><div class="gmail_quote">On Fri, Apr 1, 2011 at 08:53, khalid ashraf <span dir="ltr"><<a href="mailto:khalid_eee@yahoo.com">khalid_eee@yahoo.com</a>></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 "petscmat.h"</div><div> #include <petscmat.h></div><div> ^</div><div></div></blockquote><div><br></div><div>What commands are printed when you typed "make ex142"? 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 <fftw3.h></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>