#ifndef petsc_version #define petsc_version #if PETSC_VERSION_LT(3,17,0) #error "PETSc v3.17 or later is required" #endif #endif