Just to follow up on Paulo's message, I'm now running the libmesh SVN 
head with petsc-3.0.0-p4 and slepc-3.0.0-p2, and it works nicely. This 
fixes the error with slepc 2.3.3 that Paulo mentioned. By the way, I 
encountered the same error with slepc 2.3.3, but I just commented out:

ierr = EPSDestroy(_eps);
CHKERRABORT(libMesh::COMM_WORLD,ierr);

in SlepcEigenSolver::clear, which fixed the problem. This at least 
allows you to see the perf_logging output etc at the end of the program 
(I'm with Derek, this doesn't count as a memory leak :).

I did run across one issue in configuring libmesh with slepc-3.0.0 
though. For me, after configuring, SLEPC_INCLUDE was set to:

"-I/home/dave/slepc-3.0.0-p2 
-I/home/dave/slepc-3.0.0-p2/linux-gnu-c-debug/include 
-I/home/dave/slepc-3.0.0-p2/include"

where "linux-gnu-c-debug" is my PETSC_ARCH. I had to remove the first 
two of these include lines to get it to compile properly.

- Dave



Paulo Vieira wrote:
>> Message: 5
>> Date: Mon, 23 Mar 2009 14:08:52 -0500
>> From: "Kirk, Benjamin (JSC-EG311)" <[email protected]>
>> Subject: [Libmesh-devel] FW: Upgrade for SLEPc interface in libMesh
>>
>> John - since you have at least used SLEPc, would  you please give this patch
>> a look?  I think it is great that they did this for us!!
>>
>> -Ben
> 
> Ah, great!Thank you very much Jose. I'm currently using
> libMesh/PETSc/SLEPc intensively for modal analysis. I had in my todo
> list to make an interface for version 3.0.0. That will save me some
> hours :-)  I'll be using PETSc/SLEPc v.3.0 from now on, if I find any
> problems I'll report to the mailing-list.
> 
> Btw, with version 2.3.3 (and earlier versions as well) I've always had
> this output at the end of programs that use the SLEPc interface. It's
> only at the end, after the results so I never bothered to see what was
> causing it.
> 
> 
> [0]PETSC ERROR:
> ------------------------------------------------------------------------
> [0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation,
> probably memory access out of range
> [0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
> [0]PETSC ERROR: or see
> http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html#Signal[0]PETSC
> ERROR: or try http://valgrind.org on linux or man libgmalloc on Apple
> to find memory corruption errors
> [0]PETSC ERROR: configure using --with-debugging=yes, recompile, link, and run
> [0]PETSC ERROR: to get more information on the crash.
> [0]PETSC ERROR: --------------------- Error Message
> ------------------------------------
> [0]PETSC ERROR: Signal received!
> [0]PETSC ERROR:
> ------------------------------------------------------------------------
> [0]PETSC ERROR: Petsc Release Version 2.3.3, Patch 15, Tue Sep 23
> 10:02:49 CDT 2008 HG revision:
> 31306062cd1a6f6a2496fccb4878f485c9b91760
> [0]PETSC ERROR: See docs/changes/index.html for recent updates.
> [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
> [0]PETSC ERROR: See docs/index.html for manual pages.
> [0]PETSC ERROR:
> ------------------------------------------------------------------------
> [0]PETSC ERROR: ./modos_proprios_ae2-opt on a linux-gnu named
> nicedreammm by pvieira Tue Mar 24 17:40:44 2009
> [0]PETSC ERROR: Libraries linked from
> /usr/local/lib/petsc-2.3.3-p15/lib/linux-gnu-op
> [0]PETSC ERROR: Configure run at Sun Mar  1 05:58:01 2009
> [0]PETSC ERROR: Configure options --with-debugging=no
> --with-shared=yes --with-dynamic=no --with-mpi-dir=/usr/lib/mpich
> [0]PETSC ERROR:
> ------------------------------------------------------------------------
> [0]PETSC ERROR: User provided function() line 0 in unknown directory
> unknown file
> [0] MPI Abort by user Aborting program !
> [0] Aborting program!
> p0_4419:  p4_error: : 59
> 
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> Libmesh-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libmesh-devel


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to