[petsc-users] Error after updating to 3.6.0: finclude/petscsys.h: No such file or directory

Danyang Su danyang.su at gmail.com
Sun Jun 14 23:29:40 CDT 2015


Sorry, I forgot this changes.

  * Fortran include files are now in include/petsc/finclude instead of
    include/finclude. Thus replace uses of #include "finclude/xxx.h"
    with #include "petsc/finclude/xxx.h". Reason for change: to
    namespace the finclude directory with PETSc for --prefix installs of
    PETSc and for packaging systems



On 15-06-14 09:15 PM, Danyang Su wrote:
> Hi PETSc User,
>
> I get problem in compiling my codes after updating PETSc to 3.6.0.
>
> The codes work fine using PETSc 3.5.3 and PETSc-dev.
>
> I have made modified include lines in makefile from
>
> #PETSc variables for V3.5.3 and previous version
> #include ${PETSC_DIR}/conf/variables
> #include ${PETSC_DIR}/conf/rules
>
> to
>
> #PETSc variables for development version, version V3.6.0 and later
> include ${PETSC_DIR}/lib/petsc/conf/variables
> include ${PETSC_DIR}/lib/petsc/conf/rules
>
> but I got the error
>
> fatal error: finclude/petscsys.h: No such file or directory
>  #include <finclude/petscsys.h>
>  ^
> compilation terminated.
>
> The configure log is attached.
>
> Thanks and regards,
>
> Danyang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150614/d37219a2/attachment.html>


More information about the petsc-users mailing list