wiki:InstallAdaptivityLibrary

Install gfortran and mpif90 as described in InstallPetscAndMpi#MPIinstallationwithFortranFortran90compilers.

Download the adaptivity library source code from https://chaste.cs.ox.ac.uk/chaste/Inc/download.php?file=libadaptivity.tgz.

The following assumes that the mpi wrapper binaries (mpicxx, mpif90) can be found on your PATH.

tar -xzvf libadaptivity.tgz
cd libadaptivity
FORTRAN_REAL_8="-fdefault-real-8" FFLAGS="-fsecond-underscore" ./configure --enable-shared --enable-vtk
make

Next, edit include/confdefs.h to prevent its NDEBUG setting bleeding into Chaste code, by removing the line

#define NDEBUG 1

To test that the library is working (which takes a while), do

cd tests
make
./test_adapt_full
Last modified 9 years ago Last modified on May 31, 2011, 1:42:34 PM