-
Notifications
You must be signed in to change notification settings - Fork 19
PETSc support
Arne Morten Kvarving edited this page Feb 28, 2017
·
1 revision
IFEM can utilize the PETSc library for iterative linear solvers, preconditioners and assembly. Currently version 3.6.3+ and 3.7.x have been confirmed working.
To compile IFEM with PETSc support, you need to pass the '-DIFEM_USE_PETSC=1' option to CMake. This again depends on you having two environment variables set
- $PETSC_DIR - the root path of your PETSc installation
- $PETSC_ARCH - the architecture of your PETSc
To compile IFEM with parallel PETSc support, you need to pass '-DIFEM_USE_PETSC=1 -DIFEM_USE_MPI=1' options to CMake. This will enable distributed memory parallel computing support through PETSc in IFEM.