xref: /libCEED/examples/petsc/include/petscversion.h (revision 7cf95199bdce7094e6c708bc6d0230948407aea7)
15aed82e4SJeremy L Thompson // Copyright (c) 2017-2024, Lawrence Livermore National Security, LLC and other CEED contributors.
298285ab4SZach Atkins // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
398285ab4SZach Atkins //
498285ab4SZach Atkins // SPDX-License-Identifier: BSD-2-Clause
598285ab4SZach Atkins //
698285ab4SZach Atkins // This file is part of CEED:  http://github.com/ceed
798285ab4SZach Atkins 
898285ab4SZach Atkins /// @file
998285ab4SZach Atkins /// Petsc version check
1024a65d3dSJeremy L Thompson #pragma once
11b8962995SJeremy L Thompson 
12*7cf95199SJeremy L Thompson #if PETSC_VERSION_LT(3, 22, 0)
13*7cf95199SJeremy L Thompson #error "PETSc v3.22 or later is required"
14b8962995SJeremy L Thompson #endif
15