cannot compile using petsc 3.0

Waad Subber w_subber at
Sun Jan 25 10:30:26 CST 2009


I just installed petsc-3.0.0-p2. Everything goes well in the installation using intel compilers and Intel MKL. When I compile my code I get these error messages :

mfactor.F(21): #error: can't find include file: include/finclude/petsc.h
mfactor.F(22): #error: can't find include file: include/finclude/petscvec.h
mfactor.F(23): #error: can't find include file: include/finclude/petscviewer.h
mfactor.F(24): #error: can't find include file: include/finclude/petscmat.h

My makefile is
include ${PETSC_DIR}/conf/base

MAIN = RUN.exe
COMP = mpif90
BINDIR = ../bin

LIST = mfactor.F msolve.F mveccreate.F m_mdim.f90 m_minput.f90  m_mglobal.F m_moutput.F 

all : $(LIST)
    $(COMP) $(INCS) $(LIST) $(LIBS) -o $(BINDIR)/$(MAIN)    

    ${RM} -f *.o *.mod

Any idea ? thanks


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the petsc-users mailing list