firedrakeproject / asQ

A library for implementing ParaDIAG timestepping algorithms using Firedrake
MIT License
4 stars 1 forks source link

Should we be calling `destroy` on parallel objects? #194

Open JHopeCollins opened 4 months ago

JHopeCollins commented 4 months ago
  1. mpi4py-fftw subcomms in CirculantPC
  2. PETSc Vec in AllAtOnceFunction
  3. PETSc SNES, Mat, and Vec in AllAtOnceSolver
  4. PETSc KSP in LinearSolver

Can we do this with weakref.finalize like Firedrake does with comms?