[Libmesh-devel] An installation problem with complex enabled

2009-03-05 Thread Ping Rong
Hello all, i have been trying to get started with libMesh since a few weeks. Everything ran very well until i enabled the complex option. i downloaded latest version of libMesh code via svn, and compiled petsc-3.0.0-p3 by using following configuration --

Re: [Libmesh-devel] Ghosted vectors

2009-03-05 Thread Tim Kroeger
Dear Roy, On Mon, 2 Mar 2009, Roy Stogner wrote: > On Mon, 2 Mar 2009, Tim Kroeger wrote: > >> Update: It doesn't crash any more. With the patch that I sent you in the >> previous mail, it seems to work. > > That's interesting. Did you ever track down the source of the > problem? The patch yo

Re: [Libmesh-devel] Ghosted vectors

2009-03-05 Thread Roy Stogner
On Thu, 5 Mar 2009, Tim Kroeger wrote: Well, actually the crash was due to the missing a.close() between a=b and a.scale(). After adding that, but before my latest patch, it didn't crash any more, but it produced totally wrong results. That led me to the idea that PetscVector::scale() (and