History log of /petsc/src/sys/objects/pinit.c (Results 1 – 25 of 1307)
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 ...


# b97dbd2e 09-Jan-2026 Satish Balay <balay@mcs.anl.gov>

Merge branch 'fix-options-left' into 'main'

Fixes doc and behaviour of an unset -options_left value as reported in #1834.

Closes #1834

See merge request petsc/petsc!8905


# a51b1039 19-Dec-2025 Eric Chamberland <ericc@giref.ulaval.ca>

Fixes doc and behaviour of an unset -options_left value as reported in #1834.

Now, `-options_left` and `-options_view` are independent.


# 5fa70555 06-Nov-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'hongzh/energy-monitor' into 'main'

Add the logging of gpu energy

See merge request petsc/petsc!8817


# 5268dc8a 14-Aug-2025 Hong Zhang <hongzhang@anl.gov>

Add the logging of gpu energy

- Remove unneeded PETSC_HAVE_DEVICE macro
- -log_view_gpu_energy requires CUDA version >= 12.2
- Use PetscDefined instead of macro


# 5ff6d247 24-Oct-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 166cb0c1 21-Oct-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'balay/v3.24-doi' into 'release'

docs: update DOI for v3.24

See merge request petsc/petsc!8794


# b2da12fa 17-Oct-2025 Satish Balay <balay@mcs.anl.gov>

docs: update DOI for v3.24


# 51619389 29-Sep-2025 Satish Balay <balay@mcs.anl.gov>

release: set petsc v3.24.0 strings


# fe7aa59f 22-Sep-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-08-31/fix-hypre-default-setting-reset-to-same' into 'main'

Fixes the bug with hypre whan user changes to parameters are ignored

See merge request petsc/petsc!8678


# 8112c1cb 22-Sep-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-09-04/deprecate-mpiu-bool' into 'main'

Deprecate MPIU_BOOL which used to be for PETSc's enum Bool but now is just MPI_C_BOOL

See merge request petsc/petsc!8691


# 4d81f786 01-Sep-2025 Barry Smith <bsmith@mcs.anl.gov>

Add PetscOptionsBool3()


# 5440e5dc 04-Sep-2025 Barry Smith <bsmith@mcs.anl.gov>

Deprecate MPIU_BOOL which used to be for PETSc' enum Bool but now is just MPI_C_BOOL so no longer needs its own name


# 586b08f3 11-Sep-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'MarDiehl/use-MPIU' into 'main'

MPIU wrappers provide better debugging capabilities

See merge request petsc/petsc!8696


# 458b0db5 09-Sep-2025 Martin Diehl <mail@martin-diehl.net>

better debugging capabilities

using MPIU wrappers where available and PetscCallMPI for all MPI(U)
functions


# 51b144c6 29-Aug-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'MarDiehl/use-bool-instead-of-enum' into 'main'

use bool instead of enum

See merge request petsc/petsc!8528


# 1dc74096 21-Jul-2025 Martin Diehl <mail@martin-diehl.net>

use standard bool instead of enum

PetscBool is equivalent to _Bool/bool in C

For C standards prior to C23, true = 1 and false = 0 are defined in <stdbool.h>.
For C23, true and false are real keywor

use standard bool instead of enum

PetscBool is equivalent to _Bool/bool in C

For C standards prior to C23, true = 1 and false = 0 are defined in <stdbool.h>.
For C23, true and false are real keywords.

The Fortran equivalent is logical(C_BOOL) with C_BOOL from
ISO_C_binding.

The C and the C++ standard do not specify the size of Booleans, but they
typically have a size of 1 Byte with b00000000 for false and b00000001 for true.
When using compilers from the same vendor, it is sane to assume that
_Bool/bool in C and bool in C++ are fully compatible. But that is not
guaranteed by the standards

show more ...


# 834855d6 27-Aug-2025 Satish Balay <balay@mcs.anl.gov>

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

clang-format-21

See merge request petsc/petsc!8202


# 3a7d0413 12-May-2025 Pierre Jolivet <pierre@joliv.et>

One-liners from petsc/petsc!5344 and petsc/petsc!5557

Slightly reworked regular expression

git ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do
cat

One-liners from petsc/petsc!5344 and petsc/petsc!5557

Slightly reworked regular expression

git ls-files -z -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | while IFS= read -r -d '' file; do
cat $file | tr '\n' '\r' | sed -E 's/\r([ ]*)(for|if|while|else) ([^\r]*)\{\r[ ]*Petsc([a-zA-Z]*)\(([^\r]*)\);\r[ ]*\}\r/\r\1\2 \3Petsc\4(\5);\r/g' | tr '\r' '\n' > ${file}.joe; mv ${file}.joe ${file}
done

show more ...


# 76f14e82 11-Aug-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 3c740df3 10-Aug-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-mingw-ucrt64' into 'release'

Remove obsolete (and now removed) function from UCRT

See merge request petsc/petsc!8620


# 401f2a27 07-Aug-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jczhang/2025-07-23/improve-mpiu-allreduce' into 'main'

Better mismatched MPIU_Allreduce error diagnosis

See merge request petsc/petsc!8586


# 26139085 23-Jul-2025 Junchao Zhang <jczhang@anl.gov>

Sys: better mismatched MPIU_Allreduce error diagnosis

If allreduce mismatches at different code lines, better to print out the line numbers on all processes (vs. rank 0) for diagnosis.

In addition,

Sys: better mismatched MPIU_Allreduce error diagnosis

If allreduce mismatches at different code lines, better to print out the line numbers on all processes (vs. rank 0) for diagnosis.

In addition, line numbers are good enough, we don't need to check petsc functions (if functions are different, lines are defintely different)

Use a function instead of inlined macros to save stack space in PetscLogHandlerView_Default_Info(), where MPIU_Allreduce() is called many times.
If with inlined macros, we encoutered __chkstk segfault in PetscLogHandlerView_Default_Info() with mswin-mpiuni.

Inspired by !8583

show more ...


# 0b39e8ed 04-Aug-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


12345678910>>...53