History log of /petsc/src/ksp/pc/impls/mpi/pcmpi.c (Results 1 – 25 of 95)
Revision Date Author Comments
# 4e8208cb 31-Jan-2026 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2026-01-13/ftn-generation-for-context-functions' into 'main'

Fortran generation of interface definitions for functions that take and return context variables (void *ctx and PetC

Merge branch 'barry/2026-01-13/ftn-generation-for-context-functions' into 'main'

Fortran generation of interface definitions for functions that take and return context variables (void *ctx and PetCtx ctx)

See merge request petsc/petsc!8956

show more ...


# 2a8381b2 13-Jan-2026 Barry Smith <bsmith@mcs.anl.gov>

Add automatic generated fortran support for setting and returning contexts

Major cleanup of the code for setting and returning application (previously called user) contexts
- PetscCtx ctx is now t

Add automatic generated fortran support for setting and returning contexts

Major cleanup of the code for setting and returning application (previously called user) contexts
- PetscCtx ctx is now the standard for passing in contexts
- PetscCtxRt ctx is the standard for passing out contexts, including context destroy routines based on PetscCtxDestroyFn

Both of these are typedef to void*

Also removed most use of user and userctx for context arguments now consistently named ctx

Improved documentation on PetscCtx and PetscCtxRt and on how to use contexts (including getting them) from Fortran

show more ...


# 934c28dd 22-Jul-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 620e95b2 21-Jul-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-07-16/fix-pcmpi-unix-shared-memory-race-condition/release' into 'release'

Fix a race condition in PCMPISolve() when using Unix shared memory.

See merge request petsc/petsc!

Merge branch 'barry/2025-07-16/fix-pcmpi-unix-shared-memory-race-condition/release' into 'release'

Fix a race condition in PCMPISolve() when using Unix shared memory.

See merge request petsc/petsc!8560

show more ...


# 8033637c 17-Jul-2025 Barry Smith <bsmith@mcs.anl.gov>

Fix a race condition in PCMPISolve() when using Unix shared memory.

The 0th rank accesses the solution of the other rocesses before the other processes have finished updating the final solution loca

Fix a race condition in PCMPISolve() when using Unix shared memory.

The 0th rank accesses the solution of the other rocesses before the other processes have finished updating the final solution locally. This cannot happen with the MPI communication based version because the communication is done with an MPI_Allgatherv() that blocks on the processes getting to that point before copying over the data.

Reported-by: Marsha Berger

show more ...


# 2b338477 03-Jul-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'MarDiehl/1781-unify-type-of-setupcalled-to-petscbool' into 'main'

Use PetscBool instead of PetscInt for setupcalled

See merge request petsc/petsc!8495


# 371d2eb7 03-Jul-2025 Martin Diehl <mail@martin-diehl.net>

Use PetscBool instead of PetscInt for setupcalled

PetscInt was used in some structs, but the underlying logic requires only Booleans. Also removed an unused variable and unified capitalization.


# 6d8694c4 20-Mar-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-04-29/add-fortran-enums' into 'main'

Major updates to Fortran interface

See merge request petsc/petsc!7517


# ce78bad3 20-Feb-2025 Barry Smith <bsmith@petsc.dev>

Fortran 90: fully embrace After 34 years!

- deprecate use of 'F90' in Fortran function names
- use Fortran pointers when appropriate
- the new Fortran API is not backward compatible with previous ve

Fortran 90: fully embrace After 34 years!

- deprecate use of 'F90' in Fortran function names
- use Fortran pointers when appropriate
- the new Fortran API is not backward compatible with previous versions!
- also clean up inconsistent PETSc code detected by new Fortran generation tools
- drop use of bfort
- automatically generate all the Fortran PETSc objects, enums etc from the include files
- generate most of the Fortran interface definitions and functions from the source code
- simplify the number and organization of Fortran modules

Co-authored-by: Jose E. Roman <jroman@dsic.upv.es>

show more ...


# 7a533827 10-Feb-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# b1aa7d88 10-Feb-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-01-23/fix-petscshmgetdeallocatearray-rank-0/release' into 'release'

Fix bug in PetscShmgetDeallocateArray needs to call...

See merge request petsc/petsc!8092


# 7255af2b 23-Jan-2025 Barry Smith <bsmith@mcs.anl.gov>

Fix bug in PetscShmgetDeallocateArray needs to call PetscCheck(!shmdt(next->addr), since that is not called in the unmap on rank 0

Reported-by: Marsha Berger
Reported-by: Randy Leveque


# ba43b2ed 17-Dec-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-12-12/fix-pcmpi-64-bit-indices' into 'main'

Fix PCMPI for non-shared memory communication to work with 64-bit-indices.

See merge request petsc/petsc!8053


# 3fa2bd1c 12-Dec-2024 Barry Smith <bsmith@mcs.anl.gov>

Fix PCMPI for non-shared memory communication to work with 64-bit-indices.

Reported-by: Shawn L


# be37439e 21-Oct-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/useless-cast' into 'main'

Remove useless cast

See merge request petsc/petsc!7894


# 835f2295 05-Oct-2024 Stefano Zampini <stefano.zampini@gmail.com>

Brain dead fixes for useless casts


# ad781fe3 21-Oct-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-09-29/fix-function-typedef-style' into 'main'

Unify handling of context destructors

See merge request petsc/petsc!7900


# 49abdd8a 29-Sep-2024 Barry Smith <bsmith@mcs.anl.gov>

Unifies all context destructors to have a form of PetscCtxDestroyFn == PetscErrorCode (*)(void **)

Changes the previous subset of destructor APIs that used PetscErrorCode (*)(void *) (mostly those t

Unifies all context destructors to have a form of PetscCtxDestroyFn == PetscErrorCode (*)(void **)

Changes the previous subset of destructor APIs that used PetscErrorCode (*)(void *) (mostly those that
used PetscContainer

- Now allows any context to be a PetscObject
- Will provide a cleaner mapping to bindings in other languages
- Simplifies the maintenance of PETSc source code; improves clarity

Not backward compatible, compiler warnings will tell users what functions need to be updated

show more ...


# 0a78fc91 02-Oct-2024 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 160390d7 29-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/typos' into 'release'

Fix typos

See merge request petsc/petsc!7893


# d7c1f440 29-Sep-2024 Pierre Jolivet <pierre@joliv.et>

Fix typos


# d0e6bf2a 25-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/clang-format-19' into 'main'

clang-format-19

See merge request petsc/petsc!7644


# 0d5ef98a 18-Sep-2024 Satish Balay <balay@mcs.anl.gov>

CI: update checkclangformat to use clang-format-19.1.0


# d8e47b63 17-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-09-02/rebased-fix-conversion-warnings' into 'main'

Compiler finds (and forbid) casts from higher precision integers to lower

See merge request petsc/petsc!7806


# 6497c311 25-Aug-2024 Barry Smith <bsmith@mcs.anl.gov>

Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']

Also fix the code to repository to compile cleanly with these flags in th

Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']

Also fix the code to repository to compile cleanly with these flags in the CI

show more ...


1234