History log of /petsc/src/vec/is/utils/hdf5/hdf5io.c (Results 1 – 25 of 26)
Revision Date Author Comments
# 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


# ac530a7e 03-Jun-2025 Pierre Jolivet <pierre@joliv.et>

Remove unnecessary braces around one-liners

git grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\

Remove unnecessary braces around one-liners

git grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\) {([^;]*);([^;]*)}$#\1\2 \(\3\)\4;\5#'

show more ...


# 4f037aad 27-Mar-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/bs' into 'main'

PetscLayout: set default block size to 1

See merge request petsc/petsc!8226


# 58b7e2c1 23-Mar-2025 Stefano Zampini <stefano.zampini@gmail.com>

PetscLayout: default block size 1


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


# 9c9354e5 19-Mar-2025 Barry Smith <bsmith@petsc.dev>

some code fixes


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

Merge remote-tracking branch 'origin/release'


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

Merge branch 'jose/release/linker-warnings' into 'release'

Fix ranlib warnings 'file has no symbols'

See merge request petsc/petsc!7953


# 2e1d0745 19-Oct-2024 Jose E. Roman <jroman@dsic.upv.es>

Fix ranlib warnings 'file has no symbols'

These warnings appear in macOS when configured --with-shared-libraries=0

/Library/Developer/CommandLineTools/usr/bin/ranlib: file: arch-darwin-c-debug-nosh

Fix ranlib warnings 'file has no symbols'

These warnings appear in macOS when configured --with-shared-libraries=0

/Library/Developer/CommandLineTools/usr/bin/ranlib: file: arch-darwin-c-debug-noshared/lib/libpetsc.a(sectionhdf5.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: arch-darwin-c-debug-noshared/lib/libpetsc.a(zhdf5io.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: arch-darwin-c-debug-noshared/lib/libpetsc.a(hdf5io.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: arch-darwin-c-debug-noshared/lib/libpetsc.a(aijhdf5.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: arch-darwin-c-debug-noshared/lib/libpetsc.a(baijfact81.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: arch-darwin-c-debug-noshared/lib/libpetsc.a(densehdf5.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: arch-darwin-c-debug-noshared/lib/libpetsc.a(feceed.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: arch-darwin-c-debug-noshared/lib/libpetsc.a(fvceed.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: arch-darwin-c-debug-noshared/lib/libpetsc.a(plexhdf5xdmf.o) has no symbols

Includes the removal of unnecessary custom fortran stubs.

show more ...


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

Merge remote-tracking branch 'origin/release'


# e3e1bf56 30-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/housekeeping' into 'release'

Fix -Wshorten-64-to-32 -Wimplicit-fallthrough

See merge request petsc/petsc!7896


# fef1ebd0 30-Sep-2024 Pierre Jolivet <pierre@joliv.et>

Fix -Wshorten-64-to-32

src/vec/is/utils/hdf5/hdf5io.c:120:46: warning: implicit conversion loses integer precision: 'PetscInt' (aka 'long long') to 'int' [-Wshorten-64-to-32]
120 | PetscCallMP

Fix -Wshorten-64-to-32

src/vec/is/utils/hdf5/hdf5io.c:120:46: warning: implicit conversion loses integer precision: 'PetscInt' (aka 'long long') to 'int' [-Wshorten-64-to-32]
120 | PetscCallMPI(MPI_Allgatherv(lcind, cmap->n, MPIU_INT, ctx->cind, counts, displs, MPIU_INT, comm));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/petsclog.h:541:123: note: expanded from macro 'MPI_Allgatherv'
541 | (PetscAddLogDouble(&petsc_gather_ct, &petsc_gather_ct_th, PetscMPIParallelComm(comm)) || MPI_Allgatherv((sendbuf), (sendcount), (sendtype), (recvbuf), (recvcount), (displs), (recvtype), (comm)))
| ~~~~~~~~~~~~~~ ^~~~~~~~~
include/petscerror.h:784:102: note: expanded from macro 'PetscCallMPI'
784 | #define PetscCallMPI(...) PetscCallMPI_Private(PetscStackPop, SETERRQ, PETSC_COMM_SELF, __VA_ARGS__)
| ^~~~~~~~~~~
include/petscerror.h:774:32: note: expanded from macro 'PetscCallMPI_Private'
774 | ierr_petsc_call_mpi_ = __VA_ARGS__; \
| ^~~~~~~~~~~

show more ...


# f180259e 28-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-plex-hdf5-opt' into 'main'

IS+HDF5: Add run-length compression to IS I/O

See merge request petsc/petsc!7862


# 21c42226 02-Sep-2024 Matthew G. Knepley <knepley@gmail.com>

IS+HDF5: Add run-length compression for arithmetic progressions to IS I/O
- Add DMPlexGetDepthStratumGlobalSize()
- Add name and compression info to HDF5ReadCtx
- Add compression argument to PetscVie

IS+HDF5: Add run-length compression for arithmetic progressions to IS I/O
- Add DMPlexGetDepthStratumGlobalSize()
- Add name and compression info to HDF5ReadCtx
- Add compression argument to PetscViewerHDF5ReadSizes_Private() and PetscViewerHDF5Load_Internal()
- Gather compressed info to all procs when loading
- Set name for local coordinates
- Add logging
- Add -is_view_compress to turn off compression
- Add -dm_plex_view_coordinate_section to just output coordinates
- Add -dm_plex_view_labels to turn off label output
- Support loading coordinates without section

show more ...


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

Merge branch 'jolivet/fix-Wshorten-64-to-32' into 'main'

Fix -Wshorten-64-to-32

See merge request petsc/petsc!7869


# 9ad2ceda 24-Sep-2024 Pierre Jolivet <pierre@joliv.et>

Fix -Wshorten-64-to-32


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


# 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


# 4ad8454b 09-Feb-2024 Pierre Jolivet <pierre@joliv.et>

Remove some unneeded parentheses


# 8f6c1f17 02-Jan-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-12-26/fix-some-mansec' into 'main'

Fix the directory some code is in to get it listed in the proper MANSEC

See merge request petsc/petsc!7146


# a24573d6 26-Dec-2023 Barry Smith <bsmith@mcs.anl.gov>

Minor fix for manual page for PetscViewerHDF5Load


12