Re: [petsc-users] Problem with solving Poisson eqn for some cases

2018-03-26 Thread Smith, Barry F.
Run in the debugger and step/next through the code to see what code path it is taking and why it doesn't seem to follow the intended code path. > On Mar 26, 2018, at 7:10 AM, Matthew Knepley wrote: > > On Mon, Mar 26, 2018 at 1:15 AM, TAY wee-beng

Re: [petsc-users] Problem with solving Poisson eqn for some cases

2018-03-26 Thread Matthew Knepley
On Mon, Mar 26, 2018 at 1:15 AM, TAY wee-beng wrote: > > On 24/3/2018 6:00 AM, Matthew Knepley wrote: > > On Fri, Mar 23, 2018 at 5:23 AM, TAY wee-beng wrote: > >> >> On 21/3/2018 7:47 PM, Matthew Knepley wrote: >> >> On Wed, Mar 21, 2018 at 4:59 AM, TAY

Re: [petsc-users] Problem with solving Poisson eqn for some cases

2018-03-25 Thread TAY wee-beng
On 24/3/2018 6:00 AM, Matthew Knepley wrote: On Fri, Mar 23, 2018 at 5:23 AM, TAY wee-beng > wrote: On 21/3/2018 7:47 PM, Matthew Knepley wrote: On Wed, Mar 21, 2018 at 4:59 AM, TAY wee-beng >

Re: [petsc-users] Problem with solving Poisson eqn for some cases

2018-03-21 Thread Matthew Knepley
On Wed, Mar 21, 2018 at 4:59 AM, TAY wee-beng wrote: > > On 19/3/2018 6:32 PM, Matthew Knepley wrote: > > On Mon, Mar 19, 2018 at 5:19 AM, TAY wee-beng wrote: > >> >> On 17/3/2018 1:15 AM, Matthew Knepley wrote: >> >> On Fri, Mar 16, 2018 at 12:54 PM, TAY

Re: [petsc-users] Problem with solving Poisson eqn for some cases

2018-03-21 Thread TAY wee-beng
On 19/3/2018 6:32 PM, Matthew Knepley wrote: On Mon, Mar 19, 2018 at 5:19 AM, TAY wee-beng > wrote: On 17/3/2018 1:15 AM, Matthew Knepley wrote: On Fri, Mar 16, 2018 at 12:54 PM, TAY wee-beng >

Re: [petsc-users] Problem with solving Poisson eqn for some cases

2018-03-19 Thread Matthew Knepley
On Mon, Mar 19, 2018 at 5:19 AM, TAY wee-beng wrote: > > On 17/3/2018 1:15 AM, Matthew Knepley wrote: > > On Fri, Mar 16, 2018 at 12:54 PM, TAY wee-beng wrote: > >> >> On 15/3/2018 6:21 PM, Matthew Knepley wrote: >> >> On Thu, Mar 15, 2018 at 3:51 PM, TAY

Re: [petsc-users] Problem with solving Poisson eqn for some cases

2018-03-19 Thread TAY wee-beng
On 17/3/2018 1:15 AM, Matthew Knepley wrote: On Fri, Mar 16, 2018 at 12:54 PM, TAY wee-beng > wrote: On 15/3/2018 6:21 PM, Matthew Knepley wrote: On Thu, Mar 15, 2018 at 3:51 PM, TAY wee-beng >

Re: [petsc-users] Problem with solving Poisson eqn for some cases

2018-03-16 Thread Smith, Barry F.
> On Mar 16, 2018, at 11:54 AM, TAY wee-beng wrote: > > > On 15/3/2018 6:21 PM, Matthew Knepley wrote: >> On Thu, Mar 15, 2018 at 3:51 PM, TAY wee-beng wrote: >> Hi, >> >> I'm running a CFD code which solves the momentum and Poisson eqns. >> >> Due to

Re: [petsc-users] Problem with solving Poisson eqn for some cases

2018-03-16 Thread Matthew Knepley
On Fri, Mar 16, 2018 at 12:54 PM, TAY wee-beng wrote: > > On 15/3/2018 6:21 PM, Matthew Knepley wrote: > > On Thu, Mar 15, 2018 at 3:51 PM, TAY wee-beng wrote: > >> Hi, >> >> I'm running a CFD code which solves the momentum and Poisson eqns. >> >> Due to poor

Re: [petsc-users] Problem with solving Poisson eqn for some cases

2018-03-16 Thread TAY wee-beng
On 15/3/2018 6:21 PM, Matthew Knepley wrote: On Thu, Mar 15, 2018 at 3:51 PM, TAY wee-beng > wrote: Hi, I'm running a CFD code which solves the momentum and Poisson eqns. Due to poor scaling with HYPRE at higher cpu no., I decided to

Re: [petsc-users] Problem with solving Poisson eqn for some cases

2018-03-15 Thread Smith, Barry F.
http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind > On Mar 15, 2018, at 1:51 AM, TAY wee-beng wrote: > > Hi, > > I'm running a CFD code which solves the momentum and Poisson eqns. > > Due to poor scaling with HYPRE at higher cpu no., I decided to try using >

Re: [petsc-users] Problem with solving Poisson eqn for some cases

2018-03-15 Thread Mark Adams
On Thu, Mar 15, 2018 at 3:51 PM, TAY wee-beng wrote: > Hi, > > I'm running a CFD code which solves the momentum and Poisson eqns. > > Due to poor scaling with HYPRE at higher cpu no., I decided to try using > PETSc with boomeramg and gamg. > > I tested for some small cases and

Re: [petsc-users] Problem with solving Poisson eqn for some cases

2018-03-15 Thread Matthew Knepley
On Thu, Mar 15, 2018 at 3:51 PM, TAY wee-beng wrote: > Hi, > > I'm running a CFD code which solves the momentum and Poisson eqns. > > Due to poor scaling with HYPRE at higher cpu no., I decided to try using > PETSc with boomeramg and gamg. > > I tested for some small cases and

[petsc-users] Problem with solving Poisson eqn for some cases

2018-03-15 Thread TAY wee-beng
Hi, I'm running a CFD code which solves the momentum and Poisson eqns. Due to poor scaling with HYPRE at higher cpu no., I decided to try using PETSc with boomeramg and gamg. I tested for some small cases and it work well. However, for the large problem which has poor scaling, it gives an