Re: [petsc-users] Hypre (GPU) memory consumption

2021-12-03 Thread Mark Adams
You might try with -pc_type jacobi (and remove mat_type hypre) to get a baseline. Does that work and how much memory usage do you see? >From there you could try -pc_type gamg to test the built-in AMG. However, 32M equations in 3D (Lapalcian?) might be too much. AMG does use a lot of memory. On Fri

Re: [petsc-users] Hypre (GPU) memory consumption

2021-12-03 Thread Matthew Knepley
On Fri, Dec 3, 2021 at 7:57 AM Karthikeyan Chockalingam - STFC UKRI < karthikeyan.chockalin...@stfc.ac.uk> wrote: > Hello, > > > > I am able to successfully run hypre on gpus but the problem seems to > consumption a lot of memory. I ran ksp/ksp/tutorial/ex45 on a grid of 320 > x 320 x 320 using 6

[petsc-users] Hypre (GPU) memory consumption

2021-12-03 Thread Karthikeyan Chockalingam - STFC UKRI
Hello, I am able to successfully run hypre on gpus but the problem seems to consumption a lot of memory. I ran ksp/ksp/tutorial/ex45 on a grid of 320 x 320 x 320 using 6 gpus by the following options mpirun -n 6 ./ex45 -da_grid_x 320 -da_grid_y 320 -da_grid_z 320 -dm_mat_type hypre -dm_vec_t