... | ... | @@ -29,9 +29,11 @@ cd ../.. |
|
|
|
|
|
PETSc is the standard linear algebra toolkit used by GetDP (GetDP can also use linear solvers from Sparskit -- see the configuration options for more information).
|
|
|
|
|
|
To compile a sequential real arithmetic PETSc library, first download and uncompressed the PETSc source code from [the official site](http://www.mcs.anl.gov/petsc/petsc-as/download/), then (here for PETSc 3.7.4):
|
|
|
To compile a sequential real arithmetic PETSc library, first download and uncompressed the PETSc source code from [the official site](https://www.mcs.anl.gov/petsc/download/), then (here for PETSc 3.7.4):
|
|
|
|
|
|
```bash
|
|
|
curl -O http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.7.4.tar.gz
|
|
|
tar zxvf petsc-3.7.4.tar.gz
|
|
|
cd petsc-3.7.4
|
|
|
export PETSC_DIR=$PWD
|
|
|
export PETSC_ARCH=real_mumps_seq
|
... | ... | @@ -46,6 +48,8 @@ cd .. |
|
|
If you also wish to solve eigenvalue problems, you will want to also install SLEPc, an eigensolver based on PETSc. Download and uncompress the SLEPc [source code](http://slepc.upv.es/download/), then (here for SLEPc 3.7.1):
|
|
|
|
|
|
```bash
|
|
|
curl -O http://slepc.upv.es/download/distrib/slepc-3.7.1.tar.gz
|
|
|
tar zxvf slepc-3.7.1.tar.gz
|
|
|
cd slepc-3.7.1
|
|
|
export SLEPC_DIR=$PWD
|
|
|
./configure
|
... | ... | |