Ehsan,

2016-05-20 9:41 GMT-04:00 Ehsan <[email protected]>:
> it starts to allocate and when it faces the memory shortage it returns the
> error
This is what he does but you may have a hit a bug in deal.II. You have
less than 4 billions degrees of freedom but you try to create a matrix
with more than 4 billions elements and because by default we use
unsigned int in deal.II you get an overflow error and the code does
weird thing. The easy fix is to recompile deal.II with
-DDEAL_II_WITH_64BIT_INDICES=ON then instead of using unsigned int we
use unsigned long long int in the library and you won't get any
overflow problem.

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.

Reply via email to