gflow / GFlow

Software for modeling circuit theory-based connectivity
GNU General Public License v3.0
22 stars 5 forks source link

error in compiling GFlow with pestc >= 3.7.3, cannot find petscconf.h #31

Open yjx4131 opened 4 years ago

yjx4131 commented 4 years ago

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