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?


On Monday, March 14, 2016 at 8:17:35 PM UTC+1, Guido Kanschat wrote:
>
> Did you run in debug mode?
>
> On Mon, Mar 7, 2016 at 6:24 AM, Wolfgang Bangerth <[email protected] 
> <javascript:>> wrote:
>
>> On 03/07/2016 05:07 AM, Ehsan wrote:
>>
>>>
>>>
>>> I checked CPU and memory usage and when the code crashes, it only uses 
>>> 0.2 of
>>> total available memory and 0.05 of total allocated CPUs.
>>> So it has plenty of memory and CPU to use.
>>>
>>> I don't think this error relates to insufficient memory.
>>>
>>
>> It's hard to tell. Can you run the program in a debugger and get a 
>> backtrace to see where the problem happens?
>>
>> Best
>>  W.
>>
>> -- 
>> ------------------------------------------------------------------------
>> Wolfgang Bangerth               email:            [email protected] 
>> <javascript:>
>>                                 www: http://www.math.tamu.edu/~bangerth/
>>
>>
>> -- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Prof. Dr. Guido Kanschat
> Interdisziplinäres Zentrum für Wissenschaftliches Rechnen
> Universität Heidelberg
> Im Neuenheimer Feld 368, 69120 Heidelberg
>

-- 
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.

Reply via email to