History log of /petsc/include/petscsys.h (Results 501 – 525 of 1729)
Revision Date Author Comments
# 580bdb30 07-Jun-2019 Barry Smith <bsmith@mcs.anl.gov>

Add PetscArraycmp(), PetscArraycpy(), PetscArrayzero(), PetscArraymove(), update code to use new forms

Replace a couple multi-mallocs with a single malloc
Replace backwards loops in MatSetValues_*()

Add PetscArraycmp(), PetscArraycpy(), PetscArrayzero(), PetscArraymove(), update code to use new forms

Replace a couple multi-mallocs with a single malloc
Replace backwards loops in MatSetValues_*() with PetscArraymove()

Commit-type: style-fix, feature

show more ...


# 44ef3d73 15-Jun-2019 Barry Smith <bsmith@mcs.anl.gov>

The -help message for PetscOptionInt(), PetscOptionsReal() etc now includes the newly set value as well as the previous value

Example:

./toy -help -tao_catol 100 now produces

-tao_catol <0. : 100.

The -help message for PetscOptionInt(), PetscOptionsReal() etc now includes the newly set value as well as the previous value

Example:

./toy -help -tao_catol 100 now produces

-tao_catol <0. : 100.>: Stop if constraints violations within (TaoSetConstraintTolerances)

Commit-type: feature
Reported-by: Robert Nr Nourgaliev <nourgaliev1@llnl.gov>

show more ...


# 613bfe33 02-Jun-2019 BarryFSmith <bsmith@mcs.anl.gov>

Merged in barry/update-collective-on (pull request #1744)

Update the use of Collective on in the manual pages to reflect the new style


# d083f849 01-Jun-2019 Barry Smith <bsmith@mcs.anl.gov>

Update the use of Collective on in the manual pages to reflect the new style

Commit-type: style-fix, documentation
Thanks-to: Patrick Sanan <patrick.sanan@gmail.com>


# ef135d0e 01-Jun-2019 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/psanan/docs-remove-manconcepts' [PR #1733]


# 9b3528b0 01-Jun-2019 Lisandro Dalcin <dalcinl@gmail.com>

Merged in dalcinl/with-batch (pull request #1721)

WithBatch: More compile-time checks

Approved-by: Jed Brown <jed@59a2.org>


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


# 15a5570d 29-May-2019 Lisandro Dalcin <dalcinl@gmail.com>

Sys: Include and use limits.h

* Remove configure check for C89 limits.h
* #define PETSC_BITS_PER_BYTE CHAR_BIT
* #define PETSC_IS_COLORING_MAX {UCHAR|USHRT}_MAX


# 7a003026 26-May-2019 Jed Brown <jed@59a2.org>

Merged in jed/sizeof (pull request #1706)

Migrate sizeof-related definitions to run-time/non-batch as appropriate

Approved-by: Lisandro Dalcin <dalcinl@gmail.com>
Approved-by: BarryFSmith <bsmith@m

Merged in jed/sizeof (pull request #1706)

Migrate sizeof-related definitions to run-time/non-batch as appropriate

Approved-by: Lisandro Dalcin <dalcinl@gmail.com>
Approved-by: BarryFSmith <bsmith@mcs.anl.gov>
Approved-by: Jed Brown <jed@59a2.org>

show more ...


# e316c87f 23-May-2019 Jed Brown <jed@jedbrown.org>

MPIU_SIZE_T: define at run-time


# 7cdaf61d 23-May-2019 Jed Brown <jed@jedbrown.org>

MPIU_FORTRANADDR: define at run-time


# 847f55b8 24-May-2019 Lisandro Dalcin <dalcinl@gmail.com>

Merged in dalcinl/endian (pull request #1698)

Runtime endianness detection

Approved-by: Jed Brown <jed@59a2.org>
Approved-by: BarryFSmith <bsmith@mcs.anl.gov>


# 30815ce0 23-May-2019 Lisandro Dalcin <dalcinl@gmail.com>

Add PetscBinaryBigEndian() for runtime detection of endianness


# 391e3792 22-May-2019 BarryFSmith <bsmith@mcs.anl.gov>

Merged in barry/check-bad-urls (pull request #1685)

Barry/check bad urls

Approved-by: Patrick Sanan <patrick.sanan@gmail.com>
Approved-by: Junchao Zhang <junchao.zhang@gmail.com>


# a8d69d7b 19-May-2019 Barry Smith <bsmith@mcs.anl.gov>

Fixed out-dated URLS using make checkbadURLS REPLACE=1

One manual fix of https://en.wikipedia.org/wiki/Buckingham_π_theorem since the automatic tool dropped the first _ for some reason
Manual fix of

Fixed out-dated URLS using make checkbadURLS REPLACE=1

One manual fix of https://en.wikipedia.org/wiki/Buckingham_π_theorem since the automatic tool dropped the first _ for some reason
Manual fix of //faq.html since the automatic tool incorrectly replaced /faq.html to //faq.html in some locations

These are largely updates of http to https but have a variety of other website location changes

Once this branch is in master individual developers can run make checkbadURLS and fix URLs related to their projects manually

Commit-type: bug-fix, documentation

show more ...


# 268263ee 18-May-2019 Hong Zhang <hongzhang@anl.gov>

Merged in hongzh/improve-tstrajectory-folder (pull request #1673)

Generate unique folder names for TSTrajectory

Approved-by: BarryFSmith <bsmith@mcs.anl.gov>
Approved-by: Emil Constantinescu <emcon

Merged in hongzh/improve-tstrajectory-folder (pull request #1673)

Generate unique folder names for TSTrajectory

Approved-by: BarryFSmith <bsmith@mcs.anl.gov>
Approved-by: Emil Constantinescu <emconsta@mcs.anl.gov>
Approved-by: Stefano Zampini <stefano.zampini@gmail.com>

show more ...


# 24ac310b 18-May-2019 BarryFSmith <bsmith@mcs.anl.gov>

Merged in barry/log-memory (pull request #1677)

Introduce logging of memory usage to the PETSc event logging infrastructure.


# e3ed9ee7 29-Apr-2019 Barry Smith <bsmith@mcs.anl.gov>

Introduce logging of memory usage to the PETSc event logging infrastructure.

The logging can be turned on and viewed with the options -log_view -log_view_memory

The logging requires the use of the

Introduce logging of memory usage to the PETSc event logging infrastructure.

The logging can be turned on and viewed with the options -log_view -log_view_memory

The logging requires the use of the PETSc malloc so may slow the runs slightly but since it is not
doing error checking of the memory it should not slow down the computations significently.

Four pieces of information about memory are logged and display in four additional columns in the table.
They are documented in the output above the table. Each column provides a particular "view" of the
memory usage in the event and they complement each other.

This should make it much easier for developers focusing on memory usage in their implementations
to understand the usage in the code, where the memory is being utilized, how it scales with problem size and number of processes etc.

Commit-type: feature

show more ...


# b72fa766 16-May-2019 Lisandro Dalcin <dalcinl@gmail.com>

Merged in dalcinl/fix-io-gmsh (pull request #1660)

Binary I/O And Gmsh DMPlex Reader

Approved-by: Matthew Knepley <knepley@gmail.com>
Approved-by: BarryFSmith <bsmith@mcs.anl.gov>


# 8a10d460 13-May-2019 Hong Zhang <hongzhang@anl.gov>

Generate unique folder names for TSTrajectory

- Added PetscMkdtemp()
- Removed -ts_trajectory_dirname in tests
- The changes are also applied to trajmemory.c

Funded-by:
Project: FASTMATH adjoint
Ti

Generate unique folder names for TSTrajectory

- Added PetscMkdtemp()
- Removed -ts_trajectory_dirname in tests
- The changes are also applied to trajmemory.c

Funded-by:
Project: FASTMATH adjoint
Time: 6.5 hours
Reported-by:
Thanks-to:

show more ...


# 9860990e 03-May-2019 Lisandro Dalcin <dalcinl@gmail.com>

Binary I/O: Various fixes and enhancements

* Change PetscBinary[Synchronized]Read() to allow for reading
items up to EOF without erroring
* Fix PetscViewerBinaryRead() to properly return the numbe

Binary I/O: Various fixes and enhancements

* Change PetscBinary[Synchronized]Read() to allow for reading
items up to EOF without erroring
* Fix PetscViewerBinaryRead() to properly return the number of items read
* Fix PetscViewerRead() to prevent infinite loops at EOF
* Various fixes for PetscDataType PETSC_COMPLEX

show more ...


# 7306556b 25-Mar-2019 Matthew Knepley <knepley@gmail.com>

Merged in basvanthof/feature-log-xml-reduction (pull request #1453)

Sys: Extension to the XML logging system

Approved-by: BarryFSmith <bsmith@mcs.anl.gov>


# 36763ca0 18-Mar-2019 Bas van 't Hof <bas.vanthof@vortech.nl>

Sys: Extension to the XML logging system
- Now output of the average of the values (time, flops, messages, message size) over the ranks
- Also report the rank in which the maximum and minimum values

Sys: Extension to the XML logging system
- Now output of the average of the values (time, flops, messages, message size) over the ranks
- Also report the rank in which the maximum and minimum values were found.
- Added MPI_2DOUBLE_PRECISION for MAX/MINLOC reduction

show more ...


# 8000f006 15-Mar-2019 Barry Smith <bsmith@mcs.anl.gov>

Merge branch 'master' of bitbucket.org:petsc/petsc


# 553225e2 14-Mar-2019 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/jczhang/vecscat-in-sf' [PR #1396]


1...<<21222324252627282930>>...70