[petsc-users] CPU utilization during GPU solver

2012-11-17 Thread Matthew Knepley
On Sat, Nov 17, 2012 at 3:05 PM, David Fuentes wrote: > Thanks Jed. > I was trying to run it in dbg mode to verify if all significant parts of the > solver were running on the GPU and not on the CPU by mistake. > I cant pinpoint what part of the solver is running on the CPU. When I run > top while

[petsc-users] CPU utilization during GPU solver

2012-11-17 Thread David Fuentes
Thanks Karl, Matt, I thought I created all vectors of CUSP type. I'll double check. I was trying to find vectors that I may have accidentally setup not with CUSP type through somehow interface with the SNES solver? I'll also double check w/ the cuda examples as Karl suggested. There are 6 Tesla M

[petsc-users] CPU utilization during GPU solver

2012-11-17 Thread Jed Brown
Please read the large boxed message about debugging mode. (Replying from phone so can't make it 72 point blinking red, sorry.) On Nov 17, 2012 1:41 PM, "David Fuentes" wrote: > thanks Matt, > > My log summary is below. > > > ***

[petsc-users] CPU utilization during GPU solver

2012-11-17 Thread Karl Rupp
Hi David, the cuda-runtime might spawn threads in addition to PETSc. How many GPUs do you have on your system? You might also want to compare with the CUDA examples. If they also run at ~800% CPU utilization, then it's definitely due to the CUDA runtime. Note that there might full CPU utilizat

[petsc-users] CPU utilization during GPU solver

2012-11-17 Thread David Fuentes
Thanks Jed. I was trying to run it in dbg mode to verify if all significant parts of the solver were running on the GPU and not on the CPU by mistake. I cant pinpoint what part of the solver is running on the CPU. When I run top while running the solver there seems to be ~800% CPU utilization that

[petsc-users] CPU utilization during GPU solver

2012-11-17 Thread David Fuentes
thanks Matt, My log summary is below. *** WIDEN YOUR WINDOW TO 120 CHARACTERS. Use 'enscript -r -fCourier9' to print this document*** *

[petsc-users] CPU utilization during GPU solver

2012-11-17 Thread Matthew Knepley
On Sat, Nov 17, 2012 at 10:50 AM, David Fuentes wrote: > Hi, > > I'm using petsc 3.3p4 > I'm trying to run a nonlinear SNES solver on GPU with gmres and jacobi PC > using VECSEQCUSP and MATSEQAIJCUSP datatypes for the rhs and jacobian matrix > respectively. > When running top I still see significa

[petsc-users] CPU utilization during GPU solver

2012-11-17 Thread David Fuentes
Hi, I'm using petsc 3.3p4 I'm trying to run a nonlinear SNES solver on GPU with gmres and jacobi PC using VECSEQCUSP and MATSEQAIJCUSP datatypes for the rhs and jacobian matrix respectively. When running top I still see significant CPU utilization (800-900 %CPU) during the solve ? possibly from so