This requires some changes to user FORTRAN codePass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an arrayPass PETSC_NULL_ENUM when argument returns an enum instead of
This requires some changes to user FORTRAN codePass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an arrayPass PETSC_NULL_ENUM when argument returns an enum instead of PETSC_NULL_INTEGERPass 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_XXXThe compiler will now automatically prevent you from using the wrong argument type for the first three bullets aboveThis will also require an update sowing with the new sowing branch this MR is using.
show more ...
All constructors should do PetscAssertPointer on output objectReported-by: Blaise BourdinConstructors should not initialize the output to NULL upon entry, serves no purposeFix some formatting i
All constructors should do PetscAssertPointer on output objectReported-by: Blaise BourdinConstructors should not initialize the output to NULL upon entry, serves no purposeFix some formatting in constructors
Merge remote-tracking branch 'origin/release'
Minor docs fixes
ISSort: do not sort an already sorted IS
IS: set IS_SORTED to PETSC_TRUE when possible
SF: need to sync the stream before MPI send even when there is nothing to send but has something to receiveThere might be pending gpu operations on the receive buffer. Without synchronization, say
SF: need to sync the stream before MPI send even when there is nothing to send but has something to receiveThere might be pending gpu operations on the receive buffer. Without synchronization, say we proceed to MPI_Waitall(). MPI might stage on host and do a H2D copy on an internal stream on the receive side. Previous gpu operations COULD happen after the H2D copy, causing a write-after-write reorder violation!
Update sowing bfort for automatic generation of XXXDestroy() codeFix some Fortran stub code to work with generation of XXXDestroy()Add some runtime tests for XXXCreate() callsAlso update sowing
Update sowing bfort for automatic generation of XXXDestroy() codeFix some Fortran stub code to work with generation of XXXDestroy()Add some runtime tests for XXXCreate() callsAlso update sowing and fortranimpl.h to use PETSC_NULLPTR instead of NULL
Merge branch 'stefanozampini/vecis-collective' into 'main'VecISXXX: require same communicator between Vecs and ISSee merge request petsc/petsc!7564
VecISXXX: require same communicator between Vecs and ISthis allows to skip operations if the global size of the IS is zero
Docs: fix double backticks in seealso
Update to sowing version that supports PetscViewer and PetscObjectRemove manual Fortran stubs for PetscViewer and PetscObject arguments since now handled by sowingAlso handles the passing of null
Update to sowing version that supports PetscViewer and PetscObjectRemove manual Fortran stubs for PetscViewer and PetscObject arguments since now handled by sowingAlso handles the passing of null objects correctly
cupm: fix visibility to build without warningsThanks-to: Lawrence Mitchell
Merge branch 'barry/2024-04-13/fix-sowing-strings' into 'main'Update PETSc to use sowing bfort that handles string arguments and PETSC_NULL_INTSee merge request petsc/petsc!7480
docs fixes for release
Fix for defined but unused variables under certain configurations
Update source code removing all unneeded /*@C and associated manual stubs and interfaces
release docs fixesCommit-type: i.e. error-checking, optimization, bug-fix, portability-fix, testing-fix, style-fix, feature, documentation, exampleFunded-by:Project:Time: hoursReported-by:
release docs fixesCommit-type: i.e. error-checking, optimization, bug-fix, portability-fix, testing-fix, style-fix, feature, documentation, exampleFunded-by:Project:Time: hoursReported-by:Thanks-to:Development Tools: Vim, Emacs, Eclipse
Typos
Docstring fixes
Implement ISLocalToGlobalMappingGetBlockMultiLeavesSF
ISLocalToGlobalMapping: implement binary load/view and matlab view
ISLocalToGlobalMapping: new l2gmap info routines using PetscSF
12345678910>>...96