Re: [petsc-users] ST solver error

2019-08-01 Thread Jose E. Roman via petsc-users
See FAQ #10
http://slepc.upv.es/documentation/faq.htm


> El 1 ago 2019, a las 15:58, Yang Bo (Asst Prof) via petsc-users 
>  escribió:
> 
> Hi everyone,
> 
> I am trying to use the Shift-and-invert spectral transformations for my 
> diagonalisation code. While there is no problem running the code with
> 
> STSetType(st,STSHIFT);
> 
> I receive the following errors when using STSetType(st,STSINVERT):
> 
> [0]PETSC ERROR: - Error Message 
> --
> [0]PETSC ERROR: See 
> http://www.mcs.anl.gov/petsc/documentation/linearsolvertable.html for 
> possible LU and Cholesky solvers
> [0]PETSC ERROR: Could not locate a solver package. Perhaps you must 
> ./configure with --download-
> [0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for 
> trouble shooting.
> [0]PETSC ERROR: Petsc Release Version 3.10.2, Oct, 09, 2018 
> [0]PETSC ERROR: ./main on a arch-linux2-c-debug named 
> yangbo-ThinkStation-P720 by yangbo Thu Aug  1 17:30:34 2019
> [0]PETSC ERROR: Configure options --with-cc=gcc --with-cxx=g++ 
> --with-fc=gfortran --download-mpich --download-fblaslapack --with-debugging=0 
> COPTFLAGS="-O3 -march=native -mtune=native" CXXOPTFLAGS="-O3 -march=native 
> -mtune=native" FOPTFLAGS="-O3 -march=native -mtune=native"
> [0]PETSC ERROR: #1 MatGetFactor() line 4415 in 
> /home/yangbo/petsc-3.10.2/src/mat/interface/matrix.c
> [0]PETSC ERROR: #2 PCSetUp_LU() line 93 in 
> /home/yangbo/petsc-3.10.2/src/ksp/pc/impls/factor/lu/lu.c
> [0]PETSC ERROR: #3 PCSetUp() line 932 in 
> /home/yangbo/petsc-3.10.2/src/ksp/pc/interface/precon.c
> [0]PETSC ERROR: #4 KSPSetUp() line 391 in 
> /home/yangbo/petsc-3.10.2/src/ksp/ksp/interface/itfunc.c
> [0]PETSC ERROR: #5 STSetUp_Cayley() line 192 in 
> /home/yangbo/slepc-3.10.1/src/sys/classes/st/impls/cayley/cayley.c
> [0]PETSC ERROR: #6 STSetUp() line 271 in 
> /home/yangbo/slepc-3.10.1/src/sys/classes/st/interface/stsolve.c
> [0]PETSC ERROR: #7 EPSSetUp() line 263 in 
> /home/yangbo/slepc-3.10.1/src/eps/interface/epssetup.c
> [0]PETSC ERROR: #8 EPSSolve() line 135 in 
> /home/yangbo/slepc-3.10.1/src/eps/interface/epssolve.c
> [0]PETSC ERROR: #9 main() line 331 in main.cpp
> [0]PETSC ERROR: PETSc Option Table entries:
> [0]PETSC ERROR: -e 7
> [0]PETSC ERROR: -f d
> [0]PETSC ERROR: -nev 20
> [0]PETSC ERROR: -o 19
> [0]PETSC ERROR: End of Error Message ---send entire error 
> message to petsc-ma...@mcs.anl.gov--
> application called MPI_Abort(MPI_COMM_WORLD, 92) - process 0
> 
> 
> May I know if I need to install the solver package for this to work?
> 
> Thank you very much!
> 
> Best regards,
> 
> Yang Bo



[petsc-users] ST solver error

2019-08-01 Thread Yang Bo (Asst Prof) via petsc-users
Hi everyone,

I am trying to use the Shift-and-invert spectral transformations for my 
diagonalisation code. While there is no problem running the code with

STSetType(st,STSHIFT);

I receive the following errors when using STSetType(st,STSINVERT):

[0]PETSC ERROR: - Error Message 
--
[0]PETSC ERROR: See 
http://www.mcs.anl.gov/petsc/documentation/linearsolvertable.html for possible 
LU and Cholesky solvers
[0]PETSC ERROR: Could not locate a solver package. Perhaps you must ./configure 
with --download-
[0]PETSC ERROR: See http://www.mcs.anl.gov/petsc/documentation/faq.html for 
trouble shooting.
[0]PETSC ERROR: Petsc Release Version 3.10.2, Oct, 09, 2018
[0]PETSC ERROR: ./main on a arch-linux2-c-debug named yangbo-ThinkStation-P720 
by yangbo Thu Aug  1 17:30:34 2019
[0]PETSC ERROR: Configure options --with-cc=gcc --with-cxx=g++ 
--with-fc=gfortran --download-mpich --download-fblaslapack --with-debugging=0 
COPTFLAGS="-O3 -march=native -mtune=native" CXXOPTFLAGS="-O3 -march=native 
-mtune=native" FOPTFLAGS="-O3 -march=native -mtune=native"
[0]PETSC ERROR: #1 MatGetFactor() line 4415 in 
/home/yangbo/petsc-3.10.2/src/mat/interface/matrix.c
[0]PETSC ERROR: #2 PCSetUp_LU() line 93 in 
/home/yangbo/petsc-3.10.2/src/ksp/pc/impls/factor/lu/lu.c
[0]PETSC ERROR: #3 PCSetUp() line 932 in 
/home/yangbo/petsc-3.10.2/src/ksp/pc/interface/precon.c
[0]PETSC ERROR: #4 KSPSetUp() line 391 in 
/home/yangbo/petsc-3.10.2/src/ksp/ksp/interface/itfunc.c
[0]PETSC ERROR: #5 STSetUp_Cayley() line 192 in 
/home/yangbo/slepc-3.10.1/src/sys/classes/st/impls/cayley/cayley.c
[0]PETSC ERROR: #6 STSetUp() line 271 in 
/home/yangbo/slepc-3.10.1/src/sys/classes/st/interface/stsolve.c
[0]PETSC ERROR: #7 EPSSetUp() line 263 in 
/home/yangbo/slepc-3.10.1/src/eps/interface/epssetup.c
[0]PETSC ERROR: #8 EPSSolve() line 135 in 
/home/yangbo/slepc-3.10.1/src/eps/interface/epssolve.c
[0]PETSC ERROR: #9 main() line 331 in main.cpp
[0]PETSC ERROR: PETSc Option Table entries:
[0]PETSC ERROR: -e 7
[0]PETSC ERROR: -f d
[0]PETSC ERROR: -nev 20
[0]PETSC ERROR: -o 19
[0]PETSC ERROR: End of Error Message ---send entire error 
message to petsc-ma...@mcs.anl.gov--
application called MPI_Abort(MPI_COMM_WORLD, 92) - process 0


May I know if I need to install the solver package for this to work?

Thank you very much!

Best regards,

Yang Bo