added manual pages for missing PETSCVIEWERXXX such as PETSCVIEWERBINARYThanks-to: apostol <apostol.faliagas@gmail.com>
Merge branch 'maint'
sys: int64_t shoud use PRId64 - and not '%ld'. Also add PetscInt64_FMT and PetscInt_FMT to better manage this
Merge remote-tracking branch 'origin/balay/fix-PetscInt-scanf/maint'
sys: print scanf/PetscInt with --with-clanguage=C++ --with-64-bit-indices=1 --with-scalar-type=complex --with-mpi=0Reported-by: Lisandro Dalcin <dalcinl@gmail.com>Reported-by: bitbucket-pipelines
Add some missing Fortran wrappers for the PetscViewer functions.* Added PetscViewerGetType and PetscViewerFileGetName* Added HDF5WriteAttribute, HDF5ReadAttribute, HDF5HasAttribute* Enabled HDF5B
Add some missing Fortran wrappers for the PetscViewer functions.* Added PetscViewerGetType and PetscViewerFileGetName* Added HDF5WriteAttribute, HDF5ReadAttribute, HDF5HasAttribute* Enabled HDF5BaseDimension2 and HDF5SPOutput setters and getters
show more ...
fix typo with PETSCVIEWERASCIIPUSHSYNCHRONIZED and PETSCVIEWERASCIIPOPSYNCHRONIZEDReported-by: "Miorelli, Federico" <Federico.Miorelli@CGG.COM>
some uses of PetscTryMethod() actually require that theobject is correct and the function returns an appropriate value.Change those calls to PetscUseMethod().
Deprecate PetscViewerSetFormat() since it better to use PetscViewerPush/PopFormat() and usingPetscViewerSetFormat() can lead to confusing situations for users when later viewers do not recognize the
Deprecate PetscViewerSetFormat() since it better to use PetscViewerPush/PopFormat() and usingPetscViewerSetFormat() can lead to confusing situations for users when later viewers do not recognize the setformat and thus do not produce any information.Reported-by: Jed Brown <jed@jedbrown.org>
Split PetscViewerASCIISpinLock into three locks because it was used in nested functions leading to deadlockReported-by: Michele De Stefano <MStefano@slb.com>
don't close fd for ASCII SubVieweradd simple test of ASCII SubViewer
Replaced PetscViewerASCIISynchronizedAllow() with PetscViewerASCIIPushSynchronized() PetscViewerASCIIPopSynchronized()
Merge branch 'barry/add-concurrencykit' into barry/fix-petscviewer-attempt-2
fix for bad cut and paste
fix memory leak introduced when the special handling of stdout and stderr was removed
Rework the threadsafety model in PETSc to use PetscSpinLock...() routines for lockingLocks around opening ASCII viewers and around PetscCommDuplicate() and PetscCommDestroy()Support for downloading
Rework the threadsafety model in PETSc to use PetscSpinLock...() routines for lockingLocks around opening ASCII viewers and around PetscCommDuplicate() and PetscCommDestroy()Support for downloading concurrencykit and using concurrencykit spin locks
Some progress on correct PetscViewerGetSubViewer() still needs testing
merged PetscViewerGetSingleton() and PetscViewerGetSubcomm() into PetscViewerGetSubViewer()Does not currently work, needs fixes to work correctly recursively
documentation for PetscViewerASCIIOpen() and MatView() and VecView() was WRONG for use with aviewer that comes from PETSC_COMM_SELF. The documentation mistakenly said that the output was independent
documentation for PetscViewerASCIIOpen() and MatView() and VecView() was WRONG for use with aviewer that comes from PETSC_COMM_SELF. The documentation mistakenly said that the output was independent foreach process when in fact the communicator of the viewer must match that of the object.Reported-by: Longyin Cui <cuilongyin@gmail.com>
Delete PETSc viewer attribute if none are left on the linked list instead of putting an empty attribute
updated PETSc directory layout to match standard packaging strategiesinclude/petsc finclude,private,mpiunilib/petsc confbin/petsc*
Viewer: Fixed initialization
Viewer: Now ViewerRead() takes an extra argument to return the number of items read- An error is thrown for insufficient data unless the extra argument is non-NULL
Viewer: PetscViewerRead() should return the number of items actually read- This also applies to all its implementations
123456789