[petsc-dev] [GPU] Performance on Fermi

2010-08-28 Thread Matthew Knepley
petsc-dev-bounces at > mcs.anl.gov] > On Behalf Of Barry Smith > Sent: Friday, August 27, 2010 2:15 PM > To: For users of the development version of PETSc > Subject: [petsc-dev] [GPU] Performance on Fermi > > > PETSc-dev folks, > > Please prepend all messages t

[petsc-dev] [GPU] Performance on Fermi

2010-08-27 Thread Jed Brown
On Fri, 27 Aug 2010 16:34:45 -0500, Keita Teranishi wrote: > Jed, > > I usually manually edit petscconf.h and petscvariables to change the > installation configurations for Cray XT/XE. The problem is configure > script of PETSc picks up wrong variables and #define macros because > the OS and lib

[petsc-dev] [GPU] Performance on Fermi

2010-08-27 Thread Jed Brown
On Fri, 27 Aug 2010 16:18:43 -0500, Keita Teranishi wrote: > Yes, I replaced all the compiler flags by -O3. petsc-maint doesn't come to me, but if the snippet that Barry quoted was from your log_summary, then PETSC_USE_DEBUG was definitely defined when plog.c was compiled. It's really much easie

[petsc-dev] [GPU] Performance on Fermi

2010-08-27 Thread Jed Brown
On Fri, 27 Aug 2010 16:06:30 -0500, Keita Teranishi wrote: > Barry, > > The CPU timing I reported was after recompiling the code (I removed > PETSC_USE_DEBUG and GDB macros from petscconf.h). Unless you were manually overriding compiler flags, it still wasn't optimized. Please just reconfigu

[petsc-dev] [GPU] Performance on Fermi

2010-08-27 Thread Richard Tran Mills
Inc. >> keita at cray.com >> >> >> >> -Original Message----- >> From: Jed Brown [mailto:five9a2 at gmail.com] On Behalf Of Jed Brown >> Sent: Friday, August 27, 2010 4:29 PM >> To: Keita Teranishi; For users o

[petsc-dev] [GPU] Performance on Fermi

2010-08-27 Thread Barry Smith
> > > -Original Message- > From: Jed Brown [mailto:five9a2 at gmail.com] On Behalf Of Jed Brown > Sent: Friday, August 27, 2010 4:29 PM > To: Keita Teranishi; For users of the development version of PETSc > Subject: RE: [petsc-dev] [GPU] Performance on

[petsc-dev] [GPU] Performance on Fermi

2010-08-27 Thread Keita Teranishi
y.com -Original Message- From: Jed Brown [mailto:five...@gmail.com] On Behalf Of Jed Brown Sent: Friday, August 27, 2010 4:29 PM To: Keita Teranishi; For users of the development version of PETSc Subject: RE: [petsc-dev] [GPU] Performance on Fermi On Fri, 27 Aug

[petsc-dev] [GPU] Performance on Fermi

2010-08-27 Thread Keita Teranishi
, August 27, 2010 4:16 PM To: Keita Teranishi; For users of the development version of PETSc Subject: Re: [petsc-dev] [GPU] Performance on Fermi On Fri, 27 Aug 2010 16:06:30 -0500, Keita Teranishi wrote: > Barry, > > The CPU timing I reported was after recompiling the code (

[petsc-dev] [GPU] Performance on Fermi

2010-08-27 Thread Keita Teranishi
Message- From: petsc-dev-bounces at mcs.anl.gov [mailto:petsc-dev-boun...@mcs.anl.gov] On Behalf Of Barry Smith Sent: Friday, August 27, 2010 3:37 PM To: For users of the development version of PETSc Subject: Re: [petsc-dev] [GPU] Performance on Fermi

[petsc-dev] [GPU] Performance on Fermi

2010-08-27 Thread Barry Smith
tsc-dev-bounces at mcs.anl.gov [mailto:petsc-dev-bounces at > mcs.anl.gov] On Behalf Of Keita Teranishi > Sent: Friday, August 27, 2010 2:20 PM > To: For users of the development version of PETSc > Subject: Re: [petsc-dev] [GPU] Performance on Fermi > > Barry, > > Y

[petsc-dev] [GPU] Performance on Fermi

2010-08-27 Thread Keita Teranishi
mcs.anl.gov [mailto:petsc-dev-boun...@mcs.anl.gov] On Behalf Of Keita Teranishi Sent: Friday, August 27, 2010 2:20 PM To: For users of the development version of PETSc Subject: Re: [petsc-dev] [GPU] Performance on Fermi Barry, Yes. It improves the performance dramatically, but the execution time

[petsc-dev] [GPU] Performance on Fermi

2010-08-27 Thread Keita Teranishi
Message- From: petsc-dev-bounces at mcs.anl.gov [mailto:petsc-dev-boun...@mcs.anl.gov] On Behalf Of Barry Smith Sent: Friday, August 27, 2010 2:15 PM To: For users of the development version of PETSc Subject: [petsc-dev] [GPU] Performance on Fermi PETSc-dev folks, Please prepend all

[petsc-dev] [GPU] Performance on Fermi

2010-08-27 Thread Barry Smith
PETSc-dev folks, Please prepend all messages to petsc-dev that involve GPUs with [GPU] so they can be easily filtered. Keita, To run src/ksp/ksp/examples/tutorials/ex2.c with CUDA you need the flag -vec_type cuda Note also that this example is fine for simple ONE pro