Re: [petsc-users] Code (possibly) not running on GPU with CUDA

2020-08-06 Thread GIBB Gordon
Do you have a call to DMSetFromOptions()? Barry On Aug 5, 2020, at 10:24 AM, GIBB Gordon mailto:g.g...@epcc.ed.ac.uk>> wrote: Hi, I’ve built PETSc with NVIDIA support for our GPU machine (https://cirrus.readthedocs.io/en/master/user-guide/gpu.html), and then compiled our executable

Re: [petsc-users] Code (possibly) not running on GPU with CUDA

2020-08-05 Thread GIBB Gordon
University of Edinburgh Tel: +44 131 651 3459 On 5 Aug 2020, at 17:10, Matthew Knepley mailto:knep...@gmail.com>> wrote: On Wed, Aug 5, 2020 at 11:24 AM GIBB Gordon mailto:g.g...@epcc.ed.ac.uk>> wrote: Hi, I’ve built PETSc with NVIDIA support for our GPU machine (https://cirrus.readt

[petsc-users] Code (possibly) not running on GPU with CUDA

2020-08-05 Thread GIBB Gordon
Hi, I’ve built PETSc with NVIDIA support for our GPU machine (https://cirrus.readthedocs.io/en/master/user-guide/gpu.html), and then compiled our executable against this PETSc (using version 3.13.3). I should add that the MPI on our system is not GPU-aware so I have to use -use_gpu_aware_mpi 0

[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