Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2014
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.10 KB | None | 0 0
  1. ==2432== Memcheck, a memory error detector
  2. ==2432== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
  3. ==2432== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
  4. ==2432== Command: debug/type.complex.linalg.tie.symeig.debug
  5. ==2432==
  6. Architecture: simd_emulation_16
  7. Site: boost::dispatch::tag::cpu_
  8. --------------------------------------------------------------------------------
  9.  
  10. Running: symeig_no_1i_test
  11. --------------------------------------------------------------------------------
  12. With T = [double]
  13. 11 nt2::tie(d, v) = nt2::symeig(b);
  14. * Test `b == nt2::mtimes(v, nt2::mtimes(d, nt2::trans(v)))` **passed**
  15. with a maximum ULP distance of 2.5 within a 10 ULP tolerance.
  16.  
  17. 12 w = nt2::symeig(b);
  18. ==2432== Invalid write of size 8
  19. ==2432== at 0x446B366: zhetd2_ (in /usr/lib/liblapack.so.3.4.2)
  20. ==2432== by 0x446D9CF: zhetrd_ (in /usr/lib/liblapack.so.3.4.2)
  21. ==2432== by 0x4462B18: zheev_ (in /usr/lib/liblapack.so.3.4.2)
  22. ==2432== by 0x897AA52: nt2::ext::implement<nt2::tag::hsev_w_ (boost::dispatch::meta::container_<nt2::tag::table_, boost::dispatch::meta::complex_<boost::dispatch::meta::double_<nt2::memory::container<nt2::tag::table_, std::complex<double>, nt2::settings ()> > >, nt2::settings ()>, boost::dispatch::meta::container_<nt2::tag::table_, boost::dispatch::meta::double_<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()> >, nt2::settings ()>, boost::dispatch::meta::scalar_<boost::dispatch::meta::ints8_<char> >, boost::dispatch::meta::unspecified_<nt2::details::workspace<std::complex<double> > >), boost::dispatch::tag::cpu_, void>::operator()(nt2::memory::container<nt2::tag::table_, std::complex<double>, nt2::settings ()>&, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&, char, nt2::details::workspace<std::complex<double> >&) const (hsev_w.hpp:247)
  23. ==2432== by 0x897419F: boost::dispatch::meta::result_of<boost::dispatch::meta::dispatch_call<nt2::tag::hsev_w_ (nt2::memory::container<nt2::tag::table_, std::complex<double>, nt2::settings ()>&, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&, char, nt2::details::workspace<std::complex<double> >&), void>::type (nt2::memory::container<nt2::tag::table_, std::complex<double>, nt2::settings ()>&, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&, char, nt2::details::workspace<std::complex<double> >&), void>::type nt2::hsev_w<nt2::memory::container<nt2::tag::table_, std::complex<double>, nt2::settings ()>, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>, char, nt2::details::workspace<std::complex<double> > >(nt2::memory::container<nt2::tag::table_, std::complex<double>, nt2::settings ()>&, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&, char, nt2::details::workspace<std::complex<double> >&) (hsev_w.hpp:44)
  24. ==2432== by 0x896EB44: nt2::ext::implement<nt2::tag::hsev_w_ (boost::dispatch::meta::container_<nt2::tag::table_, boost::dispatch::meta::complex_<boost::dispatch::meta::double_<nt2::memory::container<nt2::tag::table_, std::complex<double>, nt2::settings ()> > >, nt2::settings ()>, boost::dispatch::meta::container_<nt2::tag::table_, boost::dispatch::meta::double_<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()> >, nt2::settings ()>, boost::dispatch::meta::scalar_<boost::dispatch::meta::ints8_<char> >), boost::dispatch::tag::cpu_, void>::operator()(nt2::memory::container<nt2::tag::table_, std::complex<double>, nt2::settings ()>&, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&, char) const (hsev_w.hpp:220)
  25. ==2432== by 0x89652B7: boost::dispatch::meta::result_of<boost::dispatch::meta::dispatch_call<nt2::tag::hsev_w_ (nt2::memory::container<nt2::tag::table_, std::complex<double>, nt2::settings ()>&, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&, char), void>::type (nt2::memory::container<nt2::tag::table_, std::complex<double>, nt2::settings ()>&, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&, char), void>::type nt2::hsev_w<nt2::memory::container<nt2::tag::table_, std::complex<double>, nt2::settings ()>, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>, char>(nt2::memory::container<nt2::tag::table_, std::complex<double>, nt2::settings ()>&, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&, char) (hsev_w.hpp:39)
  26. ==2432== by 0x895C8E5: nt2::ext::implement<nt2::tag::symeig_ (boost::dispatch::meta::node_<nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::symeig_, boost::proto::argsns_::list1<nt2::container::view<nt2::tag::table_, std::complex<double> const, nt2::settings ()> >, 1l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings (nt2::of_size_<-1, -1, -1, -1>)> > const, nt2::tag::symeig_, mpl_::long_<1l>, nt2::container::domain>, boost::dispatch::meta::node_<nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::tie_, boost::proto::argsns_::list1<nt2::container::expression<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&>, 0l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> >, 1l>, boost::fusion::vector1<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> > const, nt2::tag::tie_, mpl_::long_<1l>, nt2::container::domain>), boost::dispatch::tag::cpu_, void>::eval1_3(nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::symeig_, boost::proto::argsns_::list1<nt2::container::view<nt2::tag::table_, std::complex<double> const, nt2::settings ()> >, 1l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings (nt2::of_size_<-1, -1, -1, -1>)> > const&, nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::tie_, boost::proto::argsns_::list1<nt2::container::expression<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&>, 0l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> >, 1l>, boost::fusion::vector1<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> > const&, nt2::policy<nt2::ext::vector_> const&, nt2::policy<nt2::ext::upper_> const&) const (symeig.hpp:227)
  27. ==2432== by 0x895018C: nt2::ext::implement<nt2::tag::symeig_ (boost::dispatch::meta::node_<nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::symeig_, boost::proto::argsns_::list1<nt2::container::view<nt2::tag::table_, std::complex<double> const, nt2::settings ()> >, 1l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings (nt2::of_size_<-1, -1, -1, -1>)> > const, nt2::tag::symeig_, mpl_::long_<1l>, nt2::container::domain>, boost::dispatch::meta::node_<nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::tie_, boost::proto::argsns_::list1<nt2::container::expression<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&>, 0l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> >, 1l>, boost::fusion::vector1<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> > const, nt2::tag::tie_, mpl_::long_<1l>, nt2::container::domain>), boost::dispatch::tag::cpu_, void>::eval(nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::symeig_, boost::proto::argsns_::list1<nt2::container::view<nt2::tag::table_, std::complex<double> const, nt2::settings ()> >, 1l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings (nt2::of_size_<-1, -1, -1, -1>)> > const&, nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::tie_, boost::proto::argsns_::list1<nt2::container::expression<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&>, 0l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> >, 1l>, boost::fusion::vector1<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> > const&, mpl_::long_<1l> const&, mpl_::long_<1l> const&) const (symeig.hpp:113)
  28. ==2432== by 0x8947148: nt2::ext::implement<nt2::tag::symeig_ (boost::dispatch::meta::node_<nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::symeig_, boost::proto::argsns_::list1<nt2::container::view<nt2::tag::table_, std::complex<double> const, nt2::settings ()> >, 1l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings (nt2::of_size_<-1, -1, -1, -1>)> > const, nt2::tag::symeig_, mpl_::long_<1l>, nt2::container::domain>, boost::dispatch::meta::node_<nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::tie_, boost::proto::argsns_::list1<nt2::container::expression<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&>, 0l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> >, 1l>, boost::fusion::vector1<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> > const, nt2::tag::tie_, mpl_::long_<1l>, nt2::container::domain>), boost::dispatch::tag::cpu_, void>::operator()(nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::symeig_, boost::proto::argsns_::list1<nt2::container::view<nt2::tag::table_, std::complex<double> const, nt2::settings ()> >, 1l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings (nt2::of_size_<-1, -1, -1, -1>)> > const&, nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::tie_, boost::proto::argsns_::list1<nt2::container::expression<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&>, 0l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> >, 1l>, boost::fusion::vector1<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> > const&) const (symeig.hpp:101)
  29. ==2432== by 0x893F30E: boost::dispatch::functor<nt2::tag::symeig_, boost::dispatch::tag::cpu_>::result<boost::dispatch::functor<nt2::tag::symeig_, boost::dispatch::tag::cpu_> (nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::symeig_, boost::proto::argsns_::list1<nt2::container::view<nt2::tag::table_, std::complex<double> const, nt2::settings ()> >, 1l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings (nt2::of_size_<-1, -1, -1, -1>)> > const&, nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::tie_, boost::proto::argsns_::list1<nt2::container::expression<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&>, 0l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> >, 1l>, boost::fusion::vector1<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> > const&)>::type boost::dispatch::functor<nt2::tag::symeig_, boost::dispatch::tag::cpu_>::operator()<nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::symeig_, boost::proto::argsns_::list1<nt2::container::view<nt2::tag::table_, std::complex<double> const, nt2::settings ()> >, 1l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings (nt2::of_size_<-1, -1, -1, -1>)> >, nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::tie_, boost::proto::argsns_::list1<nt2::container::expression<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&>, 0l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> >, 1l>, boost::fusion::vector1<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> > >(nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::symeig_, boost::proto::argsns_::list1<nt2::container::view<nt2::tag::table_, std::complex<double> const, nt2::settings ()> >, 1l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings (nt2::of_size_<-1, -1, -1, -1>)> > const&, nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::tie_, boost::proto::argsns_::list1<nt2::container::expression<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&>, 0l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> >, 1l>, boost::fusion::vector1<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> > const&) const (functor.hpp:79)
  30. ==2432== by 0x893729E: nt2::ext::implement<boost::simd::tag::run_assign_ (boost::dispatch::meta::node_<nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::tie_, boost::proto::argsns_::list1<nt2::container::expression<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&>, 0l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> >, 1l>, boost::fusion::vector1<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> > const, nt2::tag::tie_, mpl_::long_<1l>, nt2::container::domain>, boost::dispatch::meta::node_<nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::symeig_, boost::proto::argsns_::list1<nt2::container::view<nt2::tag::table_, std::complex<double> const, nt2::settings ()> >, 1l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings (nt2::of_size_<-1, -1, -1, -1>)> > const, boost::dispatch::meta::tieable_<nt2::tag::symeig_>, mpl_::long_<1l>, nt2::container::domain>), boost::dispatch::tag::cpu_, void>::operator()(nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::tie_, boost::proto::argsns_::list1<nt2::container::expression<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&>, 0l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> >, 1l>, boost::fusion::vector1<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> > const&, nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::symeig_, boost::proto::argsns_::list1<nt2::container::view<nt2::tag::table_, std::complex<double> const, nt2::settings ()> >, 1l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings (nt2::of_size_<-1, -1, -1, -1>)> > const&) const (tie.hpp:158)
  31. ==2432== Address 0x4b9b828 is 0 bytes after a block of size 8 alloc'd
  32. ==2432== at 0x4029B6E: memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
  33. ==2432== by 0x4029C55: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
  34. ==2432== by 0x88E5BAE: boost::simd::aligned_malloc(unsigned int, unsigned int) (aligned_malloc.hpp:126)
  35. ==2432== by 0x88E5C17: boost::simd::allocate(unsigned int, unsigned int, std::nothrow_t const&) (allocate.hpp:44)
  36. ==2432== by 0x88E5C39: boost::simd::allocate(unsigned int, unsigned int) (allocate.hpp:51)
  37. ==2432== by 0x88E6529: boost::simd::meta::align_ptr<void, 16u>::type boost::simd::allocate<16u>(unsigned int) (allocate.hpp:89)
  38. ==2432== by 0x892D982: boost::simd::allocator<double, 16u>::allocate(unsigned int, void const*) const (allocator.hpp:91)
  39. ==2432== by 0x89750ED: nt2::memory::buffer<double, boost::simd::allocator<double, 16u> >::buffer(unsigned int, boost::simd::allocator<double, 16u>) (buffer.hpp:93)
  40. ==2432== by 0x896FA21: nt2::details::workspace<std::complex<double> >::workspace() (in /home/nt2/build/nt2_sse42_32bit/debug/type.complex.linalg.tie.symeig.debug)
  41. ==2432== by 0x896EA3D: nt2::ext::implement<nt2::tag::hsev_w_ (boost::dispatch::meta::container_<nt2::tag::table_, boost::dispatch::meta::complex_<boost::dispatch::meta::double_<nt2::memory::container<nt2::tag::table_, std::complex<double>, nt2::settings ()> > >, nt2::settings ()>, boost::dispatch::meta::container_<nt2::tag::table_, boost::dispatch::meta::double_<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()> >, nt2::settings ()>, boost::dispatch::meta::scalar_<boost::dispatch::meta::ints8_<char> >), boost::dispatch::tag::cpu_, void>::operator()(nt2::memory::container<nt2::tag::table_, std::complex<double>, nt2::settings ()>&, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&, char) const (hsev_w.hpp:211)
  42. ==2432== by 0x89652B7: boost::dispatch::meta::result_of<boost::dispatch::meta::dispatch_call<nt2::tag::hsev_w_ (nt2::memory::container<nt2::tag::table_, std::complex<double>, nt2::settings ()>&, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&, char), void>::type (nt2::memory::container<nt2::tag::table_, std::complex<double>, nt2::settings ()>&, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&, char), void>::type nt2::hsev_w<nt2::memory::container<nt2::tag::table_, std::complex<double>, nt2::settings ()>, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>, char>(nt2::memory::container<nt2::tag::table_, std::complex<double>, nt2::settings ()>&, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&, char) (hsev_w.hpp:39)
  43. ==2432== by 0x895C8E5: nt2::ext::implement<nt2::tag::symeig_ (boost::dispatch::meta::node_<nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::symeig_, boost::proto::argsns_::list1<nt2::container::view<nt2::tag::table_, std::complex<double> const, nt2::settings ()> >, 1l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings (nt2::of_size_<-1, -1, -1, -1>)> > const, nt2::tag::symeig_, mpl_::long_<1l>, nt2::container::domain>, boost::dispatch::meta::node_<nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::tie_, boost::proto::argsns_::list1<nt2::container::expression<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&>, 0l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> >, 1l>, boost::fusion::vector1<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> > const, nt2::tag::tie_, mpl_::long_<1l>, nt2::container::domain>), boost::dispatch::tag::cpu_, void>::eval1_3(nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::symeig_, boost::proto::argsns_::list1<nt2::container::view<nt2::tag::table_, std::complex<double> const, nt2::settings ()> >, 1l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings (nt2::of_size_<-1, -1, -1, -1>)> > const&, nt2::container::expression<boost::proto::exprns_::basic_expr<nt2::tag::tie_, boost::proto::argsns_::list1<nt2::container::expression<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&>, 0l>, nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> >, 1l>, boost::fusion::vector1<nt2::memory::container<nt2::tag::table_, double, nt2::settings ()>&> > const&, nt2::policy<nt2::ext::vector_> const&, nt2::policy<nt2::ext::upper_> const&) const (symeig.hpp:227)
  44. ==2432==
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement