4,816
edits
Changes
PETSc
,no edit summary
$ module load gcc openmpi/gcc petsc/gcc
$ gcc <compiler commands> -I$PETSC/include -L$PETSC/lib -lpetsc
; Usage in Makefile: include Include the following configuration files into your makefile:.
: 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:
include ${PETSC_DIR}/bmake/common/base