-- 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: 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: 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
CMake Warning (dev):
Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake
--help-policy CMP0042" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
MACOSX_RPATH is not specified for the following targets:
simpler_with_crust
This warning is for project developers. Use -Wno-dev to suppress it.
Then I continued to make,
it shows:
[ 50%] Building CXX object CMakeFiles/simpler_with_crust.dir/simpler_with_crust.cc.o
[100%] Linking CXX shared library libsimpler_with_crust.so
ld: warning: -undefined dynamic_lookup may not work with chained fixups
[100%] Built target simpler_with_crust
Then I tried: cd ..; mpirun -np 8 ./plugin/aspect free_surface_with_crust.prm
and the code didn't run correctly.
the CMakeError.log shows as follows:
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /Applications/deal.II.app/Contents/Resources/spack/opt/spack/mpich-3.4.2-7776/bin/mpic++
Build flags:
Id flags:
The output was:
1
ld: library not found for -lc++
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
Could you please help me with this? I would really appreciate it!
Cheers
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 a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/L0ydfyIGy8E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/4dc0e6fc-bc38-4b62-bc8e-3714db36af53n%40googlegroups.com.