Dear spack community,
I'm currently trying to install dea...@9.2.0 on our
hpc cluster (Centos 7) using spack. While trying to install it using the
'releases/v0.15' branch, I faced a similar problem as reported in
(
https://groups.google.com/g/dealii/c/sFomyyf7lAU/m/yV0B-oWxBwAJ) and
could workaround by setting ''-DDEAL_II_COMPONENT_EXAMPLES=OFF’' .
Now
the installation runs fine and I can compile and run step-1 of the
tutorials for example. As soon as I'm trying to compile my own code,
there are errors with the boost package:
CMakeFiles/NonlinHeat_RK_2Stage_SubCycling_LineInput_MPI.dir/NonlinHeat_RK_2Stage_SubCycling_LineInput_MPI.cc.o:NonlinHeat_RK_2Stage_SubCycling_LineInput_MPI.cc:function
boost::archive::detail::common_oarchive<boost::archive::text_oarchive>::vsave(boost::archive::class_name_type
const&): error: undefined reference to
'boost::archive::text_oarchive_impl<boost::archive::text_oarchive>::save(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >
const&)'
CMakeFiles/NonlinHeat_RK_2Stage_SubCycling_LineInput_MPI.dir/NonlinHeat_RK_2Stage_SubCycling_LineInput_MPI.cc.o:NonlinHeat_RK_2Stage_SubCycling_LineInput_MPI.cc:function
void
boost::serialization::throw_exception<boost::archive::archive_exception>(boost::archive::archive_exception
const&): error: undefined reference to
'boost::archive::archive_exception::archive_exception(boost::archive::archive_exception
const&)'
I tried different other boost versions (1.59.0 / 1.62.0 / 1.63.0 / 1.67.0 / 1.73.0 ) and always had the same outcome.
Am I missing something here? I would appreciate any help and thank you in advance.
Christian