Hi Marc, Thank you very much for your reply. I installed deal.II.9.4.0. and successfully installed ASPECT. However, when I was testing the simpler model with the crust following the steps demonstrated by Dr. Rene Gassmoeller in the tutorial videos. I encountered the following error: When I tried cmake -DAspect_DIR=~/Downloads/softwares/ASPECT/aspect/release . it shows:
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 On Mon, Sep 19, 2022 at 10:27 PM Marc Fehling <[email protected]> wrote: > 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 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 > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dealii/4dc0e6fc-bc38-4b62-bc8e-3714db36af53n%40googlegroups.com > <https://groups.google.com/d/msgid/dealii/4dc0e6fc-bc38-4b62-bc8e-3714db36af53n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAD9LROUt6sSxhPnTsYez05UGdfjuQW7SgrgWGvCwwqznv9c3sg%40mail.gmail.com.
