xref: /libCEED/examples/petsc/include/petscversion.h (revision 98285ab464d104dd6040959f61a83e9969073ceb)
1*98285ab4SZach Atkins // Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors.
2*98285ab4SZach Atkins // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
3*98285ab4SZach Atkins //
4*98285ab4SZach Atkins // SPDX-License-Identifier: BSD-2-Clause
5*98285ab4SZach Atkins //
6*98285ab4SZach Atkins // This file is part of CEED:  http://github.com/ceed
7*98285ab4SZach Atkins 
8*98285ab4SZach Atkins /// @file
9*98285ab4SZach Atkins /// Petsc version check
10*98285ab4SZach Atkins 
11b7c563b6SJeremy L Thompson #ifndef libceed_petsc_examples_version_h
12b7c563b6SJeremy L Thompson #define libceed_petsc_examples_version_h
13b8962995SJeremy L Thompson 
14d31f425aSJeremy L Thompson #if PETSC_VERSION_LT(3, 20, 0)
15d31f425aSJeremy L Thompson #error "PETSc v3.20 or later is required"
16b8962995SJeremy L Thompson #endif
17b8962995SJeremy L Thompson 
18b8962995SJeremy L Thompson #endif
19