[petsc-users] Exit EPSSolve() before completing convergence

Jose E. Roman jroman at dsic.upv.es
Mon Nov 16 03:51:23 CST 2020


You can try adding a custom stopping test. See the following examples:
https://slepc.upv.es/documentation/current/src/eps/tutorials/ex29.c.html
https://slepc.upv.es/documentation/current/src/eps/tutorials/ex30.c.html

Jose


> El 16 nov 2020, a las 10:44, ROLANDI Laura victoria <Laura-victoria.ROLANDI at isae-supaero.fr> escribió:
> 
> Hi all,
> 
> I'm using the Krylov-Schur EPS and I usually set in the .petscrc file the -eps_nev command asking for N eigenvalues to converge. 
> If the EPSSolve has only converged to n<N eigenvalues and my job has to finish, is there a way to get out from EPSSolve() in order to save at least the n<N solutions? Or, equivalently, is there a way to change the -eps_nev while the job is running? 
> 
> Thank you in advance,
> Victoria 
> 
> 
> --
> ---
> Laura victoria ROLANDI
> Doctorant - Doctorat ISAE-SUPAERO Doctorat 1
> laura-victoria.rolandi at isae-supaero.fr
> https://www.isae-supaero.fr
> Institut Supérieur de l'Aéronautique et de l'Espace
> 10, avenue Edouard Belin - BP 54032
> 31055 Toulouse Cedex 4
> France
>  
>  	
> Suivez l'ISAE-SUPAERO sur les réseaux sociaux / Follow the ISAE-SUPAERO on the social media
> Facebook Twitter LinkedIn Youtube Instagram



More information about the petsc-users mailing list