Re: [petsc-users] A series of GPU questions

2020-06-11 Thread Mark Adams
> > >> >> Would we instead just have 40 (or perhaps slightly fewer) MPI processes >> all sharing the GPUs? Surely this would be inefficient, and would PETSc >> distribute the work across all 4 GPUs, or would every process end out using >> a single GPU? >> > See > https://docs.olcf.ornl.gov/systems/

Re: [petsc-users] A series of GPU questions

2020-06-09 Thread Barry Smith
You might take a look at https://publications.anl.gov/anlpubs/2020/04/159190.pdf in the introduction there is a short discussion about some of the "gotchas" when using multi-core CPUs connected to multiple GPUs; it is focused on an

Re: [petsc-users] A series of GPU questions

2020-06-09 Thread Matthew Knepley
On Tue, Jun 9, 2020 at 8:52 PM Junchao Zhang wrote: > > > On Tue, Jun 9, 2020 at 7:11 PM GIBB Gordon wrote: > >> Hi, >> >> First of all, my apologies if this is not the appropriate list to send >> these questions to. >> >> I’m one of the developers of TPLS (https://sourceforge.net/projects/tpls/

Re: [petsc-users] A series of GPU questions

2020-06-09 Thread Junchao Zhang
On Tue, Jun 9, 2020 at 7:11 PM GIBB Gordon wrote: > Hi, > > First of all, my apologies if this is not the appropriate list to send > these questions to. > > I’m one of the developers of TPLS (https://sourceforge.net/projects/tpls/), > a Fortran code that uses PETSc, parallelised using DM vectors.

[petsc-users] A series of GPU questions

2020-06-09 Thread GIBB Gordon
Hi, First of all, my apologies if this is not the appropriate list to send these questions to. I’m one of the developers of TPLS (https://sourceforge.net/projects/tpls/), a Fortran code that uses PETSc, parallelised using DM vectors. It uses a mix of our own solvers, and PETSc’s Krylov solvers