On 10/10/2018 06:52 AM, Hans Peter Verne wrote:
>
> /usr/include/tbb/concurrent_vector.h: In member function
> ‘tbb::concurrent_vector<T, A>::iterator tbb::concurrent_vector<T,
> A>::grow_by(tbb::concurrent_vector<T, A>::size_type)’:
> /usr/include/tbb/concurrent_vector.h:667:38: error: operands to ?: have
> different types ‘tbb::internal::concurrent_vector_base_v3::size_type
> {aka long unsigned int}’ and ‘tbb::atomic<long unsigned int>’
> return iterator(*this, delta ? internal_grow_by( delta,
> sizeof(T), &initialize_array, NULL ) : my_early_size);
I don't know the exact context, but have seen this error before. The
problem is that the TBB you have installed on your system can no longer
be compiled by the compiler (GCC 7.2) you are using. Thinking about it
some more, the details are all here:
https://github.com/dealii/dealii/issues/6711
In newer versions of deal.II, we just blacklist the version of the TBB
installed on the system and fall back on the one in bundled/. The patch
to do this is in
https://github.com/dealii/dealii/pull/6793
I believe that you can *force* the cmake script to use the bundled
version of TBB over the one on your system. I forgot the flag, but you
may be able to find it in the doc/readme.html file.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.colostate.edu/~bangerth/
--
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].
For more options, visit https://groups.google.com/d/optout.