Re: [petsc-users] problem with nested logging, standalone example

2025-07-22 Thread Barry Smith
tion" >> >> 3. this process called "MPI_Abort" or "prte_abort" and the mca >> parameter prte_create_session_dirs is set to false. In this case, the >> run-time cannot detect that the abort call was an abnormal >> termination. Hence, the only error

Re: [petsc-users] problem with nested logging, standalone example

2025-07-22 Thread Junchao Zhang
gt; > > 3. this process called "MPI_Abort" or "prte_abort" and the mca > > parameter prte_create_session_dirs is set to false. In this case, the > > run-time cannot detect that the abort call was an abnormal > > termination. Hence, the only error message you will receive is this > >

Re: [petsc-users] problem with nested logging, standalone example

2025-07-22 Thread Zongze Yang
be terminated by signals sent by prterun (as reported here). You can avoid this message by specifying -quiet on the prterun command line. -- ``` Best wishes, Zongze From: petsc-users on behalf of Klaij, Christiaan via pet

Re: [petsc-users] problem with nested logging, standalone example

2025-07-14 Thread Klaij, Christiaan via petsc-users
iday, July 11, 2025 11:22 PM To: Klaij, Christiaan Cc: Junchao Zhang; PETSc users list Subject: Re: [petsc-users] problem with nested logging, standalone example And yet we cannot reproduce. Please tell us the exact PETSc version and MPI implementation versions. And reattach your reproduci

Re: [petsc-users] problem with nested logging, standalone example

2025-07-11 Thread Barry Smith
or error-out at the call to > PetscLogView. > > Chris > > > From: Klaij, Christiaan > Sent: Friday, July 11, 2025 10:10 AM > To: Barry Smith; Junchao Zhang > Cc: PETSc users list > Subject: Re: [petsc-users] problem with nested logging, standalone example > > @Matt:

Re: [petsc-users] problem with nested logging, standalone example

2025-07-11 Thread Junchao Zhang
her segfault, or hang or error-out at the call to > PetscLogView. > > Chris > > > From: Klaij, Christiaan > Sent: Friday, July 11, 2025 10:10 AM > To: Barry Smith; Junchao Zhang > Cc: PETSc users list > Subject: Re: [petsc-user

Re: [petsc-users] problem with nested logging, standalone example

2025-07-11 Thread Klaij, Christiaan via petsc-users
To: Barry Smith; Junchao Zhang Cc: PETSc users list Subject: Re: [petsc-users] problem with nested logging, standalone example @Matt: no MPI errors indeed. I've tried with MPICH and I get the same hanging. @Barry: both stack traces aren't exactly the same, see a sample with MPICH bel

Re: [petsc-users] problem with nested logging, standalone example

2025-07-11 Thread Klaij, Christiaan via petsc-users
64/3.4.2/lib/libmpi.so.12 From: Barry Smith Sent: Thursday, July 10, 2025 11:10 PM To: Junchao Zhang Cc: Klaij, Christiaan; PETSc users list Subject: Re: [petsc-users] problem with nested logging, standalone example I cannot reproduce On Jul 10, 2025, at 3:46 PM, Junchao Z

Re: [petsc-users] problem with nested logging, standalone example

2025-07-10 Thread Barry Smith
qWtWbWHMIk_YNR8bJrOqapgp$> >> >> <https://urldefense.us/v3/__https://www.facebook.com/marin.wageningen__;!!G_uCfscf7eWS!cbfMf1uAUCQ_T756UiU6Vd_NZkAvFLYRqJzL47P2JiAVi_2KCG5Q1u2oHseUcGLNAIW5qWtWbWHMIk_YNR8bJoD4fuV7$> >> >> >> <https://urldefense.us/v3/

Re: [petsc-users] problem with nested logging, standalone example

2025-07-10 Thread Junchao Zhang
!cbfMf1uAUCQ_T756UiU6Vd_NZkAvFLYRqJzL47P2JiAVi_2KCG5Q1u2oHseUcGLNAIW5qWtWbWHMIk_YNR8bJospHf95$ > > > [image: YouTube] > <https://urldefense.us/v3/__https://www.youtube.com/marinmultimedia__;!!G_uCfscf7eWS!cbfMf1uAUCQ_T756UiU6Vd_NZkAvFLYRqJzL47P2JiAVi_2KCG5Q1u2oHseUcGLNAI

Re: [petsc-users] problem with nested logging, standalone example

2025-07-10 Thread Barry Smith
__ > From: Matthew Knepley > Sent: Thursday, July 10, 2025 1:37 PM > To: Klaij, Christiaan > Cc: Junchao Zhang; PETSc users list > Subject: Re: [petsc-users] problem with nested logging, standalone example > > On Thu, Jul 10, 2025 at 4:39 AM Klaij, Christiaan v

Re: [petsc-users] problem with nested logging, standalone example

2025-07-10 Thread Matthew Knepley
Knepley > Sent: Thursday, July 10, 2025 1:37 PM > To: Klaij, Christiaan > Cc: Junchao Zhang; PETSc users list > Subject: Re: [petsc-users] problem with nested logging, standalone example > > On Thu, Jul 10, 2025 at 4:39 AM Klaij, Christiaan via petsc-users < > petsc-users

Re: [petsc-users] problem with nested logging, standalone example

2025-07-10 Thread Klaij, Christiaan via petsc-users
ew Knepley Sent: Thursday, July 10, 2025 1:37 PM To: Klaij, Christiaan Cc: Junchao Zhang; PETSc users list Subject: Re: [petsc-users] problem with nested logging, standalone example On Thu, Jul 10, 2025 at 4:39 AM Klaij, Christiaan via petsc-users mailto:petsc-users@mcs.anl.gov>> wrote: An

Re: [petsc-users] problem with nested logging, standalone example

2025-07-10 Thread Matthew Knepley
com/marin.wageningen__;!!G_uCfscf7eWS!bhLWmMB1f8WaSDbp9K4m6tdMiaSZUO0fz4wfjGqnmEpFXM6dyY0NHVQFP9Rbvo2D9gl117ZjcVyTiAmc0UAPFx4$> > [image: LinkedIn] > <https://urldefense.us/v3/__https://www.linkedin.com/company/marin__;!!G_uCfscf7eWS!bhLWmMB1f8WaSDbp9K4m6tdMiaSZUO0fz4wfjGqnmEpFXM6dyY0

Re: [petsc-users] problem with nested logging, standalone example

2025-07-10 Thread Klaij, Christiaan via petsc-users
ck trace... Chris From: Junchao Zhang Sent: Tuesday, July 8, 2025 10:58 PM To: Klaij, Christiaan Cc: PETSc users list Subject: Re: [petsc-users] problem with nested logging, standalone example Hi, Chris, First, I had to fix an error in your test by add

Re: [petsc-users] problem with nested logging, standalone example

2025-07-10 Thread Klaij, Christiaan via petsc-users
st Subject: Re: [petsc-users] problem with nested logging, standalone example Hi, Chris, First, I had to fix an error in your test by adding " PetscCallA(MatSetFromOptions(AA,ierr))" at line 254. [0]PETSC ERROR: - Error Message -

Re: [petsc-users] problem with nested logging, standalone example

2025-07-08 Thread Junchao Zhang
Hi, Chris, First, I had to fix an error in your test by adding " PetscCallA(MatSetFromOptions(AA,ierr))" at line 254. [0]PETSC ERROR: - Error Message -- [0]PETSC ERROR: Object is in wrong state [0]PETSC ERROR: Mat ob

Re: [petsc-users] problem with nested logging

2025-07-01 Thread Barry Smith
gt; > From: Stefano Zampini > Sent: Thursday, May 1, 2025 10:57 AM > To: Klaij, Christiaan > Cc: Randall Mackie; PETSc users list; Isaac, Toby > Subject: Re: [petsc-users] problem with nested logging > > > > Il giorno gio 1 mag 2025

Re: [petsc-users] problem with nested logging

2025-07-01 Thread Klaij, Christiaan via petsc-users
saac, Toby Subject: Re: [petsc-users] problem with nested logging If I deactivate all the calls to PetscLogEventBegin/End in the simulation code, the error does not show-up. But since there are more than 2500 events, it's impossible to do them one-by-one, especially since the error shows-u

Re: [petsc-users] problem with nested logging

2025-05-01 Thread Klaij, Christiaan via petsc-users
by Subject: Re: [petsc-users] problem with nested logging Il giorno gio 1 mag 2025 alle ore 11:38 Klaij, Christiaan mailto:c.kl...@marin.nl>> ha scritto: The checks seem to be in place: I do get a PETSC ERROR when I add a log event on rank 0 as you suggested. Ok, the broken logic may be

Re: [petsc-users] problem with nested logging

2025-05-01 Thread Klaij, Christiaan via petsc-users
, Christiaan Sent: Thursday, May 1, 2025 10:23 AM To: Stefano Zampini Cc: Randall Mackie; PETSc users list; Isaac, Toby Subject: Re: [petsc-users] problem with nested logging Was the rewritting by Toby done somewhere between petsc 3.19.4 (no problem) and 3.23.4 (problem)? Chris

Re: [petsc-users] problem with nested logging

2025-05-01 Thread Stefano Zampini
Il giorno gio 1 mag 2025 alle ore 11:23 Klaij, Christiaan ha scritto: > Was the rewritting by Toby done somewhere between petsc 3.19.4 (no > problem) and 3.23.4 (problem)? > > If I look at changelogs, I see many PetscLog related changes in doc/changes/320.md, so I presume the answer is yes

Re: [petsc-users] problem with nested logging

2025-05-01 Thread Stefano Zampini
; It shouldn't > Chris > > > From: Klaij, Christiaan > Sent: Thursday, May 1, 2025 10:23 AM > To: Stefano Zampini > Cc: Randall Mackie; PETSc users list; Isaac, Toby > Subject: Re: [petsc-users] problem with nested logging > > Was the rewritting by

Re: [petsc-users] problem with nested logging

2025-05-01 Thread Klaij, Christiaan via petsc-users
mail.com>> Sent: Tuesday, April 29, 2025 6:12 PM To: Randall Mackie Cc: Klaij, Christiaan; PETSc users list; Isaac, Toby Subject: Re: [petsc-users] problem with nested logging Can you try using -log_sync ? This should check every entry/exit points of logged Events and complain if something is

Re: [petsc-users] problem with nested logging

2025-05-01 Thread Stefano Zampini
___ > From: Stefano Zampini > Sent: Tuesday, April 29, 2025 6:12 PM > To: Randall Mackie > Cc: Klaij, Christiaan; PETSc users list; Isaac, Toby > Subject: Re: [petsc-users] problem with nested logging > > Can you try using -log_sync ? This shou

Re: [petsc-users] problem with nested logging

2025-04-30 Thread Klaij, Christiaan via petsc-users
users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov>; Isaac, Toby Subject: Re: [petsc-users] problem with nested logging You don't often get email from rlmackie...@gmail.com<mailto:rlmackie...@gmail.com>. Learn why this is important<https://urldefense.us/v3/__https:

Re: [petsc-users] problem with nested logging

2025-04-29 Thread Stefano Zampini
4EdWRUoVqQW7s6Cw7FNelIQ$> > > <https://urldefense.us/v3/__https://www.youtube.com/marinmultimedia__;!!G_uCfscf7eWS!bW2X4VgowGOLrAASgbFOR_Mh6HW4HtWqrdtpsvpnpiFrIwki34JOGyih-h-1bvgb-Bh4EdWRUoVqQW7s6CwmfHQRog$> > > From: Randall Mackie > Sent: Tuesday, April 29, 2025 3:33 PM > To: Klaij, Christiaan > Cc: Matthew K

Re: [petsc-users] problem with nested logging

2025-04-29 Thread Randall Mackie
QRog$ > > > From: Randall Mackie > Sent: Tuesday, April 29, 2025 3:33 PM > To: Klaij, Christiaan > Cc: Matthew Knepley; petsc-users@mcs.anl.gov; Isaac, Toby > Subject: Re: [petsc-users] problem with nested logging > > You don't often get email from

Re: [petsc-users] problem with nested logging

2025-04-29 Thread Klaij, Christiaan via petsc-users
laij, Christiaan Cc: Matthew Knepley; petsc-users@mcs.anl.gov; Isaac, Toby Subject: Re: [petsc-users] problem with nested logging You don't often get email from rlmackie...@gmail.com. Learn why this is important<https://urldefense.us/v3/__https://aka.ms/LearnAboutSenderIdentification__;!!

Re: [petsc-users] problem with nested logging

2025-04-29 Thread Randall Mackie
_uCfscf7eWS!fFq1daAFFpKhBA_NWU3sd2QJe_S44rklqeRi0TB57XI0nQsh9jgy8iw3JNGpBbd21zqvO3QlGTLa7kjgcpgQdSE$ > > > [YouTube]< > https://urldefense.us/v3/__https://www.youtube.com/marinmultimedia__;!!G_uCfscf7eWS!fFq1daAFFpKhBA_NWU3sd2QJe_S44rklqeRi0TB57XI0nQsh9jgy8iw3JNGpBbd21zqvO3QlGTLa7kjgn8qP6

Re: [petsc-users] problem with nested logging

2025-04-29 Thread Klaij, Christiaan via petsc-users
error message. Chris From: Matthew Knepley Sent: Tuesday, April 29, 2025 1:50 PM To: Klaij, Christiaan Cc: Junchao Zhang; petsc-users@mcs.anl.gov; Isaac, Toby Subject: Re: [petsc-users] problem with nested logging On Tue, Apr 29, 2025 at 6:50 AM

Re: [petsc-users] problem with nested logging

2025-04-29 Thread Matthew Knepley
cf7eWS!eq1kivi8yzuD_s9lNwIeqkMg9dU4SC9grCBJnOhoALEg4iILbgybeYt5c__oPKrFt56W5KKM4Kab4GcxXOHk$ > > > [image: YouTube] > <https://urldefense.us/v3/__https://www.youtube.com/marinmultimedia__;!!G_uCfscf7eWS!eq1kivi8yzuD_s9lNwIeqkMg9dU4SC9grCBJnOhoALEg4iILbgybeYt5c__oPKrFt56W5KKM4Kab4AzBikZl$ > > > > From: Klaij, Christiaan > Sent: Monda

Re: [petsc-users] problem with nested logging

2025-04-29 Thread Klaij, Christiaan via petsc-users
suwIMz7Z8$ ___ From: Klaij, Christiaan Sent: Monday, April 28, 2025 3:53 PM To: Matthew Knepley Cc: Junchao Zhang; petsc-users@mcs.anl.gov; Isaac, Toby Subject: Re: [petsc-users] problem with nested logging Bisecting would be quite hard, it's not just the petsc version that changed, also other l

Re: [petsc-users] problem with nested logging

2025-04-28 Thread Klaij, Christiaan via petsc-users
ov; Isaac, Toby Subject: Re: [petsc-users] problem with nested logging You don't often get email from knep...@gmail.com. Learn why this is important<https://urldefense.us/v3/__https://aka.ms/LearnAboutSenderIdentification__;!!G_uCfscf7eWS!ccB05YCuTjBD4s8PO77q6b1rOHXkATjqWr4Muuiu9DhyO9p8kHihED9

Re: [petsc-users] problem with nested logging

2025-04-28 Thread Matthew Knepley
le, unfortunately. > We cannot replicate it here. Is there a chance you could bisect to see what change is responsible? Thanks, Matt > Chris > > > From: Junchao Zhang > Sent: Saturday, April 26, 2025 3:51 PM > To: Klaij, Christia

Re: [petsc-users] problem with nested logging

2025-04-28 Thread Klaij, Christiaan via petsc-users
-users@mcs.anl.gov; Isaac, Toby Subject: Re: [petsc-users] problem with nested logging You don't often get email from junchao.zh...@gmail.com. Learn why this is important<https://urldefense.us/v3/__https://aka.ms/LearnAboutSenderIdentification__;!!G_uC

Re: [petsc-users] problem with nested logging

2025-04-26 Thread Junchao Zhang
Toby (Cc'ed) might know it. Or could you provide an example? --Junchao Zhang On Fri, Apr 25, 2025 at 3:31 AM Klaij, Christiaan via petsc-users < petsc-users@mcs.anl.gov> wrote: > We recently upgraded from 3.19.4 to 3.22.4 but face the problem below with > the nested logging. Any ideas? > > Chr