Error compilation GetDP with MPI and SLEPC
There is an issue on debian-based OS during the compilation of GetDP with MPI support.
curl -L -O http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.16.0.tar.gz
tar zxvf petsc-3.16.0.tar.gz
cd petsc-3.16.0
export PETSC_DIR=$PWD
export PETSC_ARCH=complex_mumps_mpi
./configure --with-debugging=0 --with-clanguage=cxx --with-shared-libraries=0 --with-x=0 --download-mumps=1 --download-metis=1 --download-parmetis=1 --download-scalapack=1 --download-blacs=1 --with-scalar-type=complex
# Notes:
# * if the BLAS/LAPACK libraries are not installed in standard locations, you will have to specify their location by hand with options --with-blas-lib=/path/to/libblas and --with-lapack-lib=/path/to/liblapack
make
cd ../..
The third line should be replaced by: "export PETSC_ARCH=arch-linux-cxx-opt" instead of "export PETSC_ARCH=complex_mumps_mpi" Hence the slepc library can be compiled agaisnt PETSC following the remaining instruction.
Best,
Frederic
Edited by Christophe Geuzaine