[petsc-dev] something weird in manpages

Balay, Satish balay at mcs.anl.gov
Tue Apr 16 10:34:48 CDT 2019


I don't know if there is a better fix - but the following works..

diff --git a/include/petscksp.h b/include/petscksp.h
index 824c33ba1c..64d32b44b8 100644
--- a/include/petscksp.h
+++ b/include/petscksp.h
@@ -411,6 +411,8 @@ PETSC_EXTERN PetscErrorCode KSPSetSupportedNorm(KSP ksp,KSPNormType,PCSide,Petsc
 PETSC_EXTERN PetscErrorCode KSPSetCheckNormIteration(KSP,PetscInt);
 PETSC_EXTERN PetscErrorCode KSPSetLagNorm(KSP,PetscBool);
 
+#define KSP_DIVERGED_PCSETUP_FAILED_DEPRECATED KSP_DIVERGED_PCSETUP_FAILED PETSC_DEPRECATED_ENUM("Use KSP_DIVERGED_PC_FAILED (since v3.11)")
+
 /*E
     KSPConvergedReason - reason a Krylov method was said to have converged or diverged
 
@@ -448,7 +450,7 @@ typedef enum {/* converged */
               KSP_DIVERGED_NANORINF            = -9,
               KSP_DIVERGED_INDEFINITE_MAT      = -10,
               KSP_DIVERGED_PC_FAILED           = -11,
-              KSP_DIVERGED_PCSETUP_FAILED PETSC_DEPRECATED_ENUM("Use KSP_DIVERGED_PC_FAILED (since v3.11)") = -11,
+              KSP_DIVERGED_PCSETUP_FAILED_DEPRECATED  = -11,
 
               KSP_CONVERGED_ITERATING          =  0} KSPConvergedReason;
 PETSC_EXTERN const char *const*KSPConvergedReasons;


Satish

On Tue, 16 Apr 2019, Balay, Satish via petsc-dev wrote:

> Yeah - its due to bad processing in manualpages_buildcite target - due
> to the addition of PETSC_DEPRECATED_ENUM in include/petscksp.h
> 
> It also affects manual.pdf generation.
> 
> I need to figure-out how to fix this.
> 
> Satish
> 
>  On Tue, 16 Apr 2019, Hapla Vaclav via petsc-dev wrote:
> 
> > I have noticed that some special characters such as (=" in probably all manpages have become hyperlinks to KSPConvergedReason. This looks pretty weird.
> > 
> > Vaclav
> 



More information about the petsc-dev mailing list