Hi, everyone
I compile the deal.ii-9.3.3 with the intel oneAPI version 2022.1.1.119 
(intel compiler, intel MPI, intel mkl and intel TBB). And I compiled with 
the ReleaseAndDebug version. so in the dir of the installed deal.ii, there 
are examples of step-X.release and step-X.debug. I can run the 
step-9.release and step-9.debug right and get the results, but if I compile 
the step-9.cc like 

mkdir build 
cd build 
cmake ..
 make

there are some error:

In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/tbb_machine.h:117,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/atomic.h:32,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:24,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from 
/home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/tbb_stddef.h:409:14: 
error: expected type-specifier before ‘split’
  409 |     operator split() const { return split(); }
      |              ^~~~~
In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:25,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from 
/home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:139:9: error: 
reference to ‘task_group_context’ is ambiguous
  139 |         task_group_context& my_context;

The detailed error log is attached
It seems that when I compile the step-9 with bundled tbb, but I compile 
dealii with the intel oneAPI TBB actually, and the step-9.release can run 
right. So why is there the error?

Best,
Chen

-- 
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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/80030563-36f8-4afb-be08-547ccabeea6cn%40googlegroups.com.
[ 50%] Building CXX object CMakeFiles/step-9.dir/step-9.cc.o
In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/tbb_machine.h:117,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/atomic.h:32,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:24,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/tbb_stddef.h:409:14: 
error: expected type-specifier before ‘split’
  409 |     operator split() const { return split(); }
      |              ^~~~~
In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:25,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:139:9: error: 
reference to ‘task_group_context’ is ambiguous
  139 |         task_group_context& my_context;
      |         ^~~~~~~~~~~~~~~~~~
In file included from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/partitioner.h:47,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/parallel_for.h:27,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/env/../include/tbb/parallel_for.h:17,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/parallel.h:35,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/aligned_vector.h:25,
                 from /home/tfblab/dealii_9_3_3/include/deal.II/lac/vector.h:22,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:26:
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/task_group.h:167:7: note: 
candidates are: ‘class tbb::detail::d1::task_group_context’
  167 | class task_group_context : no_copy {
      |       ^~~~~~~~~~~~~~~~~~
In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:25,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:35:7: note:        
         ‘class tbb::task_group_context’
   35 | class task_group_context;
      |       ^~~~~~~~~~~~~~~~~~
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:141:62: error: 
expected ‘)’ before ‘&’ token
  141 |         allocate_root_with_context_proxy ( task_group_context& ctx ) : 
my_context(ctx) {}
      |                                          ~                   ^
      |                                                              )
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:203:9: error: 
reference to ‘task_group_context’ is ambiguous
  203 |         task_group_context  *context;
      |         ^~~~~~~~~~~~~~~~~~
In file included from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/partitioner.h:47,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/parallel_for.h:27,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/env/../include/tbb/parallel_for.h:17,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/parallel.h:35,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/aligned_vector.h:25,
                 from /home/tfblab/dealii_9_3_3/include/deal.II/lac/vector.h:22,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:26:
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/task_group.h:167:7: note: 
candidates are: ‘class tbb::detail::d1::task_group_context’
  167 | class task_group_context : no_copy {
      |       ^~~~~~~~~~~~~~~~~~
In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:25,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:35:7: note:        
         ‘class tbb::task_group_context’
   35 | class task_group_context;
      |       ^~~~~~~~~~~~~~~~~~
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:612:70: error: 
reference to ‘task_group_context’ is ambiguous
  612 |     static internal::allocate_root_with_context_proxy allocate_root( 
task_group_context& ctx ) {
      |                                                                      
^~~~~~~~~~~~~~~~~~
In file included from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/partitioner.h:47,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/parallel_for.h:27,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/env/../include/tbb/parallel_for.h:17,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/parallel.h:35,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/aligned_vector.h:25,
                 from /home/tfblab/dealii_9_3_3/include/deal.II/lac/vector.h:22,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:26:
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/task_group.h:167:7: note: 
candidates are: ‘class tbb::detail::d1::task_group_context’
  167 | class task_group_context : no_copy {
      |       ^~~~~~~~~~~~~~~~~~
In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:25,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:319:7: note:       
          ‘class tbb::task_group_context’
  319 | class task_group_context : internal::no_copy {
      |       ^~~~~~~~~~~~~~~~~~
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:612:70: error: 
‘task_group_context’ has not been declared
  612 |     static internal::allocate_root_with_context_proxy allocate_root( 
task_group_context& ctx ) {
      |                                                                      
^~~~~~~~~~~~~~~~~~
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:808:5: error: 
reference to ‘task_group_context’ is ambiguous
  808 |     task_group_context* context() {return prefix().context;}
      |     ^~~~~~~~~~~~~~~~~~
In file included from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/partitioner.h:47,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/parallel_for.h:27,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/env/../include/tbb/parallel_for.h:17,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/parallel.h:35,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/aligned_vector.h:25,
                 from /home/tfblab/dealii_9_3_3/include/deal.II/lac/vector.h:22,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:26:
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/task_group.h:167:7: note: 
candidates are: ‘class tbb::detail::d1::task_group_context’
  167 | class task_group_context : no_copy {
      |       ^~~~~~~~~~~~~~~~~~
In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:25,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:319:7: note:       
          ‘class tbb::task_group_context’
  319 | class task_group_context : internal::no_copy {
      |       ^~~~~~~~~~~~~~~~~~
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:811:5: error: 
reference to ‘task_group_context’ is ambiguous
  811 |     task_group_context* group () { return prefix().context; }
      |     ^~~~~~~~~~~~~~~~~~
In file included from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/partitioner.h:47,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/parallel_for.h:27,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/env/../include/tbb/parallel_for.h:17,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/parallel.h:35,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/aligned_vector.h:25,
                 from /home/tfblab/dealii_9_3_3/include/deal.II/lac/vector.h:22,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:26:
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/task_group.h:167:7: note: 
candidates are: ‘class tbb::detail::d1::task_group_context’
  167 | class task_group_context : no_copy {
      |       ^~~~~~~~~~~~~~~~~~
In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:25,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:319:7: note:       
          ‘class tbb::task_group_context’
  319 | class task_group_context : internal::no_copy {
      |       ^~~~~~~~~~~~~~~~~~
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:871:47: error: 
reference to ‘task_group_context’ is ambiguous
  871 |     void __TBB_EXPORTED_METHOD change_group ( task_group_context& ctx );
      |                                               ^~~~~~~~~~~~~~~~~~
In file included from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/partitioner.h:47,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/parallel_for.h:27,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/env/../include/tbb/parallel_for.h:17,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/parallel.h:35,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/aligned_vector.h:25,
                 from /home/tfblab/dealii_9_3_3/include/deal.II/lac/vector.h:22,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:26:
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/task_group.h:167:7: note: 
candidates are: ‘class tbb::detail::d1::task_group_context’
  167 | class task_group_context : no_copy {
      |       ^~~~~~~~~~~~~~~~~~
In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:25,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:319:7: note:       
          ‘class tbb::task_group_context’
  319 | class task_group_context : internal::no_copy {
      |       ^~~~~~~~~~~~~~~~~~
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:871:47: error: 
‘task_group_context’ has not been declared
  871 |     void __TBB_EXPORTED_METHOD change_group ( task_group_context& ctx );
      |                                               ^~~~~~~~~~~~~~~~~~
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h: In static member 
function ‘static tbb::internal::allocate_root_with_context_proxy 
tbb::task::allocate_root(int&)’:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:613:62: error: no 
matching function for call to 
‘tbb::internal::allocate_root_with_context_proxy::allocate_root_with_context_proxy(int&)’
  613 |         return internal::allocate_root_with_context_proxy(ctx);
      |                                                              ^
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:138:11: note: 
candidate: 
‘tbb::internal::allocate_root_with_context_proxy::allocate_root_with_context_proxy()’
  138 |     class allocate_root_with_context_proxy: no_assign {
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:138:11: note:   
candidate expects 0 arguments, 1 provided
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:138:11: note: 
candidate: ‘constexpr 
tbb::internal::allocate_root_with_context_proxy::allocate_root_with_context_proxy(const
 tbb::internal::allocate_root_with_context_proxy&)’
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:138:11: note:   no 
known conversion for argument 1 from ‘int’ to ‘const 
tbb::internal::allocate_root_with_context_proxy&’
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:138:11: note: 
candidate: ‘constexpr 
tbb::internal::allocate_root_with_context_proxy::allocate_root_with_context_proxy(tbb::internal::allocate_root_with_context_proxy&&)’
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:138:11: note:   no 
known conversion for argument 1 from ‘int’ to 
‘tbb::internal::allocate_root_with_context_proxy&&’
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h: In member 
function ‘void tbb::task::recycle_as_child_of(tbb::task&)’:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:678:11: error: 
‘class tbb::internal::task_prefix’ has no member named ‘context’; did you mean 
‘next’?
  678 |         p.context = new_parent.prefix().context;
      |           ^~~~~~~
      |           next
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:678:41: error: 
‘class tbb::internal::task_prefix’ has no member named ‘context’; did you mean 
‘next’?
  678 |         p.context = new_parent.prefix().context;
      |                                         ^~~~~~~
      |                                         next
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h: In member 
function ‘int tbb::task::add_ref_count(int)’:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:721:19: error: 
‘call_itt_notify’ is not a member of ‘tbb::internal’
  721 |         internal::call_itt_notify( internal::releasing, 
&prefix().ref_count );
      |                   ^~~~~~~~~~~~~~~
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:721:19: note: 
suggested alternatives:
In file included from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/detail/_small_object_pool.h:23,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/detail/_task.h:23,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/parallel_for.h:23,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/env/../include/tbb/parallel_for.h:17,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/parallel.h:35,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/aligned_vector.h:25,
                 from /home/tfblab/dealii_9_3_3/include/deal.II/lac/vector.h:22,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:26:
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/profiling.h:73:41: note:   
‘tbb::detail::r1::call_itt_notify’
   73 |     TBB_EXPORT void __TBB_EXPORTED_FUNC call_itt_notify(int t, void* 
ptr);
      |                                         ^~~~~~~~~~~~~~~
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/profiling.h:192:17: note:   
‘tbb::detail::d1::call_itt_notify’
  192 |     inline void call_itt_notify(notify_type /*t*/, void* /*ptr*/) {}
      |                 ^~~~~~~~~~~~~~~
In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:25,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:721:46: error: 
‘releasing’ is not a member of ‘tbb::internal’; did you mean 
‘tbb::detail::d1::releasing’?
  721 |         internal::call_itt_notify( internal::releasing, 
&prefix().ref_count );
      |                                              ^~~~~~~~~
In file included from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/detail/_small_object_pool.h:23,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/detail/_task.h:23,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/parallel_for.h:23,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/env/../include/tbb/parallel_for.h:17,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/parallel.h:35,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/aligned_vector.h:25,
                 from /home/tfblab/dealii_9_3_3/include/deal.II/lac/vector.h:22,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:26:
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/profiling.h:68:52: note: 
‘tbb::detail::d1::releasing’ declared here
   68 |     enum notify_type {prepare=0, cancel, acquired, releasing, destroy};
      |                                                    ^~~~~~~~~
In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:25,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:725:23: error: 
‘call_itt_notify’ is not a member of ‘tbb::internal’
  725 |             internal::call_itt_notify( internal::acquired, 
&prefix().ref_count );
      |                       ^~~~~~~~~~~~~~~
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:725:23: note: 
suggested alternatives:
In file included from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/detail/_small_object_pool.h:23,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/detail/_task.h:23,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/parallel_for.h:23,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/env/../include/tbb/parallel_for.h:17,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/parallel.h:35,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/aligned_vector.h:25,
                 from /home/tfblab/dealii_9_3_3/include/deal.II/lac/vector.h:22,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:26:
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/profiling.h:73:41: note:   
‘tbb::detail::r1::call_itt_notify’
   73 |     TBB_EXPORT void __TBB_EXPORTED_FUNC call_itt_notify(int t, void* 
ptr);
      |                                         ^~~~~~~~~~~~~~~
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/profiling.h:192:17: note:   
‘tbb::detail::d1::call_itt_notify’
  192 |     inline void call_itt_notify(notify_type /*t*/, void* /*ptr*/) {}
      |                 ^~~~~~~~~~~~~~~
In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:25,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:725:50: error: 
‘acquired’ is not a member of ‘tbb::internal’; did you mean 
‘tbb::detail::d1::acquired’?
  725 |             internal::call_itt_notify( internal::acquired, 
&prefix().ref_count );
      |                                                  ^~~~~~~~
In file included from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/detail/_small_object_pool.h:23,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/detail/_task.h:23,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/parallel_for.h:23,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/env/../include/tbb/parallel_for.h:17,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/parallel.h:35,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/aligned_vector.h:25,
                 from /home/tfblab/dealii_9_3_3/include/deal.II/lac/vector.h:22,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:26:
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/profiling.h:68:42: note: 
‘tbb::detail::d1::acquired’ declared here
   68 |     enum notify_type {prepare=0, cancel, acquired, releasing, destroy};
      |                                          ^~~~~~~~
In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:25,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h: In member 
function ‘bool tbb::task::cancel_group_execution()’:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:875:54: error: 
‘class tbb::internal::task_prefix’ has no member named ‘context’; did you mean 
‘next’?
  875 |     bool cancel_group_execution () { return 
prefix().context->cancel_group_execution(); }
      |                                                      ^~~~~~~
      |                                                      next
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h: In member 
function ‘bool tbb::task::is_cancelled() const’:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:878:50: error: 
‘class tbb::internal::task_prefix’ has no member named ‘context’; did you mean 
‘next’?
  878 |     bool is_cancelled () const { return 
prefix().context->is_group_execution_cancelled(); }
      |                                                  ^~~~~~~
      |                                                  next
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h: In member 
function ‘void tbb::task::set_group_priority(tbb::priority_t)’:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:885:58: error: 
‘class tbb::internal::task_prefix’ has no member named ‘context’; did you mean 
‘next’?
  885 |     void set_group_priority ( priority_t p ) {  
prefix().context->set_priority(p); }
      |                                                          ^~~~~~~
      |                                                          next
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h: In member 
function ‘tbb::priority_t tbb::task::group_priority() const’:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:888:58: error: 
‘class tbb::internal::task_prefix’ has no member named ‘context’; did you mean 
‘next’?
  888 |     priority_t group_priority () const { return 
prefix().context->priority(); }
      |                                                          ^~~~~~~
      |                                                          next
In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h: At global 
scope:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:253:76: error: 
reference to ‘task_group_context’ is ambiguous
  253 |     void __TBB_EXPORTED_METHOD run( size_t max_number_of_live_tokens, 
tbb::task_group_context& context );
      |                                                                         
   ^~~~~~~~~~~~~~~~~~
In file included from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/partitioner.h:47,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/parallel_for.h:27,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/env/../include/tbb/parallel_for.h:17,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/parallel.h:35,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/aligned_vector.h:25,
                 from /home/tfblab/dealii_9_3_3/include/deal.II/lac/vector.h:22,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:26:
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/task_group.h:167:7: note: 
candidates are: ‘class tbb::detail::d1::task_group_context’
  167 | class task_group_context : no_copy {
      |       ^~~~~~~~~~~~~~~~~~
In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:25,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:319:7: note:       
          ‘class tbb::task_group_context’
  319 | class task_group_context : internal::no_copy {
      |       ^~~~~~~~~~~~~~~~~~
In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:253:76: error: 
‘tbb::task_group_context’ has not been declared
  253 |     void __TBB_EXPORTED_METHOD run( size_t max_number_of_live_tokens, 
tbb::task_group_context& context );
      |                                                                         
   ^~~~~~~~~~~~~~~~~~
In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:637:12: error: 
reference to ‘task_group_context’ is ambiguous
  637 |     , tbb::task_group_context& context
      |            ^~~~~~~~~~~~~~~~~~
In file included from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/partitioner.h:47,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/parallel_for.h:27,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/env/../include/tbb/parallel_for.h:17,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/parallel.h:35,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/aligned_vector.h:25,
                 from /home/tfblab/dealii_9_3_3/include/deal.II/lac/vector.h:22,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:26:
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/task_group.h:167:7: note: 
candidates are: ‘class tbb::detail::d1::task_group_context’
  167 | class task_group_context : no_copy {
      |       ^~~~~~~~~~~~~~~~~~
In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:25,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:319:7: note:       
          ‘class tbb::task_group_context’
  319 | class task_group_context : internal::no_copy {
      |       ^~~~~~~~~~~~~~~~~~
In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:637:12: error: 
‘tbb::task_group_context’ has not been declared
  637 |     , tbb::task_group_context& context
      |            ^~~~~~~~~~~~~~~~~~
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h: In function 
‘void tbb::interface6::parallel_pipeline(std::size_t, const 
tbb::interface6::filter_t<void, void>&)’:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:651:10: error: 
reference to ‘task_group_context’ is ambiguous
  651 |     tbb::task_group_context context;
      |          ^~~~~~~~~~~~~~~~~~
In file included from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/partitioner.h:47,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/parallel_for.h:27,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/env/../include/tbb/parallel_for.h:17,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/parallel.h:35,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/aligned_vector.h:25,
                 from /home/tfblab/dealii_9_3_3/include/deal.II/lac/vector.h:22,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:26:
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/task_group.h:167:7: note: 
candidates are: ‘class tbb::detail::d1::task_group_context’
  167 | class task_group_context : no_copy {
      |       ^~~~~~~~~~~~~~~~~~
In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:25,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/task.h:319:7: note:       
          ‘class tbb::task_group_context’
  319 | class task_group_context : internal::no_copy {
      |       ^~~~~~~~~~~~~~~~~~
In file included from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/work_stream.h:34,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:52:
/home/tfblab/dealii_9_3_3/include/deal.II/bundled/tbb/pipeline.h:652:64: error: 
‘context’ was not declared in this scope; did you mean 
‘tbb::detail::d1::context’?
  652 |     parallel_pipeline(max_number_of_live_tokens, filter_chain, context);
      |                                                                ^~~~~~~
      |                                                                
tbb::detail::d1::context
In file included from 
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/parallel_for.h:23,
                 from 
/opt/intel/oneapi/tbb/2021.5.0/env/../include/tbb/parallel_for.h:17,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/parallel.h:35,
                 from 
/home/tfblab/dealii_9_3_3/include/deal.II/base/aligned_vector.h:25,
                 from /home/tfblab/dealii_9_3_3/include/deal.II/lac/vector.h:22,
                 from /home/tfblab/dealii_9_3_3/examples/step-9/step-9.cc:26:
/opt/intel/oneapi/tbb/2021.5.0/include/oneapi/tbb/detail/_task.h:156:28: note: 
‘tbb::detail::d1::context’ declared here
  156 | inline task_group_context* context(const execution_data& ed) {
      |                            ^~~~~~~
make[2]: *** [CMakeFiles/step-9.dir/build.make:63: 
CMakeFiles/step-9.dir/step-9.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:272: CMakeFiles/step-9.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

Reply via email to