History log of /petsc/src/snes/tutorials/network/ex1.c (Results 51 – 75 of 83)
Revision Date Author Comments
# 9566063d 25-Mar-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

The great renaming:

- CHKERRQ() -> PetscCall()
- CHKERRV() -> PetscCallVoid()
- CHKERRMPI() -> PetscCallMPI()
- CHKERRABORT() -> PetscCallAbort()
- CHKERRCONTINUE() -> PetscCallContinue()
- CHKERRXX

The great renaming:

- CHKERRQ() -> PetscCall()
- CHKERRV() -> PetscCallVoid()
- CHKERRMPI() -> PetscCallMPI()
- CHKERRABORT() -> PetscCallAbort()
- CHKERRCONTINUE() -> PetscCallContinue()
- CHKERRXX() -> PetscCallThrow()
- CHKERRCXX() -> PetscCallCXX()
- CHKERRCUDA() -> PetscCallCUDA()
- CHKERRCUBLAS() -> PetscCallCUBLAS()
- CHKERRCUSPARSE() -> PetscCallCUSPARSE()
- CHKERRCUSOLVER() -> PetscCallCUSOLVER()
- CHKERRCUFFT() -> PetscCallCUFFT()
- CHKERRCURAND() -> PetscCallCURAND()
- CHKERRHIP() -> PetscCallHIP()
- CHKERRHIPBLAS() -> PetscCallHIPBLAS()
- CHKERRHIPSOLVER() -> PetscCallHIPSOLVER()
- CHKERRQ_CEED() -> PetscCallCEED()
- CHKERR_FORTRAN_VOID_FUNCTION() -> PetscCallFortranVoidFunction()
- CHKERRMKL() -> PetscCallMKL()
- CHKERRMMG() -> PetscCallMMG()
- CHKERRMMG_NONSTANDARD() -> PetscCallMMG_NONSTANDARD()
- CHKERRCGNS() -> PetscCallCGNS()
- CHKERRPTSCOTCH() -> PetscCallPTSCOTCH()
- CHKERRSTR() -> PetscCallSTR()
- CHKERRTC() -> PetscCallTC()

show more ...


# b122ec5a 24-Mar-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

PetscInitialize() and PetscFinalize() wrapped:

- ierr = PetscInitialize();if (ierr) return ierr;
+ CHKERRQ(PetscInitialize());

- ierr = PetscFinalize();
- return ierr;
+ CHKERRQ(PetscFinalize());
+

PetscInitialize() and PetscFinalize() wrapped:

- ierr = PetscInitialize();if (ierr) return ierr;
+ CHKERRQ(PetscInitialize());

- ierr = PetscFinalize();
- return ierr;
+ CHKERRQ(PetscFinalize());
+ return 0;

show more ...


# 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


# 2c71b3e2 11-Feb-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

rename PetscAssert() -> PetscCheck() and PetscAssertDebug() -> PetscAssert()


# 9ace16cd 28-Jan-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

add PetscAssert() and PetscAssertFalse()


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

SETERRQ[1-9]+ begone


# b8ee96d5 12-Jan-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'gbetrie/fix-dmnetworkaddcomponent' into 'main'

Gbetrie/fix dmnetworkaddcomponent

See merge request petsc/petsc!4658


# eac198af 15-Dec-2021 Getnet <d.getnet@gmail.com>

Adding/modify tests on zero size components to several examples;
DMNetworkAddComponent(): the owning rank and all ghost ranks must call it to add a component and nvar in the same order
Update doc for

Adding/modify tests on zero size components to several examples;
DMNetworkAddComponent(): the owning rank and all ghost ranks must call it to add a component and nvar in the same order
Update doc for DMNetworkAddComponent
merge DMNetworkLayoutSetUp_Coupling() into DMNetworkLayoutSetUp() to remove duplication

show more ...


# 6762c164 15-Sep-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'psanan-release-patch-82973' into 'main'

Developer docs, style: remove rule about using "if (!rank)" and replace all "!rank" usage with "rank == 0"

See merge request petsc/petsc!4146


# dd400576 26-Jul-2021 Patrick Sanan <patrick.sanan@gmail.com>

Style: replace "!rank" with "rank == 0"

In SF tutorial ex1 (src/vec/is/sf/tutorials/ex1.c), add parentheses around "rank == 0". This is relevant because ! binds more tightly than +, but == binds les

Style: replace "!rank" with "rank == 0"

In SF tutorial ex1 (src/vec/is/sf/tutorials/ex1.c), add parentheses around "rank == 0". This is relevant because ! binds more tightly than +, but == binds less
tightly, so the result of the computation would otherwise change.

show more ...


# 6abb1ff3 10-Sep-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2021-07-03/demonstrate-network-parallel-build' into 'main'

dmnetwork: bug fix for parallel input single subnetwork; API change, optimize and cleanup

See merge request petsc/pets

Merge branch 'barry/2021-07-03/demonstrate-network-parallel-build' into 'main'

dmnetwork: bug fix for parallel input single subnetwork; API change, optimize and cleanup

See merge request petsc/petsc!4176

show more ...


# f11a936e 03-Jul-2021 Barry Smith <bsmith@mcs.anl.gov>

This example seems to demonstrate that one cannot construct a DMNetwork with one subnetwork in parallel correctly.

Commit-type: bug-report
\spend 40m

DMNetworkAddSubnetwork() does not need input nv

This example seems to demonstrate that one cannot construct a DMNetwork with one subnetwork in parallel correctly.

Commit-type: bug-report
\spend 40m

DMNetworkAddSubnetwork() does not need input nv; optimize DMNetworkLayoutSetUp_Coupling() and DMNetworkLayoutSetUp()
bugfix for DMNetworkDistribute(): subnet[].nvtx was over counted
cleanup network.c; add '-malloc_dump 0' to ex10.c: otherwise opensolaris-misc pipeline test fails
use the fix suggested by Satish. This fixes the opensolaris-misc pipeline test error of ex10.c, and harmless to other cases
rm #if 0. Previously kept for future work

show more ...


# 12ddc87b 30-Aug-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-defined-define' into 'main'

requires: define -> requires: defined

Closes #984

See merge request petsc/petsc!4265


# dfd57a17 30-Aug-2021 Pierre Jolivet <pierre@joliv.et>

requires: define -> requires: defined


# 82a6ae78 28-Jul-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-some-missing-chkerr' into 'main'

Some missing CHKERR[Q|MPI]

See merge request petsc/petsc!4190


# 1e1ea65d 27-Jul-2021 Pierre Jolivet <pierre@joliv.et>

Some missing CHKERR[Q|MPI]


# 60f11f4c 25-Feb-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-incorrect-chkerrq' into 'master'

CHKERRQ() -> CHKERRMPI()

See merge request petsc/petsc!3637


# 55b25c41 19-Feb-2021 Pierre Jolivet <pierre@joliv.et>

CHKERRQ() -> CHKERRMPI()


# 171be8c5 15-Jan-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'hzhang/dmnetwork-netcoupling' into 'master'

Hzhang/dmnetwork netcoupling

See merge request petsc/petsc!3051


# 2bf73ac6 28-May-2020 Hong Zhang <hzhang@mcs.anl.gov>

New design for the coupling of sub-dmnetowrks.
See email discussions on Nov 23, 2019, Subject: Re: petsc | DMNetwork: Update manual. (!2297)
See dev.html for changes made
using sf, DMNetworkVariables

New design for the coupling of sub-dmnetowrks.
See email discussions on Nov 23, 2019, Subject: Re: petsc | DMNetwork: Update manual. (!2297)
See dev.html for changes made
using sf, DMNetworkVariablesSetUp() handles shared vertex easily

show more ...


# bdea225a 30-Dec-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2020-10-08/fix-mpi-error-codes' into 'master'

Convert MPI error type to PETSc error with string message for all MPI calls

See merge request petsc/petsc!3326


# ffc4695b 08-Oct-2020 Barry Smith <bsmith@mcs.anl.gov>

Convert MPI error type to PETSc error with string message for all MPI calls

Now PETSc examples will ONLY return PETSc error codes and never MPI error codes directly so we can understand and post-pro

Convert MPI error type to PETSc error with string message for all MPI calls

Now PETSc examples will ONLY return PETSc error codes and never MPI error codes directly so we can understand and post-process their
errors better.

The test harness will now automatically retry tests that fail with MPI, this may help with Intel MPI that produces
seemingly random failures.

Commit-type: error-checking
/spend 30m

show more ...


# e4a630a0 16-Sep-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2020-09-01/fix-with-log-zero' into 'master'

Clean up examples so they run correctly without warnings configured using...

See merge request petsc/petsc!3193


# 956f8c0d 01-Sep-2020 Barry Smith <bsmith@mcs.anl.gov>

Clean up examples so they run correctly without warnings configured using --with-log=0 and --with-info=0

Make CI pipeline linux job build with these options

Commit-type: testing-fix, style-fix, mai

Clean up examples so they run correctly without warnings configured using --with-log=0 and --with-info=0

Make CI pipeline linux job build with these options

Commit-type: testing-fix, style-fix, maintainability
/spend 1h

show more ...


1234