[petsc-dev] petscversion.h unchanged but API changed for MatGetSubMatrix and others

Eric Chamberland Eric.Chamberland at giref.ulaval.ca
Fri Mar 10 08:52:52 CST 2017


Hi,

Juste compiled with last night tarball of petsc-master and found that 
MatGetSubMatrix has changed to MatCreateSubMatrix.

Fine, but I can't use the petscversion.h to switch into my code with 
#ifdef over any of:

#define PETSC_VERSION_MAJOR      3
#define PETSC_VERSION_MINOR      7
#define PETSC_VERSION_SUBMINOR   5
#define PETSC_VERSION_PATCH      0

since it is unchanged with 3.7.5.0 which has a different api.

Would someone please change the version?

Thanks,

Eric



More information about the petsc-dev mailing list