Hi Dan, I am trying to compile spider but got error in the last step on calling SUNDIALS_BDF (see below). I suspect it's because the make file can't locate SUNDIALS? I am not very used to C files, maybe you have any idea what could be the error for it? Thanks!
PS: both SUNDIALS and PETSC have been successfully installed I believe. The path structure tree is below if that is useful:
-folder -- SUNDIALS
-- spider
-- petsc-double
Eason
/Users/easonzz/Documents/GitHub/spider/main.c:87:10: warning: implicit declaration of function 'TSSundialsSetUseDense' is invalid in C99 [-Wimplicit-function-declaration]
ierr = TSSundialsSetUseDense(ts,PETSC_TRUE);CHKERRQ(ierr);
^
/Users/easonzz/Documents/GitHub/spider/main.c:88:10: warning: implicit declaration of function 'TSSundialsSetType' is invalid in C99 [-Wimplicit-function-declaration]
ierr = TSSundialsSetType(ts,SUNDIALS_BDF);CHKERRQ(ierr);
^
/Users/easonzz/Documents/GitHub/spider/main.c:88:31: error: use of undeclared identifier 'SUNDIALS_BDF'
ierr = TSSundialsSetType(ts,SUNDIALS_BDF);CHKERRQ(ierr);
^
/Users/easonzz/Documents/GitHub/spider/main.c:95:10: warning: implicit declaration of function 'TSSundialsSetTolerance' is invalid in C99 [-Wimplicit-function-declaration]
ierr = TSSundialsSetTolerance(ts, 1.0e-6, 1.0e-6 );CHKERRQ(ierr);
^
3 warnings and 1 error generated.
make: *** [main.o] Error 1
make: *** Waiting for unfinished jobs....
Hi Dan, I am trying to compile spider but got error in the last step on calling
SUNDIALS_BDF(see below). I suspect it's because the make file can't locate SUNDIALS? I am not very used to C files, maybe you have any idea what could be the error for it? Thanks!PS: both SUNDIALS and PETSC have been successfully installed I believe. The path structure tree is below if that is useful:
-folder -- SUNDIALS
-- spider
-- petsc-double
Eason