History log of /petsc/src/ksp/pc/impls/bddc/bddcprivate.c (Results 76 – 100 of 1076)
Revision Date Author Comments
# e6053022 02-Dec-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-11-21/fix-thread-safety-petscoptionsgetviewer' into 'main'

Fix PetscOptionsGetViewer() so it works in a thread-safe way

See merge request petsc/petsc!7047


# cd791dc2 21-Nov-2023 Barry Smith <bsmith@mcs.anl.gov>

Fix PetscOptionsGetViewer() so it works in a thread-safe way

When PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is shared
by all threads that call PetscOptio

Fix PetscOptionsGetViewer() so it works in a thread-safe way

When PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is shared
by all threads that call PetscOptionsGetViewer(). In the previous code PetscObjectReference() and
dereference (via PetscViewerDestroy() where called on the viewer by multiple threads after the viewer
was accessed thus corrupting the object.

This branch introduces a PetscOptionsRestoreViewer() that allows not doing the referencing and dereferencing
on persistant viewers, thus removing the specific race condition above.

Other possible solutions include

Use a lock on each PetscObjectReference/Dereference() just in case they are shared. Could be time consuming so one
could mark each object as either threadshared or independent and only do the locks on threadshared objects. This lowers
the cost but would require more extensive changes to PETSc infrastructure. And I do not know if this shared/not shared model
is what we need in the long run, though it might be.

show more ...


# 16ce926e 11-Nov-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# ae60e8fe 10-Nov-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-then' into 'release'

Docs: fix wrong occurences of then instead of than

See merge request petsc/petsc!7007


# 467446fb 10-Nov-2023 Pierre Jolivet <pierre@joliv.et>

Docs: fix wrong occurences of then instead of than


# a7898f52 28-Oct-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 48b8f0a5 28-Oct-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-10-25/fix-offdiagonal/release' into 'release'

Fix use of offdiagonal to off-diagonal

See merge request petsc/petsc!6962


# 4cf0e950 25-Oct-2023 Barry Smith <bsmith@mcs.anl.gov>

Fix use of offdiagonal to off-diagonal


# 9c5460f9 17-Aug-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-08-09/linter-detect-static-function-candidates' into 'main'

Linter detect possible static functions

See merge request petsc/petsc!6796


# ba38deed 15-Aug-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Delete unused code


# 00bc44a4 26-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-06-16/pcmpi-simplify-options-database-api' into 'main'

Change the options database API for PCMPI to eliminate the -mpi_ options...

See merge request petsc/petsc!6611


# 3821be0a 17-Jun-2023 Barry Smith <bsmith@mcs.anl.gov>

Track levels of nesting of KSP, for example KSPBJACOBI has nesting 1 higher than the calling KSP


# cf9512e4 17-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-Wextra-semi-stmt' into 'main'

Fix -Wextra-semi-stmt

See merge request petsc/petsc!6708


# a8f51744 14-Jul-2023 Pierre Jolivet <pierre@joliv.et>

Fix -Wextra-semi-stmt


# 5156f2b6 01-Jun-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-05-31/trivial-bddc-clarification' into 'main'

Change use of PetscRealPart() for PetscMalloc to corresponding PetscBLASInt value

See merge request petsc/petsc!6530


# 59b05608 31-May-2023 Barry Smith <bsmith@mcs.anl.gov>

Change use of PetscRealPart() for PetscMalloc to corresponding PetscBLASInt value


# 80f6d96d 01-Apr-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 08eaad2d 01-Apr-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-typos-portability' into 'release'

Fix typos, portability issues, segmentation fault

See merge request petsc/petsc!6267


# aaa8cc7d 31-Mar-2023 Pierre Jolivet <pierre@joliv.et>

Fix some documentation and typos


# 5a7a9864 14-Mar-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jeremy/less-strcpy-strcat' into 'main'

Use Petsc[Strncpy,Strlcat,Memcpy] over Petsc[Strcpy,Strcat]

Closes #1332

See merge request petsc/petsc!6115


# c6a7a370 24-Feb-2023 Jeremy L Thompson <jeremy@jeremylt.org>

Clean up PETSc str ops to use more secure implementations where possible. These include:

- Use PetscStrncpy()/PetscStrlcat()/PetscMemcpy() over PetscStrcpy()/PetscStrcat()
- Use PetscArraycpy() over

Clean up PETSc str ops to use more secure implementations where possible. These include:

- Use PetscStrncpy()/PetscStrlcat()/PetscMemcpy() over PetscStrcpy()/PetscStrcat()
- Use PetscArraycpy() over PetscMemcpy() as appropriate for string buffer copying
- Use built in string from name over hardcoding
- Use sizeof over hardcoded length
- Replace some Strlcat with Strncpy when offset is known

show more ...


# 81e241df 11-Mar-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-01-30/cpp20' into 'main'

Add C++20 support to configure

See merge request petsc/petsc!6014


# 13bcc0bd 01-Feb-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Fix C++20 implicit enum-float conversions


# 37d05b02 06-Feb-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# b877537e 05-Feb-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-typos' into 'release'

Fix Typos

See merge request petsc/petsc!6024


12345678910>>...44