Changes

Jump to: navigation, search

PETSc

46 bytes added, 13:11, June 5, 2015
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

Navigation menu