[aspect-devel] error: static assertion failed with "typex::value"

Timo Heister heister at clemson.edu
Tue Jul 25 12:05:51 PDT 2017


Lev,

the intel compiler chokes on the boost serialization. I don't see an
obvious problem in our code here. Suggestions:
1. We are not testing very much on intel compilers. So even if it
compiles and runs, I have no confidence that it will produce correct
results. Can you use gcc instead? If not, a newer intel compiler?
2. Can you try a newer boost version?
3. You could disable hdf5 in deal.II and cross your fingers that this
works. You could start by commenting out the offending lines in
source/particle/output/hdf5.cc to see if other places are a problem
too.

On Tue, Jul 25, 2017 at 2:38 PM, Lev Karatun <lev.karatun at gmail.com> wrote:
> Hi,
>
> I'm getting an error when trying to compile Aspect (a 5 days old version
> from github - 42496a9). If someone could help me fix it, I would appreciate
> it.
>
>>> [lkaratun at gra-login1 aspect]$ make
>>>
>>> [  0%] Building CXX object
>>> CMakeFiles/aspect.dir/source/particle/output/hdf5.cc.o
>>>
>>>
>>> /cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/check.hpp(162):
>>> error: static assertion failed with "typex::value"
>>>
>>>       BOOST_STATIC_ASSERT(typex::value);
>>>
>>>       ^
>>>
>>>           detected during:
>>>
>>>             instantiation of "void
>>> boost::archive::detail::check_const_loading<T>() [with T=const bool]" at
>>> line 613 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/iserializer.hpp"
>>>
>>>             instantiation of "void boost::archive::load(Archive &, T &)
>>> [with Archive=boost::archive::binary_iarchive, T=const bool]" at line 66 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/common_iarchive.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::detail::common_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive, T=const bool]" at line 75 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/basic_binary_iarchive.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::basic_binary_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive, T=const bool]" at line 58 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/binary_iarchive_impl.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::binary_iarchive_impl<Archive, Elem, Tr>::load_override(T &)
>>> [with Archive=boost::archive::binary_iarchive, Elem=char,
>>> Tr=std::char_traits<char>, T=const bool]" at line 68 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/interface_iarchive.hpp"
>>>
>>>             [ 68 instantiation contexts not shown ]
>>>
>>>             instantiation of "void
>>> boost::archive::detail::common_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 75 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/basic_binary_iarchive.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::basic_binary_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 58 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/binary_iarchive_impl.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::binary_iarchive_impl<Archive, Elem, Tr>::load_override(T &)
>>> [with Archive=boost::archive::binary_iarchive, Elem=char,
>>> Tr=std::char_traits<char>, T=aspect::Particle::Output::HDF5Output<2>]" at
>>> line 68 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/interface_iarchive.hpp"
>>>
>>>             instantiation of "Archive
>>> &boost::archive::detail::interface_iarchive<Archive>::operator>>(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 328 of
>>> "/home/lkaratun/aspect/aspect/source/particle/output/hdf5.cc"
>>>
>>>             instantiation of "void
>>> aspect::Particle::Output::HDF5Output<dim>::load(std::istringstream &) [with
>>> dim=2]" at line 343 of
>>> "/home/lkaratun/aspect/aspect/source/particle/output/hdf5.cc"
>>>
>>>
>>>
>>> /cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/basic_binary_iprimitive.hpp(92):
>>> error: argument of type "const bool *" is incompatible with parameter of
>>> type "void *"
>>>
>>>           load_binary(& t, sizeof(T));
>>>
>>>                       ^
>>>
>>>           detected during:
>>>
>>>             instantiation of "void
>>> boost::archive::basic_binary_iprimitive<Archive, Elem, Tr>::load(T &) [with
>>> Archive=boost::archive::binary_iarchive, Elem=char,
>>> Tr=std::char_traits<char>, T=const bool]" at line 108 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/iserializer.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::load_access::load_primitive(Archive &, T &) [with
>>> Archive=boost::archive::binary_iarchive, T=const bool]" at line 395 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/iserializer.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::detail::load_non_pointer_type<Archive>::load_primitive::invoke(Archive
>>> &, T &) [with Archive=boost::archive::binary_iarchive, T=const bool]" at
>>> line 472 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/iserializer.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::detail::load_non_pointer_type<Archive>::invoke(Archive &, T
>>> &) [with Archive=boost::archive::binary_iarchive, T=const bool]" at line 628
>>> of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/iserializer.hpp"
>>>
>>>             instantiation of "void boost::archive::load(Archive &, T &)
>>> [with Archive=boost::archive::binary_iarchive, T=const bool]" at line 66 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/common_iarchive.hpp"
>>>
>>>             [ 71 instantiation contexts not shown ]
>>>
>>>             instantiation of "void
>>> boost::archive::detail::common_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 75 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/basic_binary_iarchive.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::basic_binary_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 58 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/binary_iarchive_impl.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::binary_iarchive_impl<Archive, Elem, Tr>::load_override(T &)
>>> [with Archive=boost::archive::binary_iarchive, Elem=char,
>>> Tr=std::char_traits<char>, T=aspect::Particle::Output::HDF5Output<2>]" at
>>> line 68 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/interface_iarchive.hpp"
>>>
>>>             instantiation of "Archive
>>> &boost::archive::detail::interface_iarchive<Archive>::operator>>(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 328 of
>>> "/home/lkaratun/aspect/aspect/source/particle/output/hdf5.cc"
>>>
>>>             instantiation of "void
>>> aspect::Particle::Output::HDF5Output<dim>::load(std::istringstream &) [with
>>> dim=2]" at line 343 of
>>> "/home/lkaratun/aspect/aspect/source/particle/output/hdf5.cc"
>>>
>>>
>>>
>>> /cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/check.hpp(162):
>>> error: static assertion failed with "typex::value"
>>>
>>>       BOOST_STATIC_ASSERT(typex::value);
>>>
>>>       ^
>>>
>>>           detected during:
>>>
>>>             instantiation of "void
>>> boost::archive::detail::check_const_loading<T>() [with T=const
>>> std::__cxx11::string]" at line 613 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/iserializer.hpp"
>>>
>>>             instantiation of "void boost::archive::load(Archive &, T &)
>>> [with Archive=boost::archive::binary_iarchive, T=const
>>> std::__cxx11::string]" at line 66 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/common_iarchive.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::detail::common_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive, T=const std::__cxx11::string]" at
>>> line 75 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/basic_binary_iarchive.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::basic_binary_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive, T=const std::__cxx11::string]" at
>>> line 58 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/binary_iarchive_impl.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::binary_iarchive_impl<Archive, Elem, Tr>::load_override(T &)
>>> [with Archive=boost::archive::binary_iarchive, Elem=char,
>>> Tr=std::char_traits<char>, T=const std::__cxx11::string]" at line 68 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/interface_iarchive.hpp"
>>>
>>>             [ 68 instantiation contexts not shown ]
>>>
>>>             instantiation of "void
>>> boost::archive::detail::common_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 75 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/basic_binary_iarchive.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::basic_binary_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 58 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/binary_iarchive_impl.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::binary_iarchive_impl<Archive, Elem, Tr>::load_override(T &)
>>> [with Archive=boost::archive::binary_iarchive, Elem=char,
>>> Tr=std::char_traits<char>, T=aspect::Particle::Output::HDF5Output<2>]" at
>>> line 68 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/interface_iarchive.hpp"
>>>
>>>             instantiation of "Archive
>>> &boost::archive::detail::interface_iarchive<Archive>::operator>>(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 328 of
>>> "/home/lkaratun/aspect/aspect/source/particle/output/hdf5.cc"
>>>
>>>             instantiation of "void
>>> aspect::Particle::Output::HDF5Output<dim>::load(std::istringstream &) [with
>>> dim=2]" at line 343 of
>>> "/home/lkaratun/aspect/aspect/source/particle/output/hdf5.cc"
>>>
>>>
>>>
>>> /cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/basic_binary_iprimitive.hpp(92):
>>> error: argument of type "const std::__cxx11::string *" is incompatible with
>>> parameter of type "void *"
>>>
>>>           load_binary(& t, sizeof(T));
>>>
>>>                       ^
>>>
>>>           detected during:
>>>
>>>             instantiation of "void
>>> boost::archive::basic_binary_iprimitive<Archive, Elem, Tr>::load(T &) [with
>>> Archive=boost::archive::binary_iarchive, Elem=char,
>>> Tr=std::char_traits<char>, T=const std::__cxx11::string]" at line 108 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/iserializer.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::load_access::load_primitive(Archive &, T &) [with
>>> Archive=boost::archive::binary_iarchive, T=const std::__cxx11::string]" at
>>> line 395 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/iserializer.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::detail::load_non_pointer_type<Archive>::load_primitive::invoke(Archive
>>> &, T &) [with Archive=boost::archive::binary_iarchive, T=const
>>> std::__cxx11::string]" at line 472 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/iserializer.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::detail::load_non_pointer_type<Archive>::invoke(Archive &, T
>>> &) [with Archive=boost::archive::binary_iarchive, T=const
>>> std::__cxx11::string]" at line 628 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/iserializer.hpp"
>>>
>>>             instantiation of "void boost::archive::load(Archive &, T &)
>>> [with Archive=boost::archive::binary_iarchive, T=const
>>> std::__cxx11::string]" at line 66 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/common_iarchive.hpp"
>>>
>>>             [ 71 instantiation contexts not shown ]
>>>
>>>             instantiation of "void
>>> boost::archive::detail::common_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 75 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/basic_binary_iarchive.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::basic_binary_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 58 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/binary_iarchive_impl.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::binary_iarchive_impl<Archive, Elem, Tr>::load_override(T &)
>>> [with Archive=boost::archive::binary_iarchive, Elem=char,
>>> Tr=std::char_traits<char>, T=aspect::Particle::Output::HDF5Output<2>]" at
>>> line 68 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/interface_iarchive.hpp"
>>>
>>>             instantiation of "Archive
>>> &boost::archive::detail::interface_iarchive<Archive>::operator>>(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 328 of
>>> "/home/lkaratun/aspect/aspect/source/particle/output/hdf5.cc"
>>>
>>>             instantiation of "void
>>> aspect::Particle::Output::HDF5Output<dim>::load(std::istringstream &) [with
>>> dim=2]" at line 343 of
>>> "/home/lkaratun/aspect/aspect/source/particle/output/hdf5.cc"
>>>
>>>
>>>
>>> /cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/check.hpp(162):
>>> error: static assertion failed with "typex::value"
>>>
>>>       BOOST_STATIC_ASSERT(typex::value);
>>>
>>>       ^
>>>
>>>           detected during:
>>>
>>>             instantiation of "void
>>> boost::archive::detail::check_const_loading<T>() [with T=const double]" at
>>> line 613 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/iserializer.hpp"
>>>
>>>             instantiation of "void boost::archive::load(Archive &, T &)
>>> [with Archive=boost::archive::binary_iarchive, T=const double]" at line 66
>>> of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/common_iarchive.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::detail::common_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive, T=const double]" at line 75 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/basic_binary_iarchive.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::basic_binary_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive, T=const double]" at line 58 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/binary_iarchive_impl.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::binary_iarchive_impl<Archive, Elem, Tr>::load_override(T &)
>>> [with Archive=boost::archive::binary_iarchive, Elem=char,
>>> Tr=std::char_traits<char>, T=const double]" at line 68 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/interface_iarchive.hpp"
>>>
>>>             [ 68 instantiation contexts not shown ]
>>>
>>>             instantiation of "void
>>> boost::archive::detail::common_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 75 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/basic_binary_iarchive.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::basic_binary_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 58 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/binary_iarchive_impl.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::binary_iarchive_impl<Archive, Elem, Tr>::load_override(T &)
>>> [with Archive=boost::archive::binary_iarchive, Elem=char,
>>> Tr=std::char_traits<char>, T=aspect::Particle::Output::HDF5Output<2>]" at
>>> line 68 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/interface_iarchive.hpp"
>>>
>>>             instantiation of "Archive
>>> &boost::archive::detail::interface_iarchive<Archive>::operator>>(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 328 of
>>> "/home/lkaratun/aspect/aspect/source/particle/output/hdf5.cc"
>>>
>>>             instantiation of "void
>>> aspect::Particle::Output::HDF5Output<dim>::load(std::istringstream &) [with
>>> dim=2]" at line 343 of
>>> "/home/lkaratun/aspect/aspect/source/particle/output/hdf5.cc"
>>>
>>>
>>>
>>> /cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/basic_binary_iprimitive.hpp(92):
>>> error: argument of type "const double *" is incompatible with parameter of
>>> type "void *"
>>>
>>>           load_binary(& t, sizeof(T));
>>>
>>>                       ^
>>>
>>>           detected during:
>>>
>>>             instantiation of "void
>>> boost::archive::basic_binary_iprimitive<Archive, Elem, Tr>::load(T &) [with
>>> Archive=boost::archive::binary_iarchive, Elem=char,
>>> Tr=std::char_traits<char>, T=const double]" at line 108 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/iserializer.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::load_access::load_primitive(Archive &, T &) [with
>>> Archive=boost::archive::binary_iarchive, T=const double]" at line 395 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/iserializer.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::detail::load_non_pointer_type<Archive>::load_primitive::invoke(Archive
>>> &, T &) [with Archive=boost::archive::binary_iarchive, T=const double]" at
>>> line 472 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/iserializer.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::detail::load_non_pointer_type<Archive>::invoke(Archive &, T
>>> &) [with Archive=boost::archive::binary_iarchive, T=const double]" at line
>>> 628 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/iserializer.hpp"
>>>
>>>             instantiation of "void boost::archive::load(Archive &, T &)
>>> [with Archive=boost::archive::binary_iarchive, T=const double]" at line 66
>>> of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/common_iarchive.hpp"
>>>
>>>             [ 71 instantiation contexts not shown ]
>>>
>>>             instantiation of "void
>>> boost::archive::detail::common_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 75 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/basic_binary_iarchive.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::basic_binary_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 58 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/binary_iarchive_impl.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::binary_iarchive_impl<Archive, Elem, Tr>::load_override(T &)
>>> [with Archive=boost::archive::binary_iarchive, Elem=char,
>>> Tr=std::char_traits<char>, T=aspect::Particle::Output::HDF5Output<2>]" at
>>> line 68 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/interface_iarchive.hpp"
>>>
>>>             instantiation of "Archive
>>> &boost::archive::detail::interface_iarchive<Archive>::operator>>(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 328 of
>>> "/home/lkaratun/aspect/aspect/source/particle/output/hdf5.cc"
>>>
>>>             instantiation of "void
>>> aspect::Particle::Output::HDF5Output<dim>::load(std::istringstream &) [with
>>> dim=2]" at line 343 of
>>> "/home/lkaratun/aspect/aspect/source/particle/output/hdf5.cc"
>>>
>>>
>>>
>>> /cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/check.hpp(162):
>>> error: static assertion failed with "typex::value"
>>>
>>>       BOOST_STATIC_ASSERT(typex::value);
>>>
>>>       ^
>>>
>>>           detected during:
>>>
>>>             instantiation of "void
>>> boost::archive::detail::check_const_loading<T>() [with T=const unsigned
>>> int]" at line 613 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/iserializer.hpp"
>>>
>>>             instantiation of "void boost::archive::load(Archive &, T &)
>>> [with Archive=boost::archive::binary_iarchive, T=const unsigned int]" at
>>> line 66 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/common_iarchive.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::detail::common_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive, T=const unsigned int]" at line 75
>>> of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/basic_binary_iarchive.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::basic_binary_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive, T=const unsigned int]" at line 58
>>> of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/binary_iarchive_impl.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::binary_iarchive_impl<Archive, Elem, Tr>::load_override(T &)
>>> [with Archive=boost::archive::binary_iarchive, Elem=char,
>>> Tr=std::char_traits<char>, T=const unsigned int]" at line 68 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/interface_iarchive.hpp"
>>>
>>>             [ 68 instantiation contexts not shown ]
>>>
>>>             instantiation of "void
>>> boost::archive::detail::common_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 75 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/basic_binary_iarchive.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::basic_binary_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 58 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/binary_iarchive_impl.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::binary_iarchive_impl<Archive, Elem, Tr>::load_override(T &)
>>> [with Archive=boost::archive::binary_iarchive, Elem=char,
>>> Tr=std::char_traits<char>, T=aspect::Particle::Output::HDF5Output<2>]" at
>>> line 68 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/interface_iarchive.hpp"
>>>
>>>             instantiation of "Archive
>>> &boost::archive::detail::interface_iarchive<Archive>::operator>>(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 328 of
>>> "/home/lkaratun/aspect/aspect/source/particle/output/hdf5.cc"
>>>
>>>             instantiation of "void
>>> aspect::Particle::Output::HDF5Output<dim>::load(std::istringstream &) [with
>>> dim=2]" at line 343 of
>>> "/home/lkaratun/aspect/aspect/source/particle/output/hdf5.cc"
>>>
>>>
>>>
>>> /cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/basic_binary_iprimitive.hpp(92):
>>> error: argument of type "const unsigned int *" is incompatible with
>>> parameter of type "void *"
>>>
>>>           load_binary(& t, sizeof(T));
>>>
>>>                       ^
>>>
>>>           detected during:
>>>
>>>             instantiation of "void
>>> boost::archive::basic_binary_iprimitive<Archive, Elem, Tr>::load(T &) [with
>>> Archive=boost::archive::binary_iarchive, Elem=char,
>>> Tr=std::char_traits<char>, T=const unsigned int]" at line 108 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/iserializer.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::load_access::load_primitive(Archive &, T &) [with
>>> Archive=boost::archive::binary_iarchive, T=const unsigned int]" at line 395
>>> of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/iserializer.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::detail::load_non_pointer_type<Archive>::load_primitive::invoke(Archive
>>> &, T &) [with Archive=boost::archive::binary_iarchive, T=const unsigned
>>> int]" at line 472 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/iserializer.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::detail::load_non_pointer_type<Archive>::invoke(Archive &, T
>>> &) [with Archive=boost::archive::binary_iarchive, T=const unsigned int]" at
>>> line 628 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/iserializer.hpp"
>>>
>>>             instantiation of "void boost::archive::load(Archive &, T &)
>>> [with Archive=boost::archive::binary_iarchive, T=const unsigned int]" at
>>> line 66 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/common_iarchive.hpp"
>>>
>>>             [ 71 instantiation contexts not shown ]
>>>
>>>             instantiation of "void
>>> boost::archive::detail::common_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 75 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/basic_binary_iarchive.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::basic_binary_iarchive<Archive>::load_override(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 58 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/binary_iarchive_impl.hpp"
>>>
>>>             instantiation of "void
>>> boost::archive::binary_iarchive_impl<Archive, Elem, Tr>::load_override(T &)
>>> [with Archive=boost::archive::binary_iarchive, Elem=char,
>>> Tr=std::char_traits<char>, T=aspect::Particle::Output::HDF5Output<2>]" at
>>> line 68 of
>>> "/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/intel2016.4/boost/1.60.0/include/boost/archive/detail/interface_iarchive.hpp"
>>>
>>>             instantiation of "Archive
>>> &boost::archive::detail::interface_iarchive<Archive>::operator>>(T &) [with
>>> Archive=boost::archive::binary_iarchive,
>>> T=aspect::Particle::Output::HDF5Output<2>]" at line 328 of
>>> "/home/lkaratun/aspect/aspect/source/particle/output/hdf5.cc"
>>>
>>>             instantiation of "void
>>> aspect::Particle::Output::HDF5Output<dim>::load(std::istringstream &) [with
>>> dim=2]" at line 343 of
>>> "/home/lkaratun/aspect/aspect/source/particle/output/hdf5.cc"
>>>
>>>
>>> compilation aborted for
>>> /home/lkaratun/aspect/aspect/source/particle/output/hdf5.cc (code 2)
>>>
>>> make[2]: *** [CMakeFiles/aspect.dir/build.make:3279:
>>> CMakeFiles/aspect.dir/source/particle/output/hdf5.cc.o] Error 2
>>>
>>> make[1]: *** [CMakeFiles/Makefile2:292: CMakeFiles/aspect.dir/all] Error
>>> 2
>>>
>>> make: *** [Makefile:117: all] Error 2
>>
>>
>
> Best regards,
> Lev Karatun.
>
> _______________________________________________
> Aspect-devel mailing list
> Aspect-devel at geodynamics.org
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.geodynamics.org_cgi-2Dbin_mailman_listinfo_aspect-2Ddevel&d=DwIGaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=R5lvg9JC99XvuTgScgbY_QFS80R7PEA2q0EPwDy7VQw&m=055YmhdoBKqutQROD5MhQI4Ab2h_q-Mgq0LM6dhOYbQ&s=_W4ttd83-gZB9bGvDZzkJ2PC4WGeWV8EbScfI2X9r0k&e=



-- 
Timo Heister
http://www.math.clemson.edu/~heister/


More information about the Aspect-devel mailing list