chkerr and friends wrapped
fix clang linter PetscValidXXXPointer() detection and check mechanism. It previouslyfailed to recommend the appropriate specialized pointer checks in some cases, as wellrecommending the wrong one i
fix clang linter PetscValidXXXPointer() detection and check mechanism. It previouslyfailed to recommend the appropriate specialized pointer checks in some cases, as wellrecommending the wrong one in certain edge-cases.
show more ...
MPI: replace HAVE_MPI_IBARRIER with HAVE_MPI_NONBLOCKING_COLLECTIVES
PETSCSYS: Fix and add test for PetscGlobalMinMax
rename PetscAssert() -> PetscCheck() and PetscAssertDebug() -> PetscAssert()
add PetscAssert() and PetscAssertFalse()
SETERRQ[1-9]+ begone
Stash communicators previously used for external packages so that they may be reused.Previously we used MPI_Comm_dup() and free() but for some MPI implementations including MPI Spectrum the MPI_Com
Stash communicators previously used for external packages so that they may be reused.Previously we used MPI_Comm_dup() and free() but for some MPI implementations including MPI Spectrum the MPI_Comm_free() does not actually return the communicator so eventually they run out.Commit-type: portability-fix\spend 3hReported-by: Elias Karabelas <elias.karabelas@uni-graz.at>
remove trailing newline from SETERRQ
apply PETSC_ATTRIBUTE_FORMAT fixes to sys tests
CI: fix sys_tests-ex1f_1 failure with arch-ci-linux-64idx-i8-uni using fortran flush()
- Replace the current CUPM initialization infrastructure with PetscDevice.- Remove -petsc_use_default_null_stream and -[cuda|hip]_synchronize options- Remove PetscCUDASynchronize and PetscHIPSynchr
- Replace the current CUPM initialization infrastructure with PetscDevice.- Remove -petsc_use_default_null_stream and -[cuda|hip]_synchronize options- Remove PetscCUDASynchronize and PetscHIPSynchronize- Remove PetscCUDAInitialize(), PetscCUDAInitializeCheck(), PetscHIPInitialize(), andPetscHIPInitializeCheck()- Remove PetscCUBLASInitializeHandle(), PetscCUSOLVERDnInitializeHandle(),PetscHIPBLASInitializeHandle(), and PetscHIPSOLVERInitializeHandle().- Remove petsc_gputimer_begin and petsc_gputimer_begin- Add -device_enable, -device_select and -device_view options- Replace -[cuda|hip]_device with split options -device_enable_[cuda|hip] and -device_select_[cuda|hip]- Replace -[cuda|hip]_view with -device_view_[cuda|hip]- Add PetscDeviceInitType- Add PetscDeviceInitialize() and PetscDeviceInitialized()- Add PetscDeviceView()
Merge branch 'barry/2021-06-10/fix-chkerrq' into 'main'Fix missing ierr =, removed incorrect CHKERRQ(), change CHKStringErrorSee merge request petsc/petsc!4078
saws: disable tests
Fix missing ierr =, removed incorrect CHKERRQ()Commit-type: error-checking, style-fix\spend 45m
style-fixes
SYS: fix PetscStackadd testThe alt file is needed because some CI configurations do not run -checkstack and thus produce empty output
PetscStack is on the stack now, removing the need to 'initialize' it so it can always beused. The entire API has also been intern'ed since it is only internally used in selectinstances.
Fix some spurious linter warnings and move certain headers to the private directory. AddedinternalPetscDisableStaticAnalyzerForExpressionUnderstandingThatThisIsDangerousAndBugprone() macroto disab
Fix some spurious linter warnings and move certain headers to the private directory. AddedinternalPetscDisableStaticAnalyzerForExpressionUnderstandingThatThisIsDangerousAndBugprone() macroto disable static analyzer for a single expression and a test for it. Improved the testinglogic slightly.
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.
Sys ex54: fix egrep pattern for machines including the fullpath in the program name
SYS: fix testsNEC compiler optimizes out zero/zero and set it equal to 1!
ifdef out experimental petscdevice initialization
requires: define -> requires: defined
Added PetscDevice to manage interaction and configuration of available devices.Added PetscDeviceContext class to manage stream interactions for CUDA and HIP devicebackends. The new class is design
Added PetscDevice to manage interaction and configuration of available devices.Added PetscDeviceContext class to manage stream interactions for CUDA and HIP devicebackends. The new class is designed to facilitate a fork-join parallelization model forasynchronous compute.
12345678910>>...13