Hi, David
I did svn up, which updated ex30, but I still got the same error. I did
run in a debug mode, but I'm not sure why I got no stack. Please check the
log:
ken-pc:ex30 aeronova$ echo $METHOD
dbg
ken-pc:ex30 aeronova$ make
Updated .depend
Compiling C++ (in debug mode) ex30.C...
Linking ex30-dbg...
ken-pc:ex30 aeronova$ gdb ex30-dbg
GNU gdb 6.3.50-20050815 (Apple version gdb-1515) (Sat Jan 15 08:33:48 UTC
2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for
shared libraries ......................... done
(gdb) run
Starting program:
/Users/aeronova/Development/local/lib64/libmesh/examples/ex30/ex30-dbg
Reading symbols for shared libraries .++++++++++++++++++++++++.. done
*** Warning, This code is untested, experimental, or likely to see future
API changes: src/reduced_basis/rb_parametrized_object.C, line 31, compiled
Nov 14 2011 at 11:55:23 ***
EquationSystems
n_systems()=2
System #0, "RBConvectionDiffusion"
Type "RBConstruction"
Variables="u"
Finite Element Types="LAGRANGE", "JACOBI_20_00"
Infinite Element Mapping="CARTESIAN"
Approximation Orders="FIRST", "THIRD"
n_dofs()=2601
n_local_dofs()=2601
n_constrained_dofs()=0
n_vectors()=1
DofMap Sparsity
Average On-Processor Bandwidth <= 8.76624
Average Off-Processor Bandwidth <= 0
Maximum On-Processor Bandwidth <= 9
Maximum Off-Processor Bandwidth <= 0
DofMap Constraints
Number of DoF Constraints = 0
System #1, "RBSCMConvectionDiffusion"
Type "CondensedEigen"
Variables="p"
Finite Element Types="LAGRANGE", "JACOBI_20_00"
Infinite Element Mapping="CARTESIAN"
Approximation Orders="FIRST", "THIRD"
n_dofs()=2601
n_local_dofs()=2601
n_constrained_dofs()=0
n_vectors()=0
DofMap Sparsity
Average On-Processor Bandwidth <= 8.76624
Average Off-Processor Bandwidth <= 0
Maximum On-Processor Bandwidth <= 9
Maximum Off-Processor Bandwidth <= 0
DofMap Constraints
Number of DoF Constraints = 0
Mesh Information:
mesh_dimension()=2
spatial_dimension()=3
n_nodes()=2601
n_local_nodes()=2601
n_elem()=2500
n_local_elem()=2500
n_active_elem()=2500
n_subdomains()=1
n_partitions()=1
n_processors()=1
n_threads()=1
processor_id()=0
Initializing training parameters with random training set...
Parameter 0: log scaling = 1
Parameter 1: log scaling = 1
Parameter 2: log scaling = 1
Initializing training parameters with random training set...
Parameter 0: log scaling = 0
Parameter 1: log scaling = 0
Parameter 2: log scaling = 0
RBConstruction parameters:
system name: RBConvectionDiffusion
constrained_problem: 0
Nmax: 10
Basis training error tolerance: 1e-05
A_q operators attached: 3
F_q functions attached: 1
n_outputs: 4
output 0, Q_l = 1
output 1, Q_l = 1
output 2, Q_l = 1
output 3, Q_l = 1
Number of parameters: 3
Parameter 0: Min = 0.1, Max = 1
Parameter 1: Min = 0.1, Max = 1
Parameter 2: Min = 1, Max = 10
n_training_samples: 100
single-matrix mode? 0
reuse preconditioner? 1
use a relative error bound in greedy? 0
write out data during basis training? 0
quiet mode? 1
parameter initialized to:
mu[0] = 0.1
mu[1] = 0.1
mu[2] = 1
RBSCMConstruction parameters:
system name: RBSCMConvectionDiffusion
SCM Greedy tolerance: 0.1
A_q operators attached: 3
Number of parameters: 3
Parameter 0: Min = 0.1, Max = 1
Parameter 1: Min = 0.1, Max = 1
Parameter 2: Min = 1, Max = 10
n_training_samples: 100
[0]PETSC ERROR: --------------------- Error Message
------------------------------------
[0]PETSC ERROR: Object is in wrong state!
[0]PETSC ERROR: Not for unassembled matrix!
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: Petsc Release Version 3.2.0, Patch 5, Sat Oct 29 13:45:54
CDT 2011
[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:
/Users/aeronova/Development/local/lib64/libmesh/examples/ex30/ex30-dbg on a
arch-darw named ken-pc.sutd.edu.sg by aeronova Mon Nov 14 12:33:44 2011
[0]PETSC ERROR: Libraries linked from
/Users/aeronova/Development/local/lib64/petsc/petsc-3.2-p5/lib
[0]PETSC ERROR: Configure run at Mon Nov 14 08:24:55 2011
[0]PETSC ERROR: Configure options
--prefix=/Users/aeronova/Development/local/lib64/petsc/petsc-3.2-p5
--download-mpich=1 --download-blacs=1 --download-parmetis=1
--download-scalapack=1 --download-mumps=1 --download-umfpack=1
--with-clanguage=C++ --with-fc=g95
[0]PETSC ERROR:
------------------------------------------------------------------------
[0]PETSC ERROR: MatGetRow() line 350 in
/Users/aeronova/Development/local/src/petsc-3.2-p5/src/mat/interface/matrix.c
[0]PETSC ERROR: MatAXPY_BasicWithPreallocation() line 98 in
/Users/aeronova/Development/local/src/petsc-3.2-p5/src/mat/utils/axpy.c
[0]PETSC ERROR: MatAXPY_SeqAIJ() line 2718 in
/Users/aeronova/Development/local/src/petsc-3.2-p5/src/mat/impls/aij/seq/aij.c
[0]PETSC ERROR: MatAXPY() line 39 in
/Users/aeronova/Development/local/src/petsc-3.2-p5/src/mat/utils/axpy.c
[0]PETSC ERROR: add() line 566 in
"unknowndirectory/"/Users/aeronova/Development/local/lib64/libmesh/include/numerics/petsc_matrix.h
application called MPI_Abort(comm=0x84000000, 73) - process 0
[unset]: aborting job:
application called MPI_Abort(comm=0x84000000, 73) - process 0
Program exited with code 0111.
(gdb) bt
No stack.
On Mon, Nov 14, 2011 at 12:01 PM, David Knezevic <[email protected]
> wrote:
> On 11/13/2011 09:22 PM, Roy Stogner wrote:
> >
> > On Mon, 14 Nov 2011, Kyunghoon Lee wrote:
> >
> >> Hi all,
> >>
> >> I configured libmesh with petsc-3.2-p5 and slepc-3.2-p1 with the
> following
> >> options for a Mac 10.6.8:
> >>
> >> ./configure --prefix=/Users/aeronova/Development/local/lib64/libmesh
> >> --enable-petsc --enable-slepc --enable-glpk
> >>
> --with-glpk-include=/Users/aeronova/Development/local/lib64/glpk/glpk-4.45/include
> >>
> --with-glpk-lib=/Users/aeronova/Development/local/lib64/glpk/glpk-4.45/lib
> >> --enable-ifem --enable-eigen
> >>
> --with-eigen-include=/Users/aeronova/Development/local/lib64/Eigen/include/eigen3
> >>
> >> There were no errors for the libmesh build, but I got run time errors
> for
> >> ex29 and ex30 when I tested the library. I'd appreciate if someone
> could
> >> help me with the problems.
> > I don't think it's a problem just on your end. ex30 is a new addition
> > to the library; presumably it works for David Knezevic's group but it
> > doesn't currently compile for me; looks like it's not set up to handle
> > configurations without SLEPc or GLPK.
>
> Yes, there were some silly pre-processor errors. I didn't check
> thoroughly enough, my apologies. It should now compile (and be a NO-OP)
> when SLEPc and GLPK aren't installed.
>
> I think K's error is just a missing matrix close (which manifests
> differently on different systems, and hence I'm not seeing on my
> system). K: are you sure you're running the debugger in debug mode? If
> not, that would explain the empty stack trace.
>
> David
>
>
>
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Libmesh-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libmesh-users
>
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users