Using and installing instructions for the p4est library

p4est is a library that manages meshes that are distributed across multiple processors. It forms the basis of deal.II's implementation of finite element solvers that can use meshes that are too large to be held on each processor individually.

You need to install p4est before deal.II. To do so, you can download it from here, copy it to a fresh directory into which you should also copy the p4est-setup.sh script (the one from this link, not one you may have gotten from the p4est webpage). Then call the script as follows:

	  ./p4est-setup.sh p4est-x-y-z.tar.gz /path/to/installation
	
where p4est-x-y-z.tar.gz is the name of the p4est distribution file, and /path/to/installation is a directory into which you want to install p4est.

After this, you need to configure and build deal.II using a line like

	  ./configure --with-p4est=/path/to/installation --enable-mpi
	  make all
	
Obviously, you can also add additional flags to ./configure as described in the general ReadMe file.


The deal.II mailing list