History log of /petsc/src/sys/error/checkptr.c (Results 26 – 50 of 118)
Revision Date Author Comments
# 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


# 89669be4 02-May-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'psanan/docs-sphinx-man-pages' into 'main'

Integrate Man Pages into Sphinx Docs

Closes #1132 and #1015

See merge request petsc/petsc!4989


# db781477 25-Apr-2022 Patrick Sanan <patrick.sanan@gmail.com>

Docs: bulk add backticks to .seealso man page fields

```python
import os
import re
import fileinput

def _process_word(word):
comma = "," if word.endswith(",") else ""
return "`%s`%s" % (wor

Docs: bulk add backticks to .seealso man page fields

```python
import os
import re
import fileinput

def _process_word(word):
comma = "," if word.endswith(",") else ""
return "`%s`%s" % (word.rstrip(","), comma)

def _process_stripped_line(line):
return " ".join(map(_process_word, line.split()))

start_pattern = re.compile(r"^( *\.seealso:? )(.*$)")

def process_file(filename_full):
with fileinput.FileInput(filename_full, inplace=True) as f:
in_block = False
for line in f:
line_stripped = line.strip()
# end ".seealso blocks" on a blank line or C-style comment close
line_modified = None
if not line_stripped:
in_block = False
elif line_stripped.endswith("*/"):
in_block = False
else:
match = re.match(start_pattern,
line) # not stripped line
if match:
indent = " " * len(match.group(1))
in_block = True
line_modified = match.group(
1) + _process_stripped_line(
match.group(2).strip())
elif in_block:
line_modified = indent + _process_stripped_line(
line_stripped)
if line_modified:
print(line_modified) # prints to the file
else:
print(line, end="") # prints to the file

BASE_DIRS = ["src", "include"]
EXT = [".c", ".cxx", ".cpp", ".cu", ".h", ".hpp", ".hxx"]
EXCLUDE_DIRS = ["tests", "tutorials", "ftn-auto", "ftn-custom", "benchmarks"]

def main():
""" Process everything """
for base in BASE_DIRS:
for root, dirs, files in os.walk(base):
for filename in files:
if os.path.splitext(filename)[1] in EXT:
filename_full = os.path.join(root, filename)
print("FILE ---", filename_full)
process_file(filename_full)
for exclude_dir in EXCLUDE_DIRS:
if exclude_dir in dirs:
dirs.remove(exclude_dir)

if __name__ == "__main__":
main()
```

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


# 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


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

SETERRQ[1-9]+ begone


# 79982354 16-Nov-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2021-11-02/attribute-format-sys' into 'main'

Feature: PETSC_ATTRIBUTE_FORMAT - sys

See merge request petsc/petsc!4520


# 3ca90d2d 15-Nov-2021 Jacob Faibussowitsch <jacob.fai@gmail.com>

apply PETSC_ATTRIBUTE_FORMAT and related fixes to sys sources


# cf842bba 29-Sep-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2021-09-16/petscstack-on-the-stack' into 'main'

Move PetscStack onto the stack

See merge request petsc/petsc!4321


# 27104ee2 16-Sep-2021 Jacob Faibussowitsch <jacob.fai@gmail.com>

PetscStack is on the stack now, removing the need to 'initialize' it so it can always be
used. The entire API has also been intern'ed since it is only internally used in select
instances.


# d5ed94bb 14-Sep-2021 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/jose/fix-manpages'

Fix manpages to avoid errors reported by doctext

See merge request petsc/petsc!4309


# 4165533c 12-Sep-2021 Jose E. Roman <jroman@dsic.upv.es>

Fix manpages: Argument --> Parameter (required to enable sowing checks)


# 4715b3ca 21-Jun-2021 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/balay/add-valgrind.h'

valgrind.h: add to petsc repo

See merge request petsc/petsc!4094


# 6edef35e 14-Jun-2021 Satish Balay <balay@mcs.anl.gov>

valgrind.h: add to petsc at include/private/valgrind


# 67f24b97 08-Jun-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/update-checkbadsource' into 'main'

Update badsource rules

See merge request petsc/petsc!4064


# 70a7d78a 04-Jun-2021 Stefano Zampini <stefano.zampini@gmail.com>

Update badsource rules

- Zero or more spaces are not allowed for more returning types
- zero spaces not allowed for for|if|while


# a056570d 27-Sep-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2020-09-23/gpu-resource-error' into 'master'

Add specific PETSc error flag for GPU not having resources available

See merge request petsc/petsc!3241


# e57d7714 27-Sep-2020 Barry Smith <bsmith@mcs.anl.gov>

Add specific PETSc error flag for GPU not having resources available

Try three times to initialize CUDA/cuBLAS and cuSPARSE before erroring. This is for GPU tests that sometimes fail since the GPU
i

Add specific PETSc error flag for GPU not having resources available

Try three times to initialize CUDA/cuBLAS and cuSPARSE before erroring. This is for GPU tests that sometimes fail since the GPU
is busy with other tests when a new test is started.

Commit-type: error-checking, testing
/spend 1h

show more ...


# fd2eec0d 23-Aug-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jczhang/add-kokkos-init' into 'master'

Add Kokkos initialization

See merge request petsc/petsc!3048


# 05035670 19-Aug-2020 Junchao Zhang <jczhang@mcs.anl.gov>

Add support of CUDA/HIP initialization at the same time


# 721b214e 02-Aug-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jczhang/feature-delay-cuda-init' into 'master'

Do not init cuda if a code does not create any petsc cuda objects

See merge request petsc/petsc!2987


# cae85d06 21-Jul-2020 Junchao Zhang <jczhang@mcs.anl.gov>

Do lazy petsc cuda initialization and validation

So that we can avoid overburdening the GPU in CI.
See more at https://gitlab.com/petsc/petsc/-/issues/360#note_373723821


# b0d1f38a 22-Mar-2020 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/jczhang/feature-sf-pack-direct'

Directly pass root/leafdata to MPI in SF when possible

See merge request petsc/petsc!2506


12345