| #
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
|
| #
ef135d0e
|
| 01-Jun-2019 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/psanan/docs-remove-manconcepts' [PR #1733]
|
| #
0f5d826a
|
| 30-May-2019 |
Patrick Sanan <patrick.sanan@gmail.com> |
Man pages: remove Concepts: fields
These fields were previously stripped from the man pages by logic removed in 21a59cba2737d49dc2f0bd12c08db0d2a3f3f209
Remove these fields from all man pages (but
Man pages: remove Concepts: fields
These fields were previously stripped from the man pages by logic removed in 21a59cba2737d49dc2f0bd12c08db0d2a3f3f209
Remove these fields from all man pages (but not from examples).
This is accomplished with GNU sed (gsed on OS X), with the following commands. *Warning* that this type of command can corrupt a .git directory, so be cautious in reusing or modifying these commands. They first look for and delete matching lines with a following line consisting of only whitespace, and then delete any remaining matching lines.
find src -type f -not -path "*/examples/*" -not -name "*.html" -not -name "*.bib" -exec gsed -i '/Concepts:/ {N; /\n\s*$/d}' {} + find src -type f -not -path "*/examples/*" -not -name "*.html" -not -name "*.bib" -exec gsed -i '/Concepts:/d' {} + find include -type f -not -path "*/examples/*" -not -name "*.html" -not -name "*.bib" -exec gsed -i '/Concepts:/ {N; /\n\s*$/d}' {} + find include -type f -not -path "*/examples/*" -not -name "*.html" -not -name "*.bib" -exec gsed -i '/Concepts:/d' {} +
Hints on the sed command obtained from: https://unix.stackexchange.com/questions/100754/how-to-delete-a-specific-line-and-the-following-blank-line-using-gnu-sed
show more ...
|
| #
e366c154
|
| 15-Nov-2017 |
Jed Brown <jed@jedbrown.org> |
Merge commit 'd47bf9aaf1e5266cc3f0ff499f934c85788965a9' into jed/fix-matcreatempibaij/maint
Obtain changed (v3.5) handling of MatMPIBAIJSetPreallocationCSR to match documentation.
|
| #
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 ...
|
| #
c90b701e
|
| 14-Mar-2017 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-pragmatic-parallel
* master: (1379 commits) Minor fixes for tchem examples due to changes in PETSc infrastructure update webpage about API changes
Merge branch 'master' into knepley/feature-plex-pragmatic-parallel
* master: (1379 commits) Minor fixes for tchem examples due to changes in PETSc infrastructure update webpage about API changes add help menu for MatCreateSubMatricesMPI() 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 superlu: libray is installed in PREFIX/lib64 - fix this to use PREFIX/lib backport fixes cc105cc3 2b35c90a - required for 3bf428d - that was backported from master - 80c96bb 'echo -n' fails on opensolaris/osx - so avoid using it. fix diffs in nightlybuilds due to options in ~/.petscrc add Kelley03 to src/docs/tex/petsc.bib build: determine moudles, mpi.h used during buildtime and print in 'info' fix analyzer warnings fix build failure on opensolaris - where -lm from flibs is removed due to -lm in cxxlibs. But then - only flib gets used for some configure tests [blaslapack, parms] config: prefer __restrict over C99 restrict keyword ...
show more ...
|
| #
9137bce6
|
| 24-Dec-2016 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'barry/remove-funct'
|
| #
fbfcfee5
|
| 19-Dec-2016 |
Barry Smith <bsmith@mcs.anl.gov> |
Remove the use and definition of __FUNCT__ throughout the code
Since all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETSc Time: 1.5 hours Thanks-t
Remove the use and definition of __FUNCT__ throughout the code
Since all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETSc Time: 1.5 hours Thanks-to: Andreas Mang <andreas@ices.utexas.edu>
show more ...
|
| #
e1b06f76
|
| 20-May-2015 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/solkx
* master: (6933 commits) Bib: Added reference Includegraph: Updated for compatibility with new folder layout. Add SNESLineSearchReason to fortran inclu
Merge branch 'master' into knepley/solkx
* master: (6933 commits) Bib: Added reference Includegraph: Updated for compatibility with new folder layout. Add SNESLineSearchReason to fortran includes Also truncate names to fit 32 char fortran limit fix compile warnings /usr/home/balay/petsc.clone-2/src/vec/vec/interface/vector.c:1944: warning: division by zero in '1.0e+0 / 0.' /usr/home/balay/petsc.clone-2/src/ksp/ksp/interface/itfunc.c:508: warning: 'vec_rhs' may be used uninitialized in this function updated output for new trust region initial size initial size of the trust region is set as a percent of the norm of the initial guess, it should not be related to the initial norm of the function (which is kind of nuts). The default bounds for SNESVISetVariableBounds() in the manual page were reversed from correct values Bib: Added refs Bib: Update MPICH webpage Plex: Forgot to close file removed nonexistent ex46f from makefile test rule Revert "fixed bad merge into master" fixed bad merge into master fix memory leak in mkl_pardiso fix some formatting in mkl_pardiso code mv runex111 from TESTEXAMPLES_C to TESTEXAMPLES_DATAFILESPATH Mat+Doc: More Fortran docs Plex ex3: Run tests with the correct number of field components Bib: Added TetGen cite parmetis: make sure 'ldd libparmetis.so' points to the correct libmetis.so that its linked with. small fix as reported by the nightly test ...
Conflicts: config/builder.py
show more ...
|
| #
898446f9
|
| 11-Mar-2015 |
Shri Abhyankar <abhyshr@mcs.anl.gov> |
Merge branch 'master' into shri/ts-is-for-differential-variables
Conflicts: include/petsc-private/tsimpl.h src/ts/impls/eimex/eimex.c src/ts/interface/ts.c
|
| #
9c925a2c
|
| 18-Mar-2014 |
Shri <abhyshr@mcs.anl.gov> |
Merge branch 'master' into shri/ts-events
Conflicts: src/ts/interface/ts.c
|
| #
5f6acfaf
|
| 18-Mar-2014 |
Shri <abhyshr@mcs.anl.gov> |
Merge branch 'master' into shri/feature-dm-circuit
Conflicts: src/dm/impls/makefile
|
| #
c7ff62de
|
| 13-Jan-2014 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'master' into barry/wirth-fusion-materials bad manual merge needs to be fixed this is what happens when branches hang around too long
Conflicts: src/ts/examples/tutorials/advection-dif
Merge branch 'master' into barry/wirth-fusion-materials bad manual merge needs to be fixed this is what happens when branches hang around too long
Conflicts: src/ts/examples/tutorials/advection-diffusion-reaction/ex10.c
show more ...
|
| #
edbbd480
|
| 10-Dec-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'master' into barry/xcode
|
| #
c4fbd833
|
| 08-Nov-2013 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-fem-dgspace
* master: (593 commits) Bib: Added Top500 and fixed entry fun3d: update PetscMallocValidate() usage bib: rename ref with duplicate key
Merge branch 'master' into knepley/feature-fem-dgspace
* master: (593 commits) Bib: Added Top500 and fixed entry fun3d: update PetscMallocValidate() usage bib: rename ref with duplicate key Webpage: Corrected '-dm_mat_type cusp' to 'dm_mat_type aijcusp'. Allow calling MatGetBlockSize[s]() before matrix preallocation SNESLINESEARCHBT: Set the norms when exiting early due to negligible step. SNESQN: only monitor real part of dot product (fails with C++ complex) Corrected the #include statement in the man pages for the PetscObjectComposedDataSet/Getwhatever routines. DMPlex: Added doc for DMPlexGetHybridBounds() winzip: detect if winzip is used to extract petsc.tar.gz and error out. configure: remove self.archIndependent as its not being used. [it is used to create externalpackages/package/arch dir which is unused] configure: fix packages using package-dir/PETSC_ARCH as out-of-source-build location Perhaps this should be changed to package-dir/build? configure: remove dead code previously used to download BuildSystem configure: check if compilerDefines [and compilerFixes] exist in framework before using them configure: save/restore reconfigure.py when --with-clean is used configure: add --with-clean option to delete buildfiles/externalpackages in PETSC_DIR/PETSC_ARCH and potential externalpackages in --with-external-package-dir/PETSC_ARCH configure: With --with-externalpackages-dir=dir store/build packages in dir/PETSC_ARCH Add MatSeqSBAIJSetPreallocationCSR() configure: switch to using PETSC_DIR/PETSC_ARCH/externalpackages by updating package.py to use externalpackages.py as the externalPackagesDirProvider configure: move dead code configureExternalPackagesDir() from petscdir.py to externalpackagesdir.py Also set PETSC_DIR/PETSC_ARCH/externalpackages as the externalpackagesdir ...
show more ...
|
| #
7737a228
|
| 31-Oct-2013 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'master' into barry/saws
Conflicts: src/ksp/pc/impls/gamg/gamg.c src/sys/classes/viewer/impls/ams/ams.c src/sys/objects/pinit.c
|
| #
170be9ae
|
| 16-Oct-2013 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-dmda-section
* master: (397 commits) PetscSynchronizedFGets: fix deadlock at EOF Compiler: Fix warnings from MPI impls which do not initialize outputs
Merge branch 'master' into knepley/feature-dmda-section
* master: (397 commits) PetscSynchronizedFGets: fix deadlock at EOF Compiler: Fix warnings from MPI impls which do not initialize outputs Increase patchlevel to 3.4.3 SNES: Now work vectors come from the DM SNES ex62: Remove code generation SNES: Move setup involving snes->vec_sol from SNESSetUp() to SNESolve() Compiler: Fix warnings from MPI impls which do not initialize outputs DMPlex ex7: Added missing test output SNES ex52: Removed old Jacobian stuff, and fixed call to DMPlexProjectFunction() - Fixed calls for new element handling SNES ex12: Added a performance profiling mode DMPlex ex8: Fixed leak PetscSection: Must reset the section when changing the number of fields DMPlex ex7: Fixed test output - Corrected orientations in interpolation DMPlex ex1: Fixed test output - Uniform refinement for quads changed DMPlex: Fix overagressive checks PC: Removed support graph PC configure: both downloadonWindows and worksonWindows refer to MS compilers. Also fix isWindows() -> isWindows(CC). MatXAIJSetPreallocation: use array[] notation to help out Fortran __float128: when blas/lapack is not found instruct using f2cblaslapack Configure: Package.downloadonWindows is supposed to mean that Windows compilers work. not Cygwin - Also changed doc for Package.worksonWindows, which does refer to Cygwin ...
Conflicts: src/dm/impls/da/dalocal.c
show more ...
|
| #
0a58a46c
|
| 10-Oct-2013 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'knepley/fix-plex-examples' into knepley/feature-plex-refine-3d
* knepley/fix-plex-examples: (36 commits) DMPlex ex7: Added missing test output SNES ex52: Removed old Jacobian stuff
Merge branch 'knepley/fix-plex-examples' into knepley/feature-plex-refine-3d
* knepley/fix-plex-examples: (36 commits) DMPlex ex7: Added missing test output SNES ex52: Removed old Jacobian stuff, and fixed call to DMPlexProjectFunction() - Fixed calls for new element handling SNES ex12: Added a performance profiling mode DMPlex ex8: Fixed leak PetscSection: Must reset the section when changing the number of fields DMPlex ex7: Fixed test output - Corrected orientations in interpolation DMPlex ex1: Fixed test output - Uniform refinement for quads changed DMPlex: Fix overagressive checks configure: both downloadonWindows and worksonWindows refer to MS compilers. Also fix isWindows() -> isWindows(CC). MatXAIJSetPreallocation: use array[] notation to help out Fortran __float128: when blas/lapack is not found instruct using f2cblaslapack Configure: Package.downloadonWindows is supposed to mean that Windows compilers work. not Cygwin - Also changed doc for Package.worksonWindows, which does refer to Cygwin SNES example: fix bad merge config: only define DATAFILESPATH for non-null value config: define lang-specific macros in petscconf.h, choose in petscsys.h Mat: add MATOP_ values for missing functions DMPlex: use VECSTANDARD for coordinates PetscSF: Fixed PetscSFCreateEmbeddedSF() - We were using sf->nleaves for the leaf buffer, which is completely wrong. We have to use the largest thing in sf->mine[] replaced ISCreateGeneral in CompositeDM with ISCreateStride. MatNest calls ISStrideGetInfo on these vectors, which was causing errors DMPlex: Fix completely broken code in PetscSFCreateRemoteOffsets() - Non-broken example was in PetscSFDistributeSection() ...
Conflicts: src/dm/impls/plex/plex.c
show more ...
|
| #
16407d4f
|
| 09-Oct-2013 |
Peter Brune <brune@mcs.anl.gov> |
Merge branch 'master' into prbrune/mat-matcolor
Conflicts: src/snes/interface/snesj2.c
|
| #
ffc3e64b
|
| 09-Oct-2013 |
Peter Brune <brune@mcs.anl.gov> |
Merge branch 'master' into prbrune/removeunwrappedmathfunctions
|
| #
099d3e56
|
| 09-Oct-2013 |
Jed Brown <jedbrown@mcs.anl.gov> |
Merge branch 'jed/avoid-getpwuid' into maint
The file path routines were broken because the current directory was placed in front of the given path before checking for leading ~ or ~user. This is
Merge branch 'jed/avoid-getpwuid' into maint
The file path routines were broken because the current directory was placed in front of the given path before checking for leading ~ or ~user. This is now fixed, along with the removal of getpwuid (a liability on BG/Q and Cray). We still attempt to use getpwnam when encountering ~user.
* jed/avoid-getpwuid: Sys ex13: avoid non-portable realpath(1) in verification test cleanup includes that are no longer needed. Also remove check for _fullpath() as the corresponding code is removed. Sys: fix PetscGetFullPath expansion of ~ and ~user, ensure NULL termination Sys: avoid getpwuid in file path routines Sys: add failing test expanding ~/file-name and ~user/file-name
Conflicts: config/PETSc/Configure.py
show more ...
|
| #
13cbb554
|
| 08-Oct-2013 |
Jed Brown <jedbrown@mcs.anl.gov> |
Merge branch 'jed/avoid-getpwuid'
The file path routines were broken because the current directory was placed in front of the given path before checking for leading ~ or ~user. This is now fixed, al
Merge branch 'jed/avoid-getpwuid'
The file path routines were broken because the current directory was placed in front of the given path before checking for leading ~ or ~user. This is now fixed, along with the removal of getpwuid (a liability on BG/Q and Cray). We still attempt to use getpwnam when encountering ~user.
* jed/avoid-getpwuid: Sys ex13: avoid non-portable realpath(1) in verification test cleanup includes that are no longer needed. Also remove check for _fullpath() as the corresponding code is removed. Sys: fix PetscGetFullPath expansion of ~ and ~user, ensure NULL termination Sys: avoid getpwuid in file path routines Sys: add failing test expanding ~/file-name and ~user/file-name
Conflicts: config/PETSc/Configure.py
show more ...
|
| #
473bb0d5
|
| 31-Aug-2013 |
Satish Balay <balay@mcs.anl.gov> |
cleanup includes that are no longer needed. Also remove check for _fullpath() as the corresponding code is removed.
|
| #
45082d64
|
| 30-Aug-2013 |
Jed Brown <jedbrown@mcs.anl.gov> |
Sys: avoid getpwuid in file path routines
This function is badly implemented by some well-known supercomputing vendors (causes corruption and crashes) and ~ expansion in the shell uses $HOME rather
Sys: avoid getpwuid in file path routines
This function is badly implemented by some well-known supercomputing vendors (causes corruption and crashes) and ~ expansion in the shell uses $HOME rather than the password home directory field anyway.
This commit does not affect the failing test for path expansion.
show more ...
|