History log of /petsc/src/sys/error/err.c (Results 76 – 100 of 477)
Revision Date Author Comments
# 0e6b6b59 29-Aug-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

Rework PetscDeviceContext backends and supporting code:
- Add PETSC_DEVICE_HOST
- Add PetscDeviceAllocate()
- Add PetscDeviceMalloc()
- Add PetscDeviceDeallocate()
- Add PetscDeviceFree()
- Add Petsc

Rework PetscDeviceContext backends and supporting code:
- Add PETSC_DEVICE_HOST
- Add PetscDeviceAllocate()
- Add PetscDeviceMalloc()
- Add PetscDeviceDeallocate()
- Add PetscDeviceFree()
- Add PetscDeviceMemcopy()
- Add PetscDeviceArraycopy()

- Split petscdevice.h into petscdevice_cuda.h and petscdevice_hip.h
- Add petscdevice_cupm.h
- Extend cupm::Interface and cupm::BlasInterface classes
- Add more C++ utility wrappers

show more ...


# eea86af3 05-Sep-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-08-23/fix-sys-man' into 'main'

Fix up all manual pages in src/sys directory

See merge request petsc/petsc!5559


# 811af0c4 24-Aug-2022 Barry Smith <bsmith@mcs.anl.gov>

Fix up all manual pages in src/sys directory

Commit-type: documentation
/spend 10h


# 766cdfe2 02-Sep-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-08-28/fix-petscfunctionreturn-nonzero' into 'main'

Remove incorrect use of PetscFunctionReturn(nonzero integer value). Add this...

See merge request petsc/petsc!5564


# 11cc89d2 29-Aug-2022 Barry Smith <bsmith@mcs.anl.gov>

Remove incorrect use of PetscFunctionReturn(nonzero integer value). Add this rule to the developers guide

Commit-type: house-keeping
/spend 1h
Reported-by: Pierre Jolivet


# f0af967e 29-Aug-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-style-one-liners' into 'main'

Remove braces from one-liners w/o PetscCall()

See merge request petsc/petsc!5561


# ad540459 29-Aug-2022 Pierre Jolivet <pierre@joliv.et>

Remove braces from one-liners w/o PetscCall()


# 38f67375 27-Aug-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-style-one-liners' into 'main'

Remove braces from one-liners

See merge request petsc/petsc!5557


# 48a46eb9 27-Aug-2022 Pierre Jolivet <pierre@joliv.et>

Remove braces from one-liners


# 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


# bda77271 20-Jul-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-06-24/linenumbers-petscstack' into 'main'

Fixes/improvements for PETSc stack handling

See merge request petsc/petsc!5368


# 660278c0 26-Jun-2022 Barry Smith <bsmith@mcs.anl.gov>

Add PETSc CI mode to allow better handling of errors and system dependent output when running in test harness

-petsc_ci - automatically set for all runs in test harness

-petsc_ci_portable_error_out

Add PETSc CI mode to allow better handling of errors and system dependent output when running in test harness

-petsc_ci - automatically set for all runs in test harness

-petsc_ci_portable_error_output - ensures all error messages (when possible are system and compiler information),
should be only used in tests that are explicitly testing the error handling

This allows proper comparisons of runs on different machines and when errors are intentionally triggered to test error handling

Commit-type: error-checking, testing-fix
/spend 5h

show more ...


# 3b68727b 03-Jul-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-06-03/add-mpi-kspsolve-nonmpi-program' into 'main'

Add -mpi_linear_solver_server

See merge request petsc/petsc!5318


# 96cedb6e 19-Jun-2022 Barry Smith <bsmith@mcs.anl.gov>

The malloc checker printed the PETSc stack trace, but when a signal is caught the trace is already printed.


Commit-type: error-checking, bug-fix
/spend 10m


# e3673178 12-May-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-05-01/fix-petsccall-fortran' into 'main'

Add proper support for PetscCall(), PetscCallMPI() for Fortran

See merge request petsc/petsc!5196


# 49c86fc7 01-May-2022 Barry Smith <bsmith@mcs.anl.gov>

Add proper support for PetscCall(), PetscCallMPI() for Fortran

Also add support for PetscCallA(), PetscCallMPIA() for Fortran that abort

Provide support for printing the Fortran line and filenames

Add proper support for PetscCall(), PetscCallMPI() for Fortran

Also add support for PetscCallA(), PetscCallMPIA() for Fortran that abort

Provide support for printing the Fortran line and filenames with the errors or not depending on how long Fortran source code lines can be

Minor improvements to handling calls to PetscError() with no function string

Commit-type: error-checking, feature
/spend 2h

show more ...


# db9cea48 01-May-2022 Barry Smith <bsmith@mcs.anl.gov>

Improve formatting of MPI error messages printed by PETSc error handlers.

Commit-type: feature, error handling
/spend 15m


# 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


# 76b1de3d 01-May-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/housekeeping' into 'main'

General housekeeping

See merge request petsc/petsc!5192


# c35ec7c7 30-Apr-2022 Pierre Jolivet <pierre@joliv.et>

Do not print empty lines in error message


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


# bf1f1c24 31-Mar-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/feature-alen' into 'main'

Add PETSC_STATIC_ARRAY_LENGTH

See merge request petsc/petsc!5055


# dd39110b 30-Mar-2022 Pierre Jolivet <pierre@joliv.et>

Add PETSC_STATIC_ARRAY_LENGTH


# 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


12345678910>>...20