<div>hi,</div>
<div>&nbsp;</div>
<div>i managed to solve the problem by telling the compiler to search for the include directory. however, it seems that i need to specify the petsc dir, the petsc/bmake/linux-gnu-intel/ dir and the petsc/include dir.</div>

<div>&nbsp;</div>
<div>it is now up and running. </div>