I try to compile GFlow (version = 0.1.7) with petsc version = 3.7.3.
I have changed the PETSC_DIR in the makefile to PETSC_DIR=/users/jyang71/Gflow/petsc-3.7.3
when I compile GFlow I got the following error:
_mpicc -g -Wall -O2 -std=c11 -D_GNU_SOURCE -isystem /users/jyang71/Gflow/petsc-3.7.3/include -c gflow.c -o gflow.o
In file included from /users/jyang71/Gflow/petsc-3.7.3/include/petscbag.h:4:0,
from /users/jyang71/Gflow/petsc-3.7.3/include/petsc.h:5,
from gflow.c:27:
/users/jyang71/Gflow/petsc-3.7.3/include/petscsys.h:14:23: fatal error: petscconf.h: No such file or directory
I try to compile GFlow (version = 0.1.7) with petsc version = 3.7.3. I have changed the PETSC_DIR in the makefile to PETSC_DIR=/users/jyang71/Gflow/petsc-3.7.3
when I compile GFlow I got the following error: _mpicc -g -Wall -O2 -std=c11 -D_GNU_SOURCE -isystem /users/jyang71/Gflow/petsc-3.7.3/include -c gflow.c -o gflow.o In file included from /users/jyang71/Gflow/petsc-3.7.3/include/petscbag.h:4:0, from /users/jyang71/Gflow/petsc-3.7.3/include/petsc.h:5, from gflow.c:27: /users/jyang71/Gflow/petsc-3.7.3/include/petscsys.h:14:23: fatal error: petscconf.h: No such file or directory
include
compilation terminated. make: *** [gflow.o] Error 1_
It seems that GFlow cannot find petscconf.h in the petsc_dir