cannot compile using petsc 3.0

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


Hi,

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
INCS=${PETSC_INCLUDE}
LIBS=${PETSC_LIB}

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

Waad



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090125/47790419/attachment.htm>


More information about the petsc-users mailing list