#include "slepcsys.h" PetscErrorCode SlepcGetVersionNumber(PetscInt *major,PetscInt *minor,PetscInt *subminor,PetscInt *release)Not Collective
major | - the major version | |
minor | - the minor version | |
subminor | - the subminor version (patch number) | |
release | - indicates the library is from a release |
The C macros SLEPC_VERSION_MAJOR, SLEPC_VERSION_MINOR, SLEPC_VERSION_SUBMINOR, SLEPC_VERSION_RELEASE provide the information at compile time. This can be used to confirm that the shared library being loaded at runtime has the appropriate version updates.
This function can be called before SlepcInitialize().