| #
9dd11ecf
|
| 25-Aug-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-08-17/header-guard-check' into 'main'
Check header guards
See merge request petsc/petsc!6822
|
| #
a4963045
|
| 18-Aug-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Convert all header guards to pragma once
|
| #
31d78bcd
|
| 02-Feb-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-12-10/petscerrorcode-nodiscard' into 'main'
Feature: Non-discardable PetscErrorCode
See merge request petsc/petsc!5923
|
| #
3ba16761
|
| 10-Dec-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Make PetscErrorCode a non-discardable enum
|
| #
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
|
| #
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 ...
|
| #
5f80ce2a
|
| 24-Feb-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
chkerr and friends wrapped
|
| #
dce37c37
|
| 21-Jan-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2021-11-24/cupmblasinterface' into 'main'
Feature: CUPMBLASInterface
See merge request petsc/petsc!4592
|
| #
d6a2e6ab
|
| 20-Dec-2021 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
apply new preprocessor macros
|
| #
c1c736b9
|
| 14-May-2019 |
Lisandro Dalcin <dalcinl@gmail.com> |
Merged in dalcinl/plexpartitioner-parmetis (pull request #1648)
Reproducible ParMETIS & DMPlex repartition
Approved-by: Matthew Knepley <knepley@gmail.com> Approved-by: BarryFSmith <bsmith@mcs.anl.
Merged in dalcinl/plexpartitioner-parmetis (pull request #1648)
Reproducible ParMETIS & DMPlex repartition
Approved-by: Matthew Knepley <knepley@gmail.com> Approved-by: BarryFSmith <bsmith@mcs.anl.gov>
show more ...
|
| #
9dcd2ab3
|
| 07-May-2019 |
Stefano Zampini <stefano.zampini@gmail.com> |
Minor code formatting
|
| #
59e7829c
|
| 07-Aug-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-parallel-submesh
* master: (2931 commits) remove N in docs for SNESQN replaced test tolerance with PETSC_SQRT_MACHINE_EPSILON fortran: PetscComp
Merge branch 'master' into knepley/feature-plex-parallel-submesh
* master: (2931 commits) remove N in docs for SNESQN replaced test tolerance with PETSC_SQRT_MACHINE_EPSILON fortran: PetscComplex type is missing from fortran initialize variables so that static analyzer doesn't mistakenly think they are used uninitialized. Move access of prefix until it is actually used Remove DMDASplitComm2d(), used in one example that was not tested Functions that do not return PetscErrorCode should not use PetscFunctionBegin/End paradgm remove unneeded reassignment of same value Missing CHKERRQ(); Mostly in Tao code Remove clang static analyser warning about passing NULL variable to strncat() missing newline in -ts_monitor_extreme minor fixes for integer counters Configure: Deal with '__func__' in C89 builds with newer Clang and GCC. Jenkinsfile: Increased timeout for tests to 5 minutes. 3.9 changes: further clarify removal of -pc_factor_mat_solver_package Options deprecations: add "PETSc" to inline warning removing unused variable MatShift support added to MATSUBMAT. Mimics MATSHELL functionality. Needed for matrix-free Hessians in TAO Newton-Line-Search methods. Add -ts_monitor_extreme Dev manual: add note on deprecating options database keys ...
Conflicts: src/dm/impls/plex/examples/tests/ex4.c
show more ...
|
| #
2f07c833
|
| 14-Apr-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-snes-ex13-spectral
* master: (2350 commits) migrate warning fix from next-tmp Revert "Remove dead code." clarifying comment in the code Remove dead
Merge branch 'master' into knepley/feature-snes-ex13-spectral
* master: (2350 commits) migrate warning fix from next-tmp Revert "Remove dead code." clarifying comment in the code Remove dead code. Add JuMP citation Copyedits and updates to developers manual Add more protection to intrinsics MPI: protect arguments in MPI macros Add the missing conditionals for 64-bit build Plex+VTK: Fix field type determination Fix bug in name cleanup Bib: Added ref Plex+VTK: Fix field type determination Plex: Updated test output - I am now hating this shit forgot to save file after moving prototypes to petscsys.h update Apple example project settings per Xcode Two functions should actually be public, used, for example from Apple MacOS and iOS programs includes should always be included relative to include directory Apple removed old locations of docsets SNES ex12: Updated test output ...
Conflicts: src/snes/examples/tutorials/ex13.c
show more ...
|
| #
7cd3fc30
|
| 02-Jan-2018 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'barry/tao-to-new-test-harness' into barry/all-new-test-harness-branches
|
| #
64aa12e4
|
| 08-Dec-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-adjoint-prelim
* master: (251 commits) yaml: add a backup download URL Fix documentation of MatSetRandom function Ignore -malloc-hbw option if m
Merge branch 'master' into knepley/feature-plex-adjoint-prelim
* master: (251 commits) yaml: add a backup download URL Fix documentation of MatSetRandom function Ignore -malloc-hbw option if malloc is already set Plex: Fixed array initialization pgi: compile fix knl: update test to use memkind and remove option that worked arround a bug with intel 17 Check the return value for memkind_posix_memalign Change the default behavour for -malloc_hbw Bib: More refs test: remove runex13f90 as its now converted to new test suite fix win32 crash. This test was previously run with '-n 4' - so restoring it Fix petscsfgetgraph_ to work for all Fortran compilers by directly using array of PetscSFNodes bugfix for MatDuplicate_MPIAIJ_PtAP Reported-by: Samuel Lanthaler <s.lanthaler@gmail.com> strip out dead sundials usage code; change sundials test to only run 5 timesteps to prevent different number of steps on different systems. Remove extra lines of output file Example uses C99 constructs so must mark with requires: c99 fix const missmatch for DMDAVecRestoreArrayRead() remove conflict between function name in example and new PETSc TS function builds: attempt to do maint/master/next test builds in separate clones ex62: it turned out that CHACO partioning is not deterministic. Use a prescribed partition instead ...
Conflicts: src/dm/interface/dm.c src/snes/examples/tutorials/ex13.c
show more ...
|
| #
22e47d1e
|
| 06-Dec-2017 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/pr803/acroucher/acroucher/fix-IS-global-to-local-mapping-block/master'
|
| #
541bf97e
|
| 19-Nov-2017 |
Adrian Croucher <a.croucher@auckland.ac.nz> |
Use effective blocksize of 1 for block versions of ISGlobalToLocalMappingApply() instead of modifying bounds
|
| #
1dbfe718
|
| 16-Nov-2017 |
Adrian Croucher <a.croucher@auckland.ac.nz> |
Correct bounds checks for ISGlobalToLocalMappingApplyBlock()
|
| #
ec14d8c8
|
| 27-May-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-sphere-mesh
* master: (2633 commits) Bib: Added ref SNES ex56: Update test output add a citation to petsc.bib Plex: Initialize variables ini
Merge branch 'master' into knepley/feature-plex-sphere-mesh
* master: (2633 commits) Bib: Added ref SNES ex56: Update test output add a citation to petsc.bib Plex: Initialize variables initialize ap as complained by the nightly tests Plex ex3: Update to new point function API initialize some variables as complained by nightly tests SNES ex12: Mix misnaming Nf --> Nc update tests add tests add MatView_SeqXAIJ_ASCII_structonly(); enable A->structure_only in MatSetValuesBlocked_SeqBAIJ typo fill-in some references Bib: Fixed ref Plex: Added PLY to file support Plex: Adding PLY support PetscDS: Turn off Fortran bindings for Constants Plex tests: Updated to new point function API SNES ex56: Moved tests to new format DM: Allow field projection functions to take an array of scalars - This will allow us to pass in user data to kernels without void *, more efficiency than aux fields ...
Conflicts: config/builder.py include/petscdmplex.h src/dm/impls/plex/examples/tests/ex1.c src/dm/impls/plex/plexcreate.c src/dm/impls/plex/plexgmsh.c src/snes/examples/tutorials/ex63.c
show more ...
|
| #
a166d259
|
| 15-Mar-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'knepley/fix-plex-example-logging' into knepley/feature-plex-torus
* knepley/fix-plex-example-logging: (151 commits) Plex ex12: Added logging stages Plex ex1: Added logging stages
Merge branch 'knepley/fix-plex-example-logging' into knepley/feature-plex-torus
* knepley/fix-plex-example-logging: (151 commits) Plex ex12: Added logging stages Plex ex1: Added logging stages update to latest hypre tag on github fix 'inf' vs 'Inf' diff wrt vec_vec_utils_tagger_tutorials-ex1_8,9,18,19 MatSetOption(mat,MAT_IGNORE_ZERO_ENTRIES,PETSC_TRUE) no longer applies to zero values set or added to the matrix diagonal, they are now not ignored and are included in the matrix nonzero structure. This is useful for Jacobians passed to TS. replace use/mention of depreciated -log_summary in many places add extchem.py which was written years ago but never put in the distribution (hence it is broken). petsc4py: update to snapshot with MatGetSubMatrices -> MatCreateSubMatrices etc API changes Minor fixes for tchem examples due to changes in PETSc infrastructure update webpage about API changes add help menu for MatCreateSubMatricesMPI() PetscCMPLX: assume type punning is safe rename struct Mat_SubMat -> Mat_SubSppt add a little information to the manual about using tchem rename MatCreateSubMatrixComposite -> MatCreateSubMatrixVirtual; Mat_SubMatrix -> Mat_SubVirtual need to protect the \ passed on the makefile on my Mac Bib: Updated ref update src/mat/examples/tests/output/ex23_#.out rename MatGetSubMat -> MatCreateSubMat Mark MatCreateMPIAIJWithSplitArrays() and MatMPIAIJSetPreallocationCSR() with MAT_NO_OFF_PROC_ENTRIES ...
Conflicts: src/dm/impls/plex/examples/tests/ex1.c src/dm/impls/plex/examples/tests/ex12.c
show more ...
|
| #
851d29aa
|
| 15-Mar-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'knepley/fix-plex-example-logging' into knepley/feature-plex-tests-new
* knepley/fix-plex-example-logging: (151 commits) Plex ex12: Added logging stages Plex ex1: Added logging stag
Merge branch 'knepley/fix-plex-example-logging' into knepley/feature-plex-tests-new
* knepley/fix-plex-example-logging: (151 commits) Plex ex12: Added logging stages Plex ex1: Added logging stages update to latest hypre tag on github fix 'inf' vs 'Inf' diff wrt vec_vec_utils_tagger_tutorials-ex1_8,9,18,19 MatSetOption(mat,MAT_IGNORE_ZERO_ENTRIES,PETSC_TRUE) no longer applies to zero values set or added to the matrix diagonal, they are now not ignored and are included in the matrix nonzero structure. This is useful for Jacobians passed to TS. replace use/mention of depreciated -log_summary in many places add extchem.py which was written years ago but never put in the distribution (hence it is broken). petsc4py: update to snapshot with MatGetSubMatrices -> MatCreateSubMatrices etc API changes Minor fixes for tchem examples due to changes in PETSc infrastructure update webpage about API changes add help menu for MatCreateSubMatricesMPI() PetscCMPLX: assume type punning is safe rename struct Mat_SubMat -> Mat_SubSppt add a little information to the manual about using tchem rename MatCreateSubMatrixComposite -> MatCreateSubMatrixVirtual; Mat_SubMatrix -> Mat_SubVirtual need to protect the \ passed on the makefile on my Mac Bib: Updated ref update src/mat/examples/tests/output/ex23_#.out rename MatGetSubMat -> MatCreateSubMat Mark MatCreateMPIAIJWithSplitArrays() and MatMPIAIJSetPreallocationCSR() with MAT_NO_OFF_PROC_ENTRIES ...
Conflicts: src/dm/impls/plex/examples/tests/ex12.c
show more ...
|