Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

petsc

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

petsc

PETSc: Portable, Extensible Toolkit for Scientific Computation

  • 3.22.2
  • PyPI
  • Socket score

Maintainers
2

The Portable, Extensible Toolkit for Scientific Computation (PETSc), is a suite of data structures and routines for the scalable (parallel) solution of scientific applications modeled by partial differential equations. It employs the Message Passing Interface (MPI) standard for all message-passing communication.

.. note::

To install the PETSc and petsc4py packages (mpi4py is optional but highly recommended) use::

 $ python -m pip install numpy mpi4py
 $ python -m pip install petsc petsc4py

.. tip::

You can also install the in-development versions with::

$ python -m pip install Cython numpy mpi4py
$ python -m pip install --no-deps https://gitlab.com/petsc/petsc/-/archive/main/petsc-main.tar.gz

Provide any PETSc ./configure options using the environmental variable PETSC_CONFIGURE_OPTIONS.

Do not use the PETSc ./configure options --with-cc, --with-cxx, --with-fc, or --with-mpi-dir. To set the MPI compilers use the environmental variables MPICC, MPICXX, MPIFORT. If mpi4py is installed the compilers will be obtained from that installation and MPICC, MPICXX, MPIFORT will be ignored.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc