petsc (math/petsc) Updated: 2 months ago Add to my watchlist

Portable, Extensible Toolkit for Scientific Computation

PETSc, pronounced PET-see (the S is silent), is a suite of data structures and routines for the scalable (parallel) solution of scientific applications modeled by partial differential equations. It employs the MPI standard for all message-passing communication.

Version: 3.20.2 License: BSD GitHub
Maintainers MarcusCalhoun-Lopez
Categories science math
Platforms darwin
  • accelerate (Build with linear algebra from built-in Accelerate framework)
  • atlas (Build with linear algebra from ATLAS)
  • blis (Build with linear algebra from BLIS)
  • clang10 (Build using the MacPorts clang 10 compiler)
  • clang11 (Build using the MacPorts clang 11 compiler)
  • clang12 (Build using the MacPorts clang 12 compiler)
  • clang13 (Build using the MacPorts clang 13 compiler)
  • clang14 (Build using the MacPorts clang 14 compiler)
  • clang15 (Build using the MacPorts clang 15 compiler)
  • clang16 (Build using the MacPorts clang 16 compiler)
  • clang17 (Build using the MacPorts clang 17 compiler)
  • clang90 (Build using the MacPorts clang 9.0 compiler)
  • complex (Build with support for complex numbers)
  • debug (Build with debug support)
  • fftw (Build with FFTW interface (requires MPI))
  • flexiblas (Build with linear algebra from FlexiBLAS)
  • g95 (Build using the g95 Fortran compiler)
  • gcc10 (Build using the MacPorts gcc 10 compiler)
  • gcc11 (Build using the MacPorts gcc 11 compiler)
  • gcc12 (Build using the MacPorts gcc 12 compiler)
  • gcc13 (Build using the MacPorts gcc 13 compiler)
  • gfortran (Build using the MacPorts gcc 13 Fortran compiler)
  • hdf5 (Build with HDF5 interface for parallel file io)
  • hwloc (Build with hwloc)
  • hypre (Build with HYPRE interface for a sparse parallel solver)
  • ml (Build with ML interface for a sparse parallel solver)
  • mpich (Build using the MPICH compiler)
  • mumps (Build with MUMPS interface for a parallel direct solver)
  • netcdf (Build with NetCDF interface for parallel file io)
  • openblas (Build with linear algebra from OpenBLAS)
  • openmpi (Build using the OpenMPI compiler)
  • parmetis (Build with ParMetis interface for parallel graph partitioning)
  • sprng (Build with SPRNG interface for a sparse random number generator)
  • sundials (Build with CVODE interface for TS)
  • superlu (Build with SuperLU interface for a serial direct solver)
  • superlu_dist (Build with SuperLU_DIST interface for a parallel direct solver)
  • universal (Build for multiple architectures)
  • valgrind (Build with valgrind support)
  • yaml (Build with YAML interface for option reading)

"petsc" depends on

lib (3)
build (4)

Ports that depend on "petsc"

Port notes

Add the following line to your .bash_profile if you plan to use the PETSC makefile rules in ${prefix}/lib/petsc/conf:
export PETSC_DIR=${prefix}/lib/petsc

Port Health:

Loading Port Health

Installations (30 days)


Requested Installations (30 days)


Livecheck results

petsc seems to have been updated (port version: 3.20.2, new version: 3.20.5)

livecheck ran: 1 day, 20 hours ago