Hi Martin,

On Wednesday, July 12, 2017 at 6:05:30 PM UTC+2, Martin Kronbichler wrote:
>
> Hi Denis,
>
> what is a? Is it an element of an array? If yes, is the array of type 
> AlignedVector (or derived from that). 
>

no, it's just a member variable VectorizedArray: 

VectorizedArray<value_type> a;

 

> You get this kind of error when there is a load or store to an address 
> that is not aligned by the size of the vectorized array, 32 bytes in your 
> case. The data types VectorizedArray make the compiler insert 'aligned 
> load/store' type of operations, which cannot always be guaranteed.
>
> Can you try to look at the problem in a debugger, e.g. gdb and post the 
> offending assembler line and a few before that to see the context?
>

here they are:

0x7ffff73913b1 <Operator<3, 2, 3, LA::d::Vector<float> >::Operator()+9>     
   mov    %rdi,%rbx 
   │0x7ffff73913b4 <Operator<3, 2, 3, LA::d::Vector<float> 
>::Operator()+12>       callq  0x7ffff71d1f90 
<_ZN6dealii19MatrixFreeOperators4BaseILi3ENS_13LinearAlgebra11distributed6VectorIfEEEC2Ev@plt
   │0x7ffff73913b9 <Operator<3, 2, 3, LA::d::Vector<float> 
>::Operator()+17>       mov    0x9ecd60(%rip),%rax        # 0x7ffff7d7e120 
     
   │0x7ffff73913c0 <Operator<3, 2, 3, LA::d::Vector<float> 
>::Operator()+24>       lea    0x10(%rax),%rax  
   │0x7ffff73913c4 <Operator<3, 2, 3, LA::d::Vector<float> 
>::Operator()+28>       mov    %rax,(%rbx)      
   │0x7ffff73913c7 <Operator<3, 2, 3, LA::d::Vector<float> 
>::Operator()+31>       vxorps %xmm0,%xmm0,%xmm0
  >│0x7ffff73913cb <Operator<3, 2, 3, LA::d::Vector<float> 
>::Operator()+35>       vmovaps %ymm0,0xe0(%rbx)        
   │0x7ffff73913d3 <Operator<3, 2, 3, LA::d::Vector<float> 
>::Operator()+43>       vmovaps 0x64ffc5(%rip),%ymm0        # 0x7ffff79e13a0
   │0x7ffff73913db <Operator<3, 2, 3, LA::d::Vector<float> 
>::Operator()+51>       vmovaps %ymm0,0x100(%rbx)   
   │0x7ffff73913e3 <Operator<3, 2, 3, LA::d::Vector<float> 
>::Operator()+59>       mov    -0x8(%rbp),%rbx     
   │0x7ffff73913e7 <Operator<3, 2, 3, LA::d::Vector<float> 
>::Operator()+63>       leaveq                       
   │0x7ffff73913e8 <Operator<3, 2, 3, LA::d::Vector<float> 
>::Operator()+64>       retq

(I did a few replacement to ease the readability). Hopefully you can make 
sense out of it. 

Regards,
Denis. 

-- 
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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to