Re: [Libmesh-devel] Fwd: [petsc-users] MatSetValues() for MATMPICUSP

2012-02-13 Thread Roy Stogner
On Mon, 13 Feb 2012, recrusader wrote: I am not sure that Jed mentioned the following stuff to you. Now, I can realize GPU computation with libMesh and PETSc in one or two cards. However, compared to CPU implementation, matrix assembly using GPU is very slow. I take it the problem is that whe

Re: [Libmesh-devel] Fwd: [petsc-users] MatSetValues() for MATMPICUSP

2012-02-13 Thread Cody Permann
On Mon, Feb 13, 2012 at 11:01 AM, Roy Stogner wrote: > > On Mon, 13 Feb 2012, recrusader wrote: > > I am not sure that Jed mentioned the following stuff to you. >> Now, I can realize GPU computation with libMesh and PETSc in one or two >> cards. >> However, compared to CPU implementation, matrix

Re: [Libmesh-devel] Fwd: [petsc-users] MatSetValues() for MATMPICUSP

2012-02-13 Thread recrusader
Thank you very much, Roy and Cody. I did some tests for ex4 in libmesh. When using a CPU coure, the cost time for solver and matrix assembly is as follows: | PetscLinearSolver | | solve() 1 69.5099 69.509936 69.5099 69.50

Re: [Libmesh-devel] Fwd: [petsc-users] MatSetValues() for MATMPICUSP

2012-02-13 Thread Jed Brown
Resending from an email address that is accepted by libmesh-devel On Mon, Feb 13, 2012 at 14:41, Jed Brown wrote: > On Mon, Feb 13, 2012 at 12:11, Cody Permann wrote: > >> This is to be expected - if you think about what happens in assembly we >> are looping over elements and building up just a