Here is entire backtrace:
(gdb) bt
#0 dealii::SparsityPattern::reinit (this=this@entry=0x7fffffffb498,
m=m@entry=829992, n=n@entry=829992, row_lengths=...) at
/deal_II/dealii-8.3.0/source/lac/sparsity_pattern.cc:369
#1 0x00007ffff5cb5fdc in dealii::SparsityPattern::reinit
(this=this@entry=0x7fffffffb498, m=m@entry=829992, n=n@entry=829992,
row_lengths=...)
at /deal_II/dealii-8.3.0/source/lac/sparsity_pattern.cc:564
#2 0x00007ffff5cb614b in dealii::SparsityPattern::reinit
(this=this@entry=0x7fffffffb498, m=829992, n=829992, max_per_row=8032)
at /deal_II/dealii-8.3.0/source/lac/sparsity_pattern.cc:251
#3 0x00000000004a9330 in
Step14::LaplaceSolver::Solver<3>::LinearSystem::LinearSystem
(this=0x7fffffffb3f0, dof_handler=...) at
/deal_II/J2/modified_step_14.cc:693
#4 0x00000000004acd22 in Step14::LaplaceSolver::Solver<3>::solve_problem
(this=0x89d1c0) at /deal_II/J2/modified_step_14.cc:447
#5 0x00000000004ace37 in
Step14::LaplaceSolver::DualSolver<3>::solve_problem (this=<optimized out>)
at /deal_II/J2/modified_step_14.cc:1743
#6 0x00000000004ace56 in
Step14::LaplaceSolver::WeightedResidual<3>::solve_dual_problem
(this=<optimized out>) at /deal_II/J2/modified_step_14.cc:2179
#7 0x0000000000474dac in operator()<, void> (__object=..., this=<optimized
out>) at /usr/include/c++/4.8.2/functional:588
#8 __call<void, 0ul> (__args=<optimized out>, this=<optimized out>) at
/usr/include/c++/4.8.2/functional:1296
#9 operator()<, void> (this=<optimized out>) at
/usr/include/c++/4.8.2/functional:1355
#10 std::_Function_handler<void (), std::_Bind<std::_Mem_fn<void
(Step14::LaplaceSolver::WeightedResidual<3>::*)()>
(std::reference_wrapper<Step14::LaplaceSolver::WeightedResidual<3> >)>
>::_M_invoke(std::_Any_data const&) (__functor=...) at
/usr/include/c++/4.8.2/functional:2071
#11 0x0000000000476976 in std::function<void ()>::operator()() const
(this=<optimized out>) at /usr/include/c++/4.8.2/functional:2471
#12 0x000000000047698a in call (function=...) at
/deal_II_install_dir/include/deal.II/base/thread_management.h:756
#13 dealii::Threads::internal::TaskEntryPoint<void>::execute
(this=<optimized out>) at
/deal_II_install_dir/include/deal.II/base/thread_management.h:2689
#14 0x00007ffff306cfb1 in
tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::local_wait_for_all
(this=0x8f1080, parent=..., child=child@entry=0x0)
at
/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/src/tbb/custom_scheduler.h:455
#15 0x00007ffff306df6e in
tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::wait_for_all
(this=<optimized out>, parent=..., child=0x0)
at
/deal_II/dealii-8.3.0/bundled/tbb41_20130401oss/src/tbb/custom_scheduler.h:89
#16 0x000000000047f0db in wait_for_all (this=<optimized out>) at
/deal_II_install_dir/include/deal.II/bundled/tbb/task.h:717
#17 join (this=<optimized out>) at
/deal_II_install_dir/include/deal.II/base/thread_management.h:2888
#18 dealii::Threads::Task<void>::join (this=this@entry=0x2570660) at
/deal_II_install_dir/include/deal.II/base/thread_management.h:3003
#19 0x000000000048b12a in join_all (this=0x7fffffffb8b0) at
/deal_II_install_dir/include/deal.II/base/thread_management.h:4011
#20 Step14::LaplaceSolver::WeightedResidual<3>::solve_problem
(this=0x89ce50) at /deal_II/J2/modified_step_14.cc:2144
#21 0x00000000004a6e78 in Step14::Framework<3>::run (descriptor=...) at
/deal_II/J2/modified_step_14.cc:3004
#22 0x0000000000471b16 in main () at /deal_II/J2/modified_step_14.cc:3072
Thanks
Ehsan
On Friday, May 20, 2016 at 2:57:29 PM UTC+2, Bruno Turcksin wrote:
>
> Ehsan,
>
> 2016-05-20 8:47 GMT-04:00 Ehsan <[email protected] <javascript:>>:
> > Yes I run the code in gdb and I receive below error:
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > dealii::SparsityPattern::reinit (this=this@entry=0x7fffffffb498,
> > m=m@entry=829992, n=n@entry=829992, row_lengths=...) at
> > /deal_II/dealii-8.3.0/source/lac/sparsity_pattern.cc:369
> > 369 std::fill_n (&colnums[0], vec_len, invalid_entry);
> >
> > How can I check if this error is due to the memory shortage or not?
> We need to see the entire backtrace. One line is not enough to
> understand what's happening.
>
> Best,
>
> Bruno
>
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.