History log of /petsc/src/sys/memory/mal.c (Results 51 – 75 of 204)
Revision Date Author Comments
# 7f18b027 27-Mar-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

replace if (...) return PetscError with PetscCheck() and other minor tweaks


# 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


# 1241a243 13-Feb-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-01-05/c99' into 'main'

Feature: C99 and C++11

See merge request petsc/petsc!4700


# 2c71b3e2 11-Feb-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

rename PetscAssert() -> PetscCheck() and PetscAssertDebug() -> PetscAssert()


# 9ace16cd 28-Jan-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

add PetscAssert() and PetscAssertFalse()


# 7d3de750 12-Jan-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

make PetscInfo() variadic


# 98921bda 28-Jan-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

SETERRQ[1-9]+ begone


# c1bf08c5 06-Sep-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jose/spelling-errors' into 'main'

Fix many spelling errors in manpages and comments

See merge request petsc/petsc!4283


# a5b23f4a 03-Sep-2021 Jose E. Roman <jroman@dsic.upv.es>

Fix spelling errors in manpages and comments


# f6cacfe8 27-Mar-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2021-03-22/fix-malloc-failure' into 'main'

PetscMalloc() was using "allocating" space, zeroing it etc before verifying a...

See merge request petsc/petsc!3747


# 66c772fa 23-Mar-2021 Barry Smith <bsmith@mcs.anl.gov>

PetscMalloc() was using "allocating" space, zeroing it etc before verifying a non-NULL pointer was even returned

Fix the code to immediately check if a non-NULL pointer was returned, otherwise immed

PetscMalloc() was using "allocating" space, zeroing it etc before verifying a non-NULL pointer was even returned

Fix the code to immediately check if a non-NULL pointer was returned, otherwise immediately generate an error.

Commit-type: bug-fix
Project: Brain project
/spend 10m
Reported-by: Getnet Betrie <gbetrie@anl.gov>

show more ...


# 16924cb1 26-Aug-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2020-08-16/fix-source-formatting' into 'master'

Turn on checkbadSource test to generate an error when found; fix all source code that causes errors

See merge request petsc/petsc

Merge branch 'barry/2020-08-16/fix-source-formatting' into 'master'

Turn on checkbadSource test to generate an error when found; fix all source code that causes errors

See merge request petsc/petsc!3064

show more ...


# 2da392cc 17-Aug-2020 Barry Smith <bsmith@mcs.anl.gov>

Turn on checkbadSource test to generate an error when found; fix all source code that causes errors

Commit-type: portability-fix, testing-fix, style-fix, feature, maintainability
/spend 1.5h


# ed0ed7c6 19-Sep-2019 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' into 'barry/2019-08-22/fix-fblaslapack-for-nag'

# Conflicts:
# lib/petsc/conf/test


# e6526db9 16-Sep-2019 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2019-09-04/feature-nan-malloc' into 'master'

Add code to initialize PetscMalloc() memory with Nan. Simplify and clarify the...

See merge request petsc/petsc!2017


# 41605b92 06-Sep-2019 Barry Smith <bsmith@mcs.anl.gov>

Fix use of incorrect variable name that appears in some code paths.

Commit-type: bug-fix
Reported-by: Jed Brown <jed@jedbrown.org>


# 92f119d6 06-Sep-2019 Barry Smith <bsmith@mcs.anl.gov>

Add code to initialize PetscMalloc() memory with Nan. Simplify and clarify the options for controlling PetscMalloc() debugging.

This now trivially detects an error that lay undetected in ts/examples

Add code to initialize PetscMalloc() memory with Nan. Simplify and clarify the options for controlling PetscMalloc() debugging.

This now trivially detects an error that lay undetected in ts/examples/tutorials/multistage/ex5.c for months

Commit-type: style-fix, feature, documentation

show more ...


# c56e2027 26-Jun-2019 BarryFSmith <bsmith@mcs.anl.gov>

Merged in barry/optimize-aij-da (pull request #1762)

Non-numeric optimizations focused on AIJ, MatFDColoring, and DMCreateMatrix_DA_*AIJ, looking to improve performance in GPU environments


# 071fcb05 05-Jun-2019 Barry Smith <bsmith@mcs.anl.gov>

Non-numeric optimizations focused on AIJ, MatFDColoring, and DMCreateMatrix_DA_*AIJ, looking to improve performance in GPU environments

1) PetscCalloc*() now uses system calloc()
2) Merged some Pets

Non-numeric optimizations focused on AIJ, MatFDColoring, and DMCreateMatrix_DA_*AIJ, looking to improve performance in GPU environments

1) PetscCalloc*() now uses system calloc()
2) Merged some PetscMalloc*()
3) Eliminated unneeded PetscCalloc*()
4) Removed some memory allocations and copies in MatFDColoringSetUp(), added local variables for better compiler optimization
5) Added MatSetValues_SeqAIJ_SortedFull(), added MatSetOption(MAT_SORTED_FULL)
6) Optimized DMCreateMatrix_DA_*AIJ for nonperiodic case to automatically have sorted columns (faster MatSetValues() times)
7) Eliminated call to PetscMemzero() in PetscFree()

Commit-type: style-fix, feature

show more ...


# 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 ...


# c86da64b 06-Sep-2018 Joseph Pusztay <josephpu@buffalo.edu>

Merged petsc/petsc into master


# 78945fca 17-Aug-2018 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into knepley/feature-plex-functionals

* master: (984 commits)
netcdf: set zlib as optional dependency corretly [wrt --enable-netcdf-4] - otherwise netcdf configure errors out

Merge branch 'master' into knepley/feature-plex-functionals

* master: (984 commits)
netcdf: set zlib as optional dependency corretly [wrt --enable-netcdf-4] - otherwise netcdf configure errors out
fix gcov obj path
-options_table was changed to options_view in 2014 but documentation was not updated to reflect it
configure: fix F2003 test
Dev manual: remove duplicate entry
Plex test ex5: Removed "future" test, as it resulted in issues in the nightly tests.
Some minor typos in TS
Add ADIOS2.py which I forgot to git add in the past
Plex ex5: Disable test
Doc: Added note for interface change
KSPLSQRMonitorDefault fixed for quad precision
Tao: Added alternative output for chwirut2 test.
TS ex45,ex46: Removed overly refined tests for faster nightly tests.
KSP ex72: Fixed needlessly long-running PCTFS tests.
SNES ex56: Reduced test size to speed up nightly test suite.
KSPSolve_LSQR: don't compute unused norm of rhs
SNES ex13: Reduced problem sizes for nightly tests.
PetscOptionsDeprecated(): fix for NULL prefix
PetscOptionsDeprecated(): add option to print additional info
SNES ex12: Reduced sizes for BDDC tests.
...

show more ...


123456789