cOptionsSetValue(NULL,"-redistribute_pc_hypre_type",
"boomeramg");
Many thanks,
Karthik.
From: Barry Smith
Date: Tuesday, 7 February 2023 at 19:52
To: Chockalingam, Karthikeyan (STFC,DL,HC)
Cc: petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] Eliminating rows and columns
wasting a huge amount of memory?
>
> Kind regards,
> Karthik.
>
>
>
>
> From: Barry Smith mailto:bsm...@petsc.dev>>
> Date: Monday, 6 February 2023 at 22:42
> To: Chockalingam, Karthikeyan (STFC,DL,HC)
> <mailto:karthikeyan.chockalin..
ely empty
rows was a use case so much of the functionality does not work in that case.
>
> Best,
> Karthik.
>
> From: Barry Smith
> Date: Monday, 6 February 2023 at 20:18
> To: Chockalingam, Karthikeyan (STFC,DL,HC)
>
> Cc: petsc-users@mcs.anl.gov
> Subject: Re: [pet
!
Karthik.
From: Matthew Knepley
Date: Monday, 6 February 2023 at 21:52
To: Chockalingam, Karthikeyan (STFC,DL,HC)
Cc: Barry Smith , petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] Eliminating rows and columns which are zeros
On Mon, Feb 6, 2023 at 4:45 PM Karthikeyan Chockalingam - STFC UKRI
, 2023, at 6:42 PM, Karthikeyan Chockalingam - STFC UKRI <
> karthikeyan.chockalin...@stfc.ac.uk> wrote:
>
>
>
> I updated the main branch to the below commit but the same problem
> persists.
>
>
>
> *[0]PETSC ERROR: Petsc Development GIT revision:
> v3.18.4-529-g995ec06f92 G
?
Best,
Karthik.
From: Barry Smith
Date: Monday, 6 February 2023 at 20:18
To: Chockalingam, Karthikeyan (STFC,DL,HC)
Cc: petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] Eliminating rows and columns which are zeros
Sorry, I had a mistake in my thinking, PCREDISTRIBUTE supports completely
sc Development GIT revision: v3.18.4-529-g995ec06f92 GIT
> Date: 2023-02-03 18:41:48 +
>
>
> From: Barry Smith mailto:bsm...@petsc.dev>>
> Date: Friday, 3 February 2023 at 18:51
> To: Chockalingam, Karthikeyan (STFC,DL,HC)
> <mailto:karthikeyan.chockalin...@stfc.ac.uk>>
problem.c to debug the issue.
Kind regards,
Karthik.
From: Barry Smith
Date: Saturday, 4 February 2023 at 00:22
To: Chockalingam, Karthikeyan (STFC,DL,HC)
Cc: petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] Eliminating rows and columns which are zeros
If you can help me reproduce
eyan.chockalin...@stfc.ac.uk>>
> Cc: petsc-users@mcs.anl.gov <mailto:petsc-users@mcs.anl.gov>
> mailto:petsc-users@mcs.anl.gov>>
> Subject: Re: [petsc-users] Eliminating rows and columns which are zeros
>
>
>If you switch to use the main branch of pe
: petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] Eliminating rows and columns which are zeros
If you switch to use the main branch of petsc
https://petsc.org/release/install/download/#advanced-obtain-petsc-development-version-with-git
you will not have the problem below (previously we
@mcs.anl.gov
Subject: Re: [petsc-users] Eliminating rows and columns which are zeros
On Fri, Feb 3, 2023 at 1:05 PM Karthikeyan Chockalingam - STFC UKRI via
petsc-users mailto:petsc-users@mcs.anl.gov>> wrote:
Thank you. The entire error output was an attachment in my previous email. I am
pastin
Best,
> Karthik.
>
> From: Barry Smith mailto:bsm...@petsc.dev>>
> Date: Friday, 3 February 2023 at 17:41
> To: Chockalingam, Karthikeyan (STFC,DL,HC)
> <mailto:karthikeyan.chockalin...@stfc.ac.uk>>
> Cc: petsc-users@mcs.anl.gov <mailto:petsc-us
te_ksp_monitor_true_residual
>
> -redistribute_ksp_type cg
>
> -redistribute_ksp_view
>
> -redistribute_pc_type jacobi
>
> #End of PETSc Option Table entries
>
> There are no unused options.
>
> Program ended with exit code: 0
>
>
>
>
>
> Bes
Date: Friday, 3 February 2023 at 17:41
To: Chockalingam, Karthikeyan (STFC,DL,HC)
Cc: petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] Eliminating rows and columns which are zeros
We need all the error output for the errors you got below to understand why
the errors are happening.
On Feb 3
ror message as the linear system converges to
> the right solution.
>
> Thank you for your help.
>
> Kind regards,
> Karthik.
>
>
>
> From: Barry Smith mailto:bsm...@petsc.dev>>
> Date: Tuesday, 10 January 2023 at 18:50
> To: Chockalingam, Kart
solution.
Thank you for your help.
Kind regards,
Karthik.
From: Barry Smith
Date: Tuesday, 10 January 2023 at 18:50
To: Chockalingam, Karthikeyan (STFC,DL,HC)
Cc: petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] Eliminating rows and columns which are zeros
Yes, after the solve the x
lto:petsc-users@mcs.anl.gov>
> mailto:petsc-users@mcs.anl.gov>>
> Subject: Re: [petsc-users] Eliminating rows and columns which are zeros
>
>
> https://petsc.org/release/docs/manualpages/PC/PCREDISTRIBUTE/#pcredistribute
> -pc_type redistribute
>
>
> It
regards,
Karthik.
From: Barry Smith
Date: Tuesday, 10 January 2023 at 16:04
To: Chockalingam, Karthikeyan (STFC,DL,HC)
Cc: petsc-users@mcs.anl.gov
Subject: Re: [petsc-users] Eliminating rows and columns which are zeros
https://petsc.org/release/docs/manualpages/PC/PCREDISTRIBUTE/#pcredistribute
https://petsc.org/release/docs/manualpages/PC/PCREDISTRIBUTE/#pcredistribute
-pc_type redistribute
It does everything for you. Note that if the right hand side for any of the
"zero" rows is nonzero then the system is inconsistent and the system does not
have a solution.
Barry
> On Jan
Hello,
I am assembling a MATIJ of size N, where a very large number of rows (and
corresponding columns), are zeros. I would like to potentially eliminate them
before the solve.
For instance say N=7
0 0 0 0 0 0 0
0 1 -1 0 0 0 0
0 -1 2 0 0 0 -1
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 0
20 matches
Mail list logo