Re: [petsc-users] Does ILU(15) still make sense or should just use LU?

2024-03-29 Thread Barry Smith
o:petsc-users@mcs.anl.gov> > mailto:petsc-users@mcs.anl.gov>> > Subject: Re: [petsc-users] Does ILU(15) still make sense or should just use > LU? > > Hong, are these results somewhat expected? I don’t see any speed up for using > 2 processors (maybe I don’t have 2 pr

Re: [petsc-users] Does ILU(15) still make sense or should just use LU?

2024-03-29 Thread Zou, Ling via petsc-users
I cannot believe that I typed: make ex02 Thanks, it works. -Ling From: Barry Smith Date: Friday, March 29, 2024 at 12:43 PM To: Zou, Ling Cc: Zhang, Hong , petsc-users@mcs.anl.gov Subject: Re: [petsc-users] Does ILU(15) still make sense or should just use LU? cd src/ksp/ksp/tutorials make

Re: [petsc-users] Does ILU(15) still make sense or should just use LU?

2024-03-29 Thread Barry Smith
> > Best, > > -Ling > > From: Zhang, Hong > Date: Thursday, March 28, 2024 at 4:59 PM > To: Zou, Ling , Barry Smith > Cc: petsc-users@mcs.anl.gov > Subject: Re: [petsc-users] Does ILU(15) still make sense or should just use > LU? > > Ling, &g

Re: [petsc-users] Does ILU(15) still make sense or should just use LU?

2024-03-29 Thread Zou, Ling via petsc-users
Hong From: Zou, Ling Sent: Thursday, March 28, 2024 2:34 PM To: Barry Smith Cc: Zhang, Hong ; petsc-users@mcs.anl.gov Subject: Re: [petsc-users] Does ILU(15) still make sense or should just use LU? Thank you. Those are great suggestions. Although I mentioned 1 million DOF, but we rarely go

Re: [petsc-users] Does ILU(15) still make sense or should just use LU?

2024-03-28 Thread Zhang, Hong via petsc-users
, Ling Sent: Thursday, March 28, 2024 2:34 PM To: Barry Smith Cc: Zhang, Hong ; petsc-users@mcs.anl.gov Subject: Re: [petsc-users] Does ILU(15) still make sense or should just use LU? Thank you. Those are great suggestions. Although I mentioned 1 million DOF, but we rarely go there, so maybe

Re: [petsc-users] Does ILU(15) still make sense or should just use LU?

2024-03-28 Thread Zou, Ling via petsc-users
-users@mcs.anl.gov Subject: Re: [petsc-users] Does ILU(15) still make sense or should just use LU? You may benefit from a literature search on your model AND preconditioners to see what others have used. But I would try PETSc/MUMPS on the biggest size you want and see how it goes (better it runs

Re: [petsc-users] Does ILU(15) still make sense or should just use LU?

2024-03-28 Thread Barry Smith
anl.gov>> > Cc: Zhang, Hong mailto:hzh...@mcs.anl.gov>>, > petsc-users@mcs.anl.gov <mailto:petsc-users@mcs.anl.gov> > mailto:petsc-users@mcs.anl.gov>> > Subject: Re: [petsc-users] Does ILU(15) still make sense or should just use > LU? > > 1 millio

Re: [petsc-users] Does ILU(15) still make sense or should just use LU?

2024-03-28 Thread Zou, Ling via petsc-users
(the correct combination of those preconditioners). -Ling From: Barry Smith Date: Thursday, March 28, 2024 at 1:09 PM To: Zou, Ling Cc: Zhang, Hong , petsc-users@mcs.anl.gov Subject: Re: [petsc-users] Does ILU(15) still make sense or should just use LU? 1 million is possible for direct

Re: [petsc-users] Does ILU(15) still make sense or should just use LU?

2024-03-28 Thread Barry Smith
@petsc.dev>> > Date: Thursday, March 28, 2024 at 11:14 AM > To: Zou, Ling mailto:l...@anl.gov>> > Cc: Zhang, Hong mailto:hzh...@mcs.anl.gov>>, > petsc-users@mcs.anl.gov <mailto:petsc-users@mcs.anl.gov> > mailto:petsc-users@mcs.anl.gov>> > Subject:

Re: [petsc-users] Does ILU(15) still make sense or should just use LU?

2024-03-28 Thread Zou, Ling via petsc-users
advice? -Ling From: Barry Smith Date: Thursday, March 28, 2024 at 11:14 AM To: Zou, Ling Cc: Zhang, Hong , petsc-users@mcs.anl.gov Subject: Re: [petsc-users] Does ILU(15) still make sense or should just use LU? This is a bad situation, the solver is not really converging. This can happen with

Re: [petsc-users] Does ILU(15) still make sense or should just use LU?

2024-03-28 Thread Barry Smith
LU(level) is used for saving storage space with more computations. Normally, > we use level=1 or 2. It does not make sense to use level 15. If you have > sufficient space, LU would be the best. > Hong > > From: petsc-users <mailto:petsc-users-boun...@mcs.anl.gov>> on beh

Re: [petsc-users] Does ILU(15) still make sense or should just use LU?

2024-03-28 Thread Zou, Ling via petsc-users
Zou, Ling via petsc-users Sent: Wednesday, March 27, 2024 4:24 PM To: petsc-users@mcs.anl.gov Subject: [petsc-users] Does ILU(15) still make sense or should just use LU? Hi, I’d like to avoid using LU, but in some cases to use ILU and still converge, I have to go to ILU(15), i.e

Re: [petsc-users] Does ILU(15) still make sense or should just use LU?

2024-03-27 Thread Zhang, Hong via petsc-users
Sent: Wednesday, March 27, 2024 4:24 PM To: petsc-users@mcs.anl.gov Subject: [petsc-users] Does ILU(15) still make sense or should just use LU? Hi, I’d like to avoid using LU, but in some cases to use ILU and still converge, I have to go to ILU(15), i.e., `-pc_factor_levels 15`. Does it still

[petsc-users] Does ILU(15) still make sense or should just use LU?

2024-03-27 Thread Zou, Ling via petsc-users
Hi, I’d like to avoid using LU, but in some cases to use ILU and still converge, I have to go to ILU(15), i.e., `-pc_factor_levels 15`. Does it still make sense, or should I give it up and switch to LU? For this particular case, ~2k DoF, and both ILU(15) and LU perform similarly in terms of wal