Hi, Sorry to hijack this thread but I just want to add that this is a more general problem that I constantly face with PETSc. Not being able to checkpoint the complete state of a solver instance and restart a computation (at least not easily) has long been the biggest missing feature in PETSc for me.
Thanks, Samar On Jun 24, 2024, at 9:14 AM, Jose E. Roman via petsc-users <[email protected]> wrote: This Message Is From an External Sender This message came from outside your organization. Unfortunately there is no support for this. If you requested several eigenvalues and the solver has converged some of them already, then it would be possible to stop the run, save the eigenvectors and rerun with the eigenvectors passed via EPSSetDeflationSpace(). Jose > El 24 jun 2024, a las 0:21, Marildo Kola > <[email protected]<mailto:[email protected]>> escribió: > > This Message Is From an External Sender > This message came from outside your organization. > Hello, > I am using SLEPc to calculate eigenvalues for fluid dynamics stability > analysis (specifically studying bifurcations). We employ a MatShellOperation, > which involves propagating Navier-Stokes to construct the Krylov space, and > this particularly slows down our algorithm. The problem I am facing is that, > after days of simulations, the simulation may die due to a time limit on the > cluster, but the eigensolver (I am using the default Krylov-Schur) has not > converged yet, leading to the loss of all the information computed up to that > point. I wanted to inquire if it is possible to implement, with the available > features, a restarting strategy, which can allow me, once the simulation > stops (or after a given number of restart iterations of the solver), to save > all the information necessary to restart the EPSSolver from the point it had > stopped. > Thank you in advance, > Best regards, Marildo Kola
