PETSc
PETSc (Portable, Extensible Toolkit for Scientific Computation), maintained by Argonne National Laboratory, provides the core algorithms and parallel infrastructure for large-scale linear/nonlinear systems. Nearly all mainstream open-source CFD codes (OpenFOAM, FEniCS, deal.II) rely on PETSc underneath - the "engine" of high-end scientific computing.
Core components
- Linear solvers: Krylov methods (CG, GMRES, BiCGStab) + preconditioners (Jacobi, ILU, AMG)
- Nonlinear solvers: Newton-Krylov (SNES), quasi-Newton
- Time integration: explicit/implicit ODE/DAE solvers (TS)
- Parallel data: DMDA (structured), DMPlex (unstructured)
Use cases: Large multiphysics coupling (fluid-thermal-structural); high-end CFD solver development; replacing commercial solvers (ANSYS, COMSOL) for in-house research; efficient ML-physics hybrid methods.
Note: BSD-2-Clause, commercial-friendly. Steep learning curve; start with the official Tutorial. C/Fortran core with petsc4py bindings; pairs with SUNDIALS and PyAMG.
Tags: SolverLinear AlgebraSparse MatrixHPCParallel
Related entries
- Modin · Distributed DataFrame library, a drop-in pandas replacement that auto-paralleliz
- OpenFOAM · The de facto open-source CFD solver covering incompressible/compressible flow, h
- AIPerf: LLM Inference Benchmarking at Scale · AIPerf is an LLM inference benchmarking tool from NVIDIA designed to evaluate th
- HiDream-O1-Video by ZhiXiang · HiDream-O1-Video-1.0 is a video generation model that demonstrates strong unders
- Unitree UnifoLM-WLA-1.0 General-Purpose Humanoid Robot Foundation Model · Unitree releases UnifoLM-WLA-1.0, a 6B parameter general-purpose embodied AI mod