[petsc-users] SLEPc in PETSc 3.11.0

Smith, Barry F. bsmith at mcs.anl.gov
Sat Apr 27 21:19:10 CDT 2019


  Delete the current PETSc directory and upgrade to PETSc 3.11.1 or better yet download it via git: https://www.mcs.anl.gov/petsc/download/index.html
and it should automatically use the right version of SLEPc when you use --download-slepc 

  If that fails send configure.log and make.log to petsc-maint at mcs.anl.gov

   Barry


> On Apr 25, 2019, at 6:18 AM, Jose E. Roman via petsc-users <petsc-users at mcs.anl.gov> wrote:
> 
> 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