19 years of p4est: Parallel AMR on Forests of Octrees

The p4est software library enables the dynamic management of a collection of adaptive octrees, conveniently called a forest of octrees. p4est is designed to work in parallel and scales to hundreds of thousands, even millions, of processor cores. It is actively maintained and used by researchers worldwide.

p4est is free software released under the GNU General Public Licence version 2.

This website's development is tracked in a public git repository.

Source code

Please see the github repository of p4est or download the latest release tarball. The source comes with commented example programs and test cases. You can also download older stable releases.

p4est uses libsc written by the same authors and others for basic helper functionality such as logging, array and hash data structures, parallel statistics, and more. libsc also integrates the third-party libraries zlib and jansson. libsc is free software under the LGPL v2.1 and hosted at github.

Please note that the so-called releases auto-generated by github do not work (they are lacking the subdirectory sc and some generated files). We attach properly versioned .tar.gz files of our own to each release.

Binary packages

p4est version 2.3 and a matching libsc are available in Debian. The Gentoo distribution contains p4est version 2.8.7.

Documentation

This is the doxygen output including several topic pages for p4est and for libsc. Recreate it with make doxygen after calling configure.

Howto document and step-by-step examples

We have added a new recommended first example for using p4est with application data.

Here is a somewhat ancient howto document on the basic interface design of p4est including comments on the step-by-step examples included in the source code.

Questions / Get involved

We appreciate comments, bug reports, and suggestions for adding features. To this end, we recommend using the issue tracker. We will generally consider pull requests, but it might be coordinated more easily if an issue is discussed first.

Proprietary / Commercial use

p4est is free software according to the Free Software Foundation. The GPL license permits any use whatsoever as long as derived works are open-sourced under the same terms. For commercial, closed-source use, such as distributing a binary executable without the source, you may double-license the software by negotiating the terms with myself and UT Austin OTC.