History log of /petsc/src/sys/classes/viewer/impls/binary/binv.c (Results 1 – 25 of 416)
Revision Date Author Comments
# 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


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

distinguish Boolean and Integer

MPI_Comm_get_attr has PetscMPIInt as flag argument, not PetscBool. Name
this flag "iflg" (was used somewhere already).
Use MPI_LAND instead of MPI_BAND for logical op

distinguish Boolean and Integer

MPI_Comm_get_attr has PetscMPIInt as flag argument, not PetscBool. Name
this flag "iflg" (was used somewhere already).
Use MPI_LAND instead of MPI_BAND for logical operations instead of
MPI_MIN, MPI_MAX, and MPI_LAND.

Note: Most of the previous code was probably working as intended, I did
the changes when debugging error related to the use of standard C Bool and
kept them because it took me a while to understand that MPI has integer
flags and PETSc has Booleans. Using different names makes this clear,
but was and is not done consistently.

show more ...


# 174dc0c8 28-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 63ad3209 25-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-04-17/rm-dollar-sign-formated-manualpages/release' into 'release'

Remove the last of the uses of $ in the first line of formatted manual pages

See merge request petsc/petsc

Merge branch 'barry/2025-04-17/rm-dollar-sign-formated-manualpages/release' into 'release'

Remove the last of the uses of $ in the first line of formatted manual pages

See merge request petsc/petsc!8332

show more ...


# b44f4de4 25-Apr-2025 Barry Smith <bsmith@mcs.anl.gov>

Remove the last of the uses of $ in the first line of formatted manual pages


# 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 ...


# 2355682a 16-Nov-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-overflow-seqdense' into 'main'

Mat: avoid overflow when loading a MatSeqDense

See merge request petsc/petsc!8008


# 3e1d7bce 14-Nov-2024 Pierre Jolivet <pierre@joliv.et>

Mat: avoid overflow when loading a MatSeqDense


# 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


# 57508ece 17-Sep-2024 Pierre Jolivet <pierre@joliv.et>

Remove unneeded parentheses


# 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


# dd460d27 10-Sep-2024 Barry Smith <bsmith@mcs.anl.gov>

Fixes for clang-tidy


# 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 ...


# bf0460ce 14-Aug-2024 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# d12c03bb 09-Aug-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-08-06/fix-matview-dense-binary-large-on-first-mpi-rank/release' into 'release'

Fix bug in PetscViewerBinaryWriteReadAll()

See merge request petsc/petsc!7747


# 2fb3221e 07-Aug-2024 Barry Smith <bsmith@mcs.anl.gov>

Fix bug in PetscViewerBinaryWriteReadAll() that

prevented saving dense matrices whose number of entries on MPI rank 0 is greater than PETSC_MPI_INT_MAX by
removing unneeded PetscCall(PetscMPIIntCast

Fix bug in PetscViewerBinaryWriteReadAll() that

prevented saving dense matrices whose number of entries on MPI rank 0 is greater than PETSC_MPI_INT_MAX by
removing unneeded PetscCall(PetscMPIIntCast(count, &cnt)); on rank 0.

Also removed unneeded potentially large malloc when used with on one MPI rank

Reported-by: Sreeram R Venkat <srvenkat@utexas.edu>

Code still does not work if any MPI process besides rank 0 has a matrix with a number of entries greater than PETSC_MPI_INT_MAX

show more ...


# fda22ce0 08-Jul-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-07-01/fix-petscoptionsgetviewer' into 'main'

The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model

See merge request petsc/petsc!7667


# 648c30bc 08-Jul-2024 Barry Smith <bsmith@mcs.anl.gov>

The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model

Hence the code needs to be refactored

Introduce PetscCallNull() and PetscCallMPINull() to simplify PETSC_VI

The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model

Hence the code needs to be refactored

Introduce PetscCallNull() and PetscCallMPINull() to simplify PETSC_VIEWER_XXXX_() routines

Reported-by: James Wright
Thanks-to: Jeremy L Thompson

show more ...


# a623e290 12-Jun-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-05-29/minor-fortran-stub-cleanup' into 'main'

More improvements to Fortran stubs and interfaces

See merge request petsc/petsc!7598


# 5d83a8b1 30-May-2024 Barry Smith <bsmith@mcs.anl.gov>

This requires some changes to user FORTRAN code

Pass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an array
Pass PETSC_NULL_ENUM when argument returns an enum instead of

This requires some changes to user FORTRAN code

Pass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an array
Pass PETSC_NULL_ENUM when argument returns an enum instead of PETSC_NULL_INTEGER
Pass arrays (and not scalar values) when the argument is expecting an array; this means replace, for example, the argument v with [v]
Use PetscObjectIsNull(obj) to check if the object is NULL, instead of obj == PETSC_NULL_XXX

The compiler will now automatically prevent you from using the wrong argument type for the first three bullets above
This will also require an update sowing with the new sowing branch this MR is using.

show more ...


# 1ed6e3ff 25-Apr-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-04-13/fix-sowing-strings' into 'main'

Update PETSc to use sowing bfort that handles string arguments and PETSC_NULL_INT

See merge request petsc/petsc!7480


# cc4c1da9 14-Apr-2024 Barry Smith <bsmith@mcs.anl.gov>

Update source code removing all unneeded /*@C and associated manual stubs and interfaces


# 970231d2 07-Mar-2024 Satish Balay <balay@mcs.anl.gov>

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

clang-format version 18

See merge request petsc/petsc!6902


# fbccb6d4 18-Nov-2023 Pierre Jolivet <pierre@joliv.et>

CI: update to clang-format-18


12345678910>>...17