Hello Ziqi,

which version of deal.II are you using?

>From your log, it looks like you are using Intel oneAPI TBB. We started to 
support oneAPI versions with deal.II 9.4.0. The guide you are mentioning 
refers to deal.II 9.0. Could you try our latest release?

Marc

On Monday, September 19, 2022 at 8:42:54 AM UTC-6 [email protected] wrote:

> Dear all,
> I hope this email finds you well. I am trying to install ASPECT on my 
> macOS Monterey 12.6. When I followed the steps in 
> https://github.com/geodynamics/aspect/wiki/Installing-and-running-ASPECT-on-Mac-OS-X,
>  
> I got stuck in step 3, installation of the dealii. 
> After my installation, I tested the example step 32 by running cmake . && 
> make, and it shows the following error:
>
> -- Configuring done
>
> -- Generating done
>
> -- Build files have been written to: /Applications/
> deal.II.app/Contents/Resources/Libraries/share/deal.II/examples/step-32
>
> bash-3.2$ make
>
> [ 50%] Building CXX object CMakeFiles/step-32.dir/step-32.cc.o
>
> In file included from /Applications/
> deal.II.app/Contents/Resources/Libraries/share/deal.II/examples/step-32/step-32.cc:32
> :
>
> In file included from /Applications/
> deal.II.app/Contents/Resources/Libraries/include/deal.II/base/work_stream.h:35
> :
>
> In file included from /Applications/
> deal.II.app/Contents/Resources/Libraries/include/tbb/pipeline.h:23:
>
> In file included from /Applications/
> deal.II.app/Contents/Resources/Libraries/include/tbb/atomic.h:42:
>
> In file included from /Applications/
> deal.II.app/Contents/Resources/Libraries/include/tbb/tbb_machine.h:113:
>
> */Applications/deal.II.app/Contents/Resources/Libraries/include/tbb/tbb_stddef.h:434:14
>  
> <http://deal.II.app/Contents/Resources/Libraries/include/tbb/tbb_stddef.h:434:14>:
>  
> **error: **reference to 'split' is ambiguous*
>
>     operator split() const { return split(); }
>
> *             ^*
>
> */Applications/deal.II.app/Contents/Resources/Libraries/include/tbb/tbb_stddef.h:416:7
>  
> <http://deal.II.app/Contents/Resources/Libraries/include/tbb/tbb_stddef.h:416:7>:
>  
> note: *candidate found by name lookup is 'tbb::split'
>
> class split {
>
> *      ^*
>
> */opt/intel/oneapi/tbb/latest/env/../include/tbb/../oneapi/tbb/parallel_reduce.h:684:15:
>  
> note: *candidate found by name lookup is 'tbb::v1::split'
>
> using detail::split;
>
> *              ^*
>
>
> *.*
>
> *.*
>
> *.*
>
> *fatal error: **too many errors emitted, stopping now [-ferror-limit=]*
>
> 20 errors generated.
>
> make[2]: *** [CMakeFiles/step-32.dir/step-32.cc.o] Error 1
>
> make[1]: *** [CMakeFiles/step-32.dir/all] Error 2
>
> make: *** [all] Error 2
>
>
> Could you please help me have a look at this error and give suggestions on 
> how to solve the problem? I would really appreciate it! 
>
>
> Best regards
>
> Ziqi
>

-- 
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/4dc0e6fc-bc38-4b62-bc8e-3714db36af53n%40googlegroups.com.

Reply via email to