[petsc-users] PETSC breaks when using HYPRE preconditioner

2023-11-09 Thread Pantelis Moschopoulos
Hello everyone, I am trying to use Petsc coupled with Hypre BoomerAMG as preconditioner in our in-house code to simulate the transient motion of complex fluid with finite elements. The problem is that after a random number of iterations, an error arises when the Hypre is called. The error

Re: [petsc-users] Memory Usage in Matrix Assembly.

2023-03-14 Thread Pantelis Moschopoulos
Ok, I will try to implement your suggestions. Thank you very much for your help, Pantelis From: Barry Smith Sent: Tuesday, March 14, 2023 5:21 PM To: Pantelis Moschopoulos Cc: Dave May ; petsc-users@mcs.anl.gov Subject: Re: [petsc-users] Memory Usage in Matrix

Re: [petsc-users] Memory Usage in Matrix Assembly.

2023-03-14 Thread Pantelis Moschopoulos
to distribute elements? Note that I use continuous finite elements, which means that some values will be cached in a temporary buffer. Thank you very much, Pantelis From: Dave May Sent: Tuesday, March 14, 2023 4:40 PM To: Pantelis Moschopoulos Cc: petsc-users@mcs.anl.gov

[petsc-users] Memory Usage in Matrix Assembly.

2023-03-14 Thread Pantelis Moschopoulos
Hi everyone, I am a new Petsc user that incorporates Petsc for FEM in a Fortran code. My question concerns the sudden increase of the memory that Petsc needs during the assembly of the jacobian matrix. After this point, memory is freed. It seems to me like Petsc performs memory allocations and

Re: [petsc-users] Memory Usage in Matrix Assembly.

2023-03-15 Thread Pantelis Moschopoulos
never tried the DM structures of Petsc up to this point. Pantelis From: Matthew Knepley Sent: Tuesday, March 14, 2023 10:55 PM To: Dave May Cc: Pantelis Moschopoulos ; petsc-users@mcs.anl.gov Subject: Re: [petsc-users] Memory Usage in Matrix Assembly. On Tue, Mar

[petsc-users] Question about a parallel implementation of PCFIELDSPLIT

2024-01-19 Thread Pantelis Moschopoulos
Dear all, When I am using PCFIELDSPLIT and pc type "schur" in serial mode everything works fine. When I turn now to parallel, I observe that the number of ranks that I can use must divide the number of N without any remainder, where N is the number of unknowns. Otherwise, an error of the

[petsc-users] Απ: Question about a parallel implementation of PCFIELDSPLIT

2024-01-23 Thread Pantelis Moschopoulos
ncorporate the suggestions and I will come back with the results. Thanks, Pantelis Από: Matthew Knepley Στάλθηκε: Τρίτη, 23 Ιανουαρίου 2024 6:15 μμ Προς: Pantelis Moschopoulos Κοιν.: Barry Smith ; petsc-users@mcs.anl.gov Θέμα: Re: [petsc-users] Question about a parallel impl

[petsc-users] Απ: Question about a parallel implementation of PCFIELDSPLIT

2024-01-23 Thread Pantelis Moschopoulos
r) Thanks, Pantelis Από: Matthew Knepley Στάλθηκε: Παρασκευή, 19 Ιανουαρίου 2024 11:31 μμ Προς: Barry Smith Κοιν.: Pantelis Moschopoulos ; petsc-users@mcs.anl.gov Θέμα: Re: [petsc-users] Question about a parallel implementation of PCFIELDSPLIT On Fri, Jan 19, 2024 at

[petsc-users] Απ: Question about a parallel implementation of PCFIELDSPLIT

2024-01-23 Thread Pantelis Moschopoulos
not specify anything in the matrix set up right? Thanks, Pantelis Από: Matthew Knepley Στάλθηκε: Τρίτη, 23 Ιανουαρίου 2024 2:51 μμ Προς: Pantelis Moschopoulos Κοιν.: Barry Smith ; petsc-users@mcs.anl.gov Θέμα: Re: [petsc-users] Question about a parallel implementation

[petsc-users] Απ: Question about a parallel implementation of PCFIELDSPLIT

2024-01-23 Thread Pantelis Moschopoulos
   Από: Matthew Knepley Στάλθηκε: Τρίτη, 23 Ιανουαρίου 2024 3:20 μμ Προς: Pantelis Moschopoulos Κοιν.: Barry Smith ; petsc-users@mcs.anl.gov Θέμα: Re: [petsc-users] Question about a parallel implementation of PCFIELDSPLIT On Tue, Jan 23, 2024 at 8:16 AM Pantelis

[petsc-users] Απ: Question about a parallel implementation of PCFIELDSPLIT

2024-01-23 Thread Pantelis Moschopoulos
Προς: Pantelis Moschopoulos Κοιν.: Barry Smith ; petsc-users@mcs.anl.gov Θέμα: Re: [petsc-users] Question about a parallel implementation of PCFIELDSPLIT On Tue, Jan 23, 2024 at 9:45 AM Pantelis Moschopoulos mailto:pmoschopou...@outlook.com>> wrote: Dear Matt, I read about the MATLRC. H

[petsc-users] Απ: PETSC breaks when using HYPRE preconditioner

2023-11-09 Thread Pantelis Moschopoulos
Νοεμβρίου 2023 5:53 μμ Προς: Pantelis Moschopoulos Κοιν.: petsc-users@mcs.anl.gov Θέμα: Re: [petsc-users] PETSC breaks when using HYPRE preconditioner Pantelis If you can set an X Windows DISPLAY variable that works you can run with -on_error_attach_debugger and gdb should pop up in an Xterm