Re: [petsc-users] GPUs and the float-double dilemma

2023-02-10 Thread Barry Smith
What is the use case you are looking for that cannot be achieved by just distributing a single precision application? If the user is happy when they happen to have GPUs to use single precision everywhere, then why would they need double precision if they happen not to have a GPU? Are

Re: [petsc-users] GPUs and the float-double dilemma

2023-02-10 Thread Jed Brown
Ces VLC writes: > El El vie, 10 feb 2023 a las 21:44, Barry Smith escribió: > >> >>What is the use case you are looking for that cannot be achieved by >> just distributing a single precision application? If the user is happy when >> they happen to have GPUs to use single precision

Re: [petsc-users] GPUs and the float-double dilemma

2023-02-10 Thread Ces VLC
El El vie, 10 feb 2023 a las 21:44, Barry Smith escribió: > >What is the use case you are looking for that cannot be achieved by > just distributing a single precision application? If the user is happy when > they happen to have GPUs to use single precision everywhere, then why would > they

Re: [petsc-users] GPUs and the float-double dilemma

2023-02-10 Thread Matthew Knepley
On Fri, Feb 10, 2023 at 11:31 AM Junchao Zhang wrote: > > On Fri, Feb 10, 2023 at 8:16 AM Ces VLC wrote: > >> Hi! >> >> I searched if it’s supported to link an application to two different >> builds of PETSc (one configured as float precision, and the other as >> double). The last post I found

[petsc-users] Question about applying algebraic multigrid (AMG) PC and multilevel Schwarz PC

2023-02-10 Thread ­권승리
Dear petsc developers. Hello. While I was applying the preconditioner in contact with the FEM code, I had some questions. How can I apply the AMG PC and the multilevel Schwarz PC in the FEM code? Purpose is to compare which PC is better in the FEM code with contact situation. In my case, the

[petsc-users] GPUs and the float-double dilemma

2023-02-10 Thread Ces VLC
Hi! I searched if it’s supported to link an application to two different builds of PETSc (one configured as float precision, and the other as double). The last post I found on that topic was from 2016 and it said it’s not recommended. The point is that if you wish to prepare builds of your

Re: [petsc-users] Question about applying algebraic multigrid (AMG) PC and multilevel Schwarz PC

2023-02-10 Thread Mark Adams
On Fri, Feb 10, 2023 at 9:17 AM ­권승리 wrote: > Dear petsc developers. > > Hello. > While I was applying the preconditioner in contact with the FEM code, I > had some questions. > > How can I apply the AMG PC and the multilevel Schwarz PC in the FEM code? > Purpose is to compare which PC is better

Re: [petsc-users] GPUs and the float-double dilemma

2023-02-10 Thread Junchao Zhang
On Fri, Feb 10, 2023 at 8:16 AM Ces VLC wrote: > Hi! > > I searched if it’s supported to link an application to two different > builds of PETSc (one configured as float precision, and the other as > double). The last post I found on that topic was from 2016 and it said it’s > not recommended. >