[petsc-users] SLEPc in PETSc 3.11.0

Jose E. Roman jroman at dsic.upv.es
Thu Apr 25 06:18:20 CDT 2019


Use SLEPc 3.11 with PETSc 3.11.


> El 25 abr 2019, a las 13:16, Eda Oktay via petsc-users <petsc-users at mcs.anl.gov> escribió:
> 
> Hello everyone,
> 
> I am trying to run my program in petsc 3.11.0. It is currently working in petsc 3.10.3.
> 
> I am using slepc in the program, so when I used 3.10.3 the slepc library is in petsc-3.10.3/arch-linux2-c-debug. However, in 3.11.0, it is only in petsc-3.11.0/arch-linux2-c-debug/externalpackages/git.slepc. I think that is why, my program can not be compiled. I get the following error when I type "make asil" to make the program asil.c:
> 
> /home/edaoktay/petsc-3.11.0/arch-linux2-c-debug/bin/mpicc -o asil.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fstack-protector -fvisibility=hidden -g3   -I/home/edaoktay/petsc-3.11.0/arch-linux2-c-debug/externalpackages/git.slepc/include -I/home/edaoktay/petsc-3.11.0/arch-linux2-c-debug/externalpackages/git.slepc/arch-linux2-c-debug/include  -I/home/edaoktay/petsc-3.11.0/include -I/home/edaoktay/petsc-3.11.0/arch-linux2-c-debug/include    `pwd`/asil.c
> In file included from /home/edaoktay/petsc-3.11.0/arch-linux2-c-debug/externalpackages/git.slepc/include/slepcsys.h:45:0,
>                  from /home/edaoktay/petsc-3.11.0/arch-linux2-c-debug/externalpackages/git.slepc/include/slepcst.h:16,
>                  from /home/edaoktay/petsc-3.11.0/arch-linux2-c-debug/externalpackages/git.slepc/include/slepceps.h:16,
>                  from /home/edaoktay/petsc-3.11.0/src/eda/asil.c:10:
> /home/edaoktay/petsc-3.11.0/arch-linux2-c-debug/externalpackages/git.slepc/arch-linux2-c-debug/include/slepcconf.h:1:0: error: unterminated #if
>  #if !defined(__SLEPCCONF_H)
>  
> /home/edaoktay/petsc-3.11.0/lib/petsc/conf/rules:359: recipe for target 'asil.o' failed
> make: *** [asil.o] Error 1
> 
> 
> How can I get rid of this error? I have never get this when I used 3.10.3.
> 
> Thanks!
> 
> Eda



More information about the petsc-users mailing list