History log of /petsc/src/sys/logging/plog.c (Results 151 – 175 of 568)
Revision Date Author Comments
# b7124133 20-Sep-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-09-17/slimmer-petscobject' into 'main'

Feature: Slimmer PetscObject

See merge request petsc/petsc!5649


# 4dfa11a4 17-Sep-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

Remove parent, parentid, flops, time, mem, and memchildren. Deprecate PetscLogObjectParent(), PetscLogObjectMemory(), and PetscNewLog()


# 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


# 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


# 8abf2547 15-Aug-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-07-20/device-handles-on-demand' into 'main'

Decouple log_view and PetscDevice initialization

See merge request petsc/petsc!5458


# 7a101e5e 21-Jul-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

No longer initialize PetscDevice greedily with -log_view (to front load handle costs), instead have separate log events for them


# d4f355ed 18-Jul-2022 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# e4c0e4b6 18-Jul-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-scalapack-convert' into 'release'

MatConvert_Dense_ScaLAPACK(): incompatible layout

See merge request petsc/petsc!5441


# c3b5f7ba 18-Jul-2022 Pierre Jolivet <pierre@joliv.et>

Doc: spell check


# 72650879 01-Jul-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-06-28/rm-view-object-memory' into 'main'

Remove the view of object memory in -log_view since it is usually very wrong !3143

See merge request petsc/petsc!5378


# 54aabf2d 30-Jun-2022 Barry Smith <bsmith@mcs.anl.gov>

Add slight docs and clarification on four types of memory logging in events

Commit-type: documentation
/spend 20m


# 4851f57d 28-Jun-2022 Barry Smith <bsmith@mcs.anl.gov>

Remove the view of object memory in -log_view since it is usually very wrong !3143

Also add comments in the code where object memory information is stored and collecting indicating
for developers it

Remove the view of object memory in -log_view since it is usually very wrong !3143

Also add comments in the code where object memory information is stored and collecting indicating
for developers it is unreliable. We cannot rely on developer's personal memory for this type of knowledge.

Commit-type: bug-fix, housekeeping
/spend 15m
Reported-by: Patrick Sanan <patrick.sanan@gmail.com>

show more ...


# 99e9918e 27-May-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/cleanup-hpddm-ci' into 'main'

Cleanup -log_view and PCHPDDM + bump packages

See merge request petsc/petsc!5285


# faad7b01 26-May-2022 Pierre Jolivet <pierre@joliv.et>

PetscLog: fix missing star


# 70719257 10-May-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'psanan/docs-seealso-formatting' into 'main'

Docs: Fix man page .seealso entries missing spaces after commas

Closes #1176

See merge request petsc/petsc!5202


# c2e3fba1 03-May-2022 Patrick Sanan <patrick.sanan@gmail.com>

Docs: Fix man page .seealso entries missing spaces after commas

```python

import os
import re
import fileinput

START_PATTERN = re.compile(r"^( *\.seealso:? )(.*$)")
FIX_PATTERN = re.compile(r",([^

Docs: Fix man page .seealso entries missing spaces after commas

```python

import os
import re
import fileinput

START_PATTERN = re.compile(r"^( *\.seealso:? )(.*$)")
FIX_PATTERN = re.compile(r",([^ $\n])")

def _fix_comma(matchobj):
return "`, `%s" % matchobj.group(1)

def process_file(filename_full):
""" Find/fix commas w/o trailing spaces or newlines in .seealso blocks """
with fileinput.FileInput(filename_full, inplace=True) as the_file:
in_block = False
for line in the_file:
line_stripped = line.strip()
# end ".seealso blocks" on a blank line or C-style comment close
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:
in_block = True
if in_block:
if re.search(FIX_PATTERN, line):
line_fixed = re.sub(FIX_PATTERN, _fix_comma, line)
print(line_fixed, end="") # prints to file
else:
print(line, end="") # prints to file
else:
print(line, end="") # prints to 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 files in local tree(s) """
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)
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 ...


# 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


# b633a140 30-Apr-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-04-29/rm-petsccheckfalse-sys' into 'main'

Remove PetscCheckFalse() from sys directory

See merge request petsc/petsc!5187


# cc73adaa 30-Apr-2022 Barry Smith <bsmith@mcs.anl.gov>

Remove PetscCheckFalse() from sys directory

Commit-type: housekeeping
/spend 30m


# 0f8f8846 27-Apr-2022 Patrick Sanan <patrick.sanan@gmail.com>

Docs: add level for PetscLogGpuTime


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


12345678910>>...23