Hi,
I am able to successfully install deal-ii with petsc, p4est and metis, and
am able to run the examples that use those libraries after the installation
finishes.
And yet, when I try to compile those same examples separately, i.e., if I
copy them to some other path and do, for example:
cd step-2/build
cmake .. -DDEAL_II_DIR=path/to/deal-ii/install
make,
then the compilation fails during the linking phase. A brief snapshot of
the errors is copied below. Please advise, how do I fix this?
*Error message (partial):*
CMakeFiles/step-2.dir/step-2.cc.o:step-2.cc:function
tbb::detail::d1::task_group_context::~task_group_context(): error:
undefined reference to
'tbb::detail::r1::destroy(tbb::detail::d1::task_group_context&)'
CMakeFiles/step-2.dir/step-2.cc.o:step-2.cc:function
tbb::detail::d1::start_for<tbb::detail::d1::blocked_range<unsigned long>,
dealii::parallel::ParallelForInteger::apply_parallel(unsigned long,
unsigned long, unsigned long)
const::{lambda(tbb::detail::d1::blocked_range<unsigned long> const&)#1},
tbb::detail::d1::auto_partitioner
const>::finalize(tbb::detail::d1::execution_data const&): error: undefined r
eference to
'tbb::detail::r1::deallocate(tbb::detail::d1::small_object_pool&, void*,
unsigned long, tbb::detail::d1::execution_data const&)'
CMakeFiles/step-2.dir/step-2.cc.o:step-2.cc:function
tbb::detail::d1::start_for<tbb::detail::d1::blocked_range<unsigned long>,
dealii::parallel::ParallelForInteger::apply_parallel(unsigned long,
unsigned
long, unsigned long) const::{lambda(tbb::detail::d1::blocked_range<unsigned
long> const&)#1}, tbb::detail::d1::auto_partitioner
const>::finalize(tbb::detail::d1::execution_data const&): error: undefined
reference to 'tbb::detail::r1::notify_waiters(unsigned long)'
__________________________________
Thanks, and regards,
Travis
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/CABDhsYkKQpC5pyHK8fFxjkPNNehrGtxOg6v5-T5pLyjgHtGtPw%40mail.gmail.com.