Re: [deal.II] Re: CMake extra libraries?

2017-07-13 Thread Bruno Turcksin
Victor, I have never seen anything like that before :-/ The only thing I found is this (very) old thread without a reply https://cmake.org/pipermail/cmake/2006-April/008893.html Someone got a similar problem than yours when updating cmake. So maybe try another version of cmake. Best, Bruno --

Re: [deal.II] Re: CMake extra libraries?

2017-07-13 Thread Victor Eijkhout
PS where it actually crashes is this: Dependee "/opt/apps/intel17/boost/1.64/include/boost/visit_each.hpp" does not exist for depender "source/numerics/CMakeFiles/obj_numerics_release.dir/vector_tools_rhs.cc.o". Dependee "/opt/apps/intel17/boost/1.64/include/boost/weak_ptr.hpp" does not

Re: [deal.II] Re: CMake extra libraries?

2017-07-13 Thread Victor Eijkhout
Our boost was broken. Having repaired it, I get the following: [ 36%] Built target obj_numerics_inst make -f source/numerics/CMakeFiles/obj_numerics_release.dir/build.make source/numerics/CMakeFiles/obj_numerics_release.dir/depend make[2]: Entering directory `/tmp/dealii-build' cd /tmp/dealii-

Re: [deal.II] segmentation fault when calling make_vectorized_array

2017-07-13 Thread Denis Davydov
Thanks a lot for your help, Martin! Cheers, Denis > On 13 Jul 2017, at 11:02, Martin Kronbichler > wrote: > > Hi Denis, > >> While on the topic of alignment, do I need to be more careful about using >> >> template >> struct QPData >> { >>Table<2, VectorizedArray > values; >> } >> QPData

Re: [deal.II] segmentation fault when calling make_vectorized_array

2017-07-13 Thread Martin Kronbichler
Hi Denis, > While on the topic of alignment, do I need to be more careful about using > > template > structQPData > { >Table<2, VectorizedArray > values; > } > QPData qp_data; > > as a member variable in my class? Table is fine because it is based on AlignedVector, so it will use the correct

Re: [deal.II] segmentation fault when calling make_vectorized_array

2017-07-13 Thread Denis Davydov
Hi Martin, > On 13 Jul 2017, at 09:13, Martin Kronbichler > wrote: > >> >> no, it's just a member variable VectorizedArray: >> >> VectorizedArray a; > > But then the class/struct that holds this member variable is not properly > aligned, you probably have it inside an std::vector or alloca

Re: [deal.II] segmentation fault when calling make_vectorized_array

2017-07-13 Thread Martin Kronbichler
Hi Denis, no, it's just a member variable VectorizedArray: VectorizedArray a; But then the class/struct that holds this member variable is not properly aligned, you probably have it inside an std::vector or allocated it with 'new'. You will need to put it into an AlignedVector or similar