| #
732aec7a
|
| 22-Sep-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/remove-cast' into 'main'
Use NULL or nullptr instead of casted 0
See merge request petsc/petsc!7857
|
| #
c8025a54
|
| 21-Sep-2024 |
Pierre Jolivet <pierre@joliv.et> |
Use NULL or nullptr instead of casted 0
|
| #
7bd9bc37
|
| 25-Sep-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/sf-fast-bcast' into 'main'
PetscSF: optimize SFALLGATHERV for the one-to-all pattern
See merge request petsc/petsc!5663
|
| #
66100624
|
| 21-Sep-2022 |
Stefano Zampini <stefano.zampini@gmail.com> |
PetscSF: optimize SFALLGATHERV for the one-to-all pattern
this happens with ML models using data parallelism having replicated local parameters Add test
|
| #
061e922f
|
| 22-Sep-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-09-21/2-bike-2-shed' into 'main'
Feature: Bicycle Storage Facility 2
See merge request petsc/petsc!5661
|
| #
d71ae5a4
|
| 21-Sep-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
source code format changes due to .clang-format changes
|
| #
58d68138
|
| 23-Aug-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-08-21/clang-format-source' into 'main'
format repository with clang-format
See merge request petsc/petsc!5541
|
| #
9371c9d4
|
| 22-Aug-2022 |
Satish Balay <balay@mcs.anl.gov> |
clang-format: convert PETSc sources to comply with clang-format
|
| #
5cab5458
|
| 26-Jul-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-07-23/add-petscbeginuser' into 'main'
Add PetscFunctionBeginUser to all PETSc C/C++ examples
See merge request petsc/petsc!5470
|
| #
327415f7
|
| 23-Jul-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Add PetscFunctionBeginUser to all PETSc C/C++ examples
Now the stack frames will contain the main program and the correct line numbers in them
git ls-files | egrep "(tutorials|tests)" | xargs sed -
Add PetscFunctionBeginUser to all PETSc C/C++ examples
Now the stack frames will contain the main program and the correct line numbers in them
git ls-files | egrep "(tutorials|tests)" | xargs sed -i "s?\(PetscCall(PetscInitialize(&argc\)?PetscFunctionBeginUser;\n \1?g"
Commit-type: error-checking, testing-fix /spend 15m
show more ...
|
| #
f882803c
|
| 26-Mar-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-02-23/variadic-chkerr' into 'main'
Variadic CHKERRQ()
See merge request petsc/petsc!4889
|
| #
9566063d
|
| 25-Mar-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
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 ...
|
| #
b122ec5a
|
| 24-Mar-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
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;
show more ...
|
| #
5f80ce2a
|
| 24-Feb-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
chkerr and friends wrapped
|
| #
0982efc4
|
| 07-Feb-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jczhang/change-VecGetArrayAndMemType-semantics' into 'main'
Let VecGetArrayAndMemType always return device pointer when possible
See merge request petsc/petsc!4308
|
| #
bd46da1d
|
| 22-Jan-2022 |
Junchao Zhang <jczhang@mcs.anl.gov> |
SF: remove the experimental -vecscatter_packongpu option; now always pack on gpu
|
| #
6762c164
|
| 15-Sep-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'psanan-release-patch-82973' into 'main'
Developer docs, style: remove rule about using "if (!rank)" and replace all "!rank" usage with "rank == 0"
See merge request petsc/petsc!4146
|
| #
dd400576
|
| 26-Jul-2021 |
Patrick Sanan <patrick.sanan@gmail.com> |
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 less tightly, so the result of the computation would otherwise change.
show more ...
|
| #
12ddc87b
|
| 30-Aug-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/fix-defined-define' into 'main'
requires: define -> requires: defined
Closes #984
See merge request petsc/petsc!4265
|
| #
dfd57a17
|
| 30-Aug-2021 |
Pierre Jolivet <pierre@joliv.et> |
requires: define -> requires: defined
|
| #
8019adf0
|
| 09-Jan-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'scott/hip-petscsf' into 'master'
Scott/hip petscsf
See merge request petsc/petsc!3503
|
| #
26e8e884
|
| 22-Dec-2020 |
Scott Kruger <scott.e.kruger@gmail.com> |
Fixes for the HIP backend to PetscSF
Thanks to @jedbrown for catching errors and motivating more testing
Sorting out ifdef/if logic The logic with HIP and CUDA together is a little complicated.
Ad
Fixes for the HIP backend to PetscSF
Thanks to @jedbrown for catching errors and motivating more testing
Sorting out ifdef/if logic The logic with HIP and CUDA together is a little complicated.
Adding and improving petscSF tests for hip backend Important to add `diff_args: -j` to some tests
show more ...
|
| #
bdea225a
|
| 30-Dec-2020 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2020-10-08/fix-mpi-error-codes' into 'master'
Convert MPI error type to PETSc error with string message for all MPI calls
See merge request petsc/petsc!3326
|
| #
ffc4695b
|
| 08-Oct-2020 |
Barry Smith <bsmith@mcs.anl.gov> |
Convert MPI error type to PETSc error with string message for all MPI calls
Now PETSc examples will ONLY return PETSc error codes and never MPI error codes directly so we can understand and post-pro
Convert MPI error type to PETSc error with string message for all MPI calls
Now PETSc examples will ONLY return PETSc error codes and never MPI error codes directly so we can understand and post-process their errors better.
The test harness will now automatically retry tests that fail with MPI, this may help with Intel MPI that produces seemingly random failures.
Commit-type: error-checking /spend 30m
show more ...
|
| #
0d8a268c
|
| 29-Oct-2020 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jczhang/clean-up-vecscatter' into 'master'
typedef PetscSF VecScatter
See merge request petsc/petsc!3365
|