Hi all,
I'm a graduate student at CU Boulder, following PETSc this semester for a 
course on high-performance scientific computing, and I'd like to contribute a 
small piece of performance-testing tooling and documentation.

Proposal:
    A driver script that generates a few families of linear systems that users 
commonly encounter (2D Poisson, anisotropic diffusion, convection-diffusion at 
increasing Peclet number), runs a handful of KSP/PC combinations on each (for 
example CG/GMRES with Jacobi, ILU, GAMG, and BoomerAMG), and reports 
convergence, iteration counts, setup time, and solve time from -log_view output.

    I would pair it with a short docs page explaining how to run it and how to 
use the results as a starting point for choosing a solver when a matrix 
resembles one of these classes. The script would drive existing runtime options 
and examples, with no changes to the core library.
I looked in lib/petsc/bin, src/benchmarks, and the docs for existing tooling 
and found that nothing similar turned up, so I think this fills a gap, but I'd 
appreciate a correction if I've missed something.
A few questions:

  1.
Is there any existing material or a script I should build on / avoid 
duplicating?
  2.
Where would you like the script and docs page to live (manual, a tutorials 
directory, or lib/petsc/bin)?
  3.
Which tutorial would you recommend as the base for a linear problem where size 
and coefficients can be set from the command line?
  4.
I'll contribute from a public fork, so I won't be able to run pipelines or set 
labels. Could a developer help with that once I open the MR?
  5.
Is there anything I should follow regarding disclosure of AI-assisted work 
beyond what is in AGENTS.md?

Timeline: my course requires a submitted MR by November 30, so I plan to open a 
draft MR (Request-For-Comment) early with the core script and docs, and I will 
follow the style guide, run the test and lint checks, and keep the docs change 
in its own MR. I'm happy to cut scope or change direction based on your 
feedback, and even brief guidance would help a lot.

Thank you for your time!

Best,
Max Busboom
GitHub: maxbusboom
University of Colorado Boulder

Reply via email to