4,816
edits
Changes
PETSc
,no edit summary
$ gcc <compiler commands> -I$PETSC/include -L$PETSC/lib -lpetsc
; Usage in Makefile
: Include the following configuration files Here is how to include various PETSC variables into your makefilemake file.If you define the compile rules yourself, then skip the second line:: For version 3, include the following statements into your makefile:
include ${PETSC_DIR}/conf/variables
include ${PETSC_DIR}/conf/rules
: For version 2, : include this:${PETSC_DIR}/bmake/common/variables include ${PETSC_DIR}/bmake/common/baserules