remove garbage from makefilesIncluding * unused FLAGS variables * All: lib that did not work * stray blank lines etcCommit-type: housekeeping/spend 1h
Replace !rank with rank == 0See also https://gitlab.com/petsc/petsc/-/merge_requests/4146
Remove extra spaces and unwanted plurals
Remove use of PetscCheckFalse() from TS directoryCommit-type: housekeeping/spend 15m
Enable PETSC_ATTRIBUTE_FORMAT()
Remove some PetscCheckFalse()
The great renaming:- CHKERRQ() -> PetscCall()- CHKERRV() -> PetscCallVoid()- CHKERRMPI() -> PetscCallMPI()- CHKERRABORT() -> PetscCallAbort()- CHKERRCONTINUE() -> PetscCallContinue()- CHKERRXX
The great renaming:- CHKERRQ() -> PetscCall()- CHKERRV() -> PetscCallVoid()- CHKERRMPI() -> PetscCallMPI()- CHKERRABORT() -> PetscCallAbort()- CHKERRCONTINUE() -> PetscCallContinue()- CHKERRXX() -> PetscCallThrow()- CHKERRCXX() -> PetscCallCXX()- CHKERRCUDA() -> PetscCallCUDA()- CHKERRCUBLAS() -> PetscCallCUBLAS()- CHKERRCUSPARSE() -> PetscCallCUSPARSE()- CHKERRCUSOLVER() -> PetscCallCUSOLVER()- CHKERRCUFFT() -> PetscCallCUFFT()- CHKERRCURAND() -> PetscCallCURAND()- CHKERRHIP() -> PetscCallHIP()- CHKERRHIPBLAS() -> PetscCallHIPBLAS()- CHKERRHIPSOLVER() -> PetscCallHIPSOLVER()- CHKERRQ_CEED() -> PetscCallCEED()- CHKERR_FORTRAN_VOID_FUNCTION() -> PetscCallFortranVoidFunction()- CHKERRMKL() -> PetscCallMKL()- CHKERRMMG() -> PetscCallMMG()- CHKERRMMG_NONSTANDARD() -> PetscCallMMG_NONSTANDARD()- CHKERRCGNS() -> PetscCallCGNS()- CHKERRPTSCOTCH() -> PetscCallPTSCOTCH()- CHKERRSTR() -> PetscCallSTR()- CHKERRTC() -> PetscCallTC()
show more ...
PetscInitialize() and PetscFinalize() wrapped:- ierr = PetscInitialize();if (ierr) return ierr;+ CHKERRQ(PetscInitialize());- ierr = PetscFinalize();- return ierr;+ CHKERRQ(PetscFinalize());+
PetscInitialize() and PetscFinalize() wrapped:- ierr = PetscInitialize();if (ierr) return ierr;+ CHKERRQ(PetscInitialize());- ierr = PetscFinalize();- return ierr;+ CHKERRQ(PetscFinalize());+ return 0;
chkerr and friends wrapped
rename PetscAssert() -> PetscCheck() and PetscAssertDebug() -> PetscAssert()
deprecate PETSC_STATIC_INLINE
add PetscAssert() and PetscAssertFalse()
SETERRQ[1-9]+ begone
Merge branch 'gbetrie/fix-dmnetworkaddcomponent' into 'main'Gbetrie/fix dmnetworkaddcomponentSee merge request petsc/petsc!4658
Adding/modify tests on zero size components to several examples;DMNetworkAddComponent(): the owning rank and all ghost ranks must call it to add a component and nvar in the same orderUpdate doc for
Adding/modify tests on zero size components to several examples;DMNetworkAddComponent(): the owning rank and all ghost ranks must call it to add a component and nvar in the same orderUpdate doc for DMNetworkAddComponentmerge DMNetworkLayoutSetUp_Coupling() into DMNetworkLayoutSetUp() to remove duplication
remove trailing newline from SETERRQ
Plex: Add a nother alternative for CSR grph creation
Style: replace "!rank" with "rank == 0"In SF tutorial ex1 (src/vec/is/sf/tutorials/ex1.c), add parentheses around "rank == 0". This is relevant because ! binds more tightly than +, but == binds les
Style: replace "!rank" with "rank == 0"In SF tutorial ex1 (src/vec/is/sf/tutorials/ex1.c), add parentheses around "rank == 0". This is relevant because ! binds more tightly than +, but == binds lesstightly, so the result of the computation would otherwise change.
Merge branch 'barry/2021-07-03/demonstrate-network-parallel-build' into 'main'dmnetwork: bug fix for parallel input single subnetwork; API change, optimize and cleanupSee merge request petsc/pets
Merge branch 'barry/2021-07-03/demonstrate-network-parallel-build' into 'main'dmnetwork: bug fix for parallel input single subnetwork; API change, optimize and cleanupSee merge request petsc/petsc!4176
This example seems to demonstrate that one cannot construct a DMNetwork with one subnetwork in parallel correctly.Commit-type: bug-report\spend 40mDMNetworkAddSubnetwork() does not need input nv
This example seems to demonstrate that one cannot construct a DMNetwork with one subnetwork in parallel correctly.Commit-type: bug-report\spend 40mDMNetworkAddSubnetwork() does not need input nv; optimize DMNetworkLayoutSetUp_Coupling() and DMNetworkLayoutSetUp()bugfix for DMNetworkDistribute(): subnet[].nvtx was over countedcleanup network.c; add '-malloc_dump 0' to ex10.c: otherwise opensolaris-misc pipeline test failsuse the fix suggested by Satish. This fixes the opensolaris-misc pipeline test error of ex10.c, and harmless to other casesrm #if 0. Previously kept for future work
Fix spelling errors in manpages and comments
add DMNetworkCreateIS() and DMNetworkCreateLocalIS()rm subdir 'wash'rename pipes1.c -> pipes.c
DMNetwork: Remove PETSC_DMNETWORK_COMPONENTS_PER_POINT
Fix code that did not pass appropriate PETSc error flags to SETERRQ()Add checkbadSource check for use of SETERRQ() without an appropriate error flagCommit-type: error-checking, bug-fix, testing-f
Fix code that did not pass appropriate PETSc error flags to SETERRQ()Add checkbadSource check for use of SETERRQ() without an appropriate error flagCommit-type: error-checking, bug-fix, testing-fix, style-fix/spend 2.5h
All MPIU_ functions except MPIU_File return MPI error codes for checkingUpdate checkbadSource to find use of CHKERRQ with MPIU_ functionsCommit-type: i.e. error-checking, optimization, bug-fix, p
All MPIU_ functions except MPIU_File return MPI error codes for checkingUpdate checkbadSource to find use of CHKERRQ with MPIU_ functionsCommit-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
123