Fix for PetscCtxRt and PetscCtx argument types#170
Conversation
|
Thanks. The PETSc CI is getting an error I don't understand with PFLARE; it doesn't seem to be related to this change but suddenly it appeared, maybe you understand it. |
Ah apologies, that was due to some recent changes in main and not this PR, but I thought I had the PFLARE CI setup to ensure all warnings were on and set as errors like the PETSc CI so that this wouldn't happen. I'll try and fix this now. |
ad0dba9 to
4ca6c2d
Compare
|
@BarrySmith Ok this should be fixed now. Missed warnings were caused by old gcc version in the PFLARE CI and a missed -Werror flag for Fortran files, which have now been fixed. The commit you need is 4ca6c2d |
|
I had to change the Interface_XXX function to exclude the final end interface line and require the user to provide that so you will need to make another change to the branch. |
|
@BarrySmith Done |
|
@stevendargaville It's gotten better. It now does not need the use of Interface_xxx so could you please remove those? Thanks |
647ff8a to
5a629ea
Compare
|
@BarrySmith no worries, done |
|
@stevendargaville One of the pflare tests in the PETSc CI is failing. Could you please take a look at it https://gitlab.com/petsc/petsc/-/jobs/12854064147 |
Apologies, I've managed to replicate this and am working through now. |
…re ctx pointers are declared null to prevent uninitialised warnings
5a629ea to
f4ad40b
Compare
|
@BarrySmith Ok that should be fixed (and the PFLARE CI has been updated with -fp_trap on to catch this in the future). As it looks like your PETSc MR is close to merging, any chance you could use the PFLARE commit hash f4ad40b rather than this branch name, as I tag any commit that makes it into PETSc main so github doesn't garbage collect away a branch. |
|
Satish likes to enforce hashes before merge so we will use a hash when merged. Until then I find it is simpler to use the branch name otherwise I have to constantly change commits and will make mistakes. |
|
Sure no worries 😄 |
@BarrySmith I've brought the changes from your fork into this branch that will be merged after your PETSc MR. The commit hash you will need for PFLARE.py in PETSc is ad0dba9.