Up: Contents
Next: Sample Makefiles
Previous: Customized Makefiles
PETSc has several flags that determine how the source code will be
compiled. The default flags for particular versions are specified by
the variable PETSCFLAGS within the base files of
${}PETSC_DIR/bmake/${}PETSC_ARCH, discussed in Section
Customized Makefiles
. The flags include
- USE_PETSC_DEBUG - The PETSc debugging options are activated. We
recommend always using this.
- USE_PETSC_COMPLEX - The version with scalars represented
as complex numbers is used.
- USE_PETSC_LOG - Various monitoring statistics on floating-point operations,
and message-passing activity are kept.
Up: Contents
Next: Sample Makefiles
Previous: Customized Makefiles