Lets step back and deal with this primary issue. Have you attempted to use makefiles in petsc format? What problems have you encountered? Perhaps they are fixable.
The reason to use this format is to make your makefile as portable as possible [and avoid such issues]. Satish On Tue, 11 May 2010, Satish Balay wrote: > > Why not use petsc makefiles - and avoid these hasseles? >