Dear Wolfgang, Thanks for your advice, and Matthias's. Thank you very much!
> > > I don't think any of us has seen this error before. Can you try what > happens if you delete the build directory, re-create it, and then just > use the minimal command line > cmake /vol7/... > ? Make things as simple as possible if you don't know what causes a > particular problem. If the problem goes away, then repeat by adding one > flag at a time until the problem re-appears -- at which time you know > what change must have caused it. > I download a new dealii-9.0.1.tar.gz and build a new file folder: /vol7/home/zhaoyucan1016/reinstall2-dealii-9.0.1/ source directory:/vol7/home/zhaoyucan1016/reinstall2-dealii-9.0.1/src and the command line :(in the directory: /vol7/home/zhaoyucan1016/reinstall2-dealii-9.0.1/src/build) $ cmake /vol7/home/zhaoyucan1016/reinstall2-dealii-9.0.1/src $ make -j2 and it shows: In file included from /vol7/home/zhaoyucan1016/reinstall2-dealii-9.0.1/src/source/base/flow_function.cc:18:0: /vol7/home/zhaoyucan1016/reinstall2-dealii-9.0.1/src/include/deal.II/base/flow_function.h:59:13: internal compiler error: in use_thunk, at cp/method.c:338 virtual ~FlowFunction() = default; ^ 0x595884 use_thunk(tree_node*, bool) ../.././gcc/cp/method.c:338 0x5a078c emit_associated_thunks(tree_node*) ../.././gcc/cp/semantics.c:3763 0x5a0a47 expand_or_defer_fn(tree_node*) ../.././gcc/cp/semantics.c:3890 0x5b83a5 maybe_clone_body(tree_node*) ../.././gcc/cp/optimize.c:428 0x5a083d expand_or_defer_fn_1(tree_node*) ../.././gcc/cp/semantics.c:3814 0x5a0a18 expand_or_defer_fn(tree_node*) ../.././gcc/cp/semantics.c:3884 0x5969ef synthesize_method(tree_node*) ../.././gcc/cp/method.c:809 0x5434aa mark_used(tree_node*) ../.././gcc/cp/decl2.c:4677 0x4f01cc build_over_call ../.././gcc/cp/call.c:7055 0x4ed678 build_new_method_call_1 ../.././gcc/cp/call.c:7715 0x4ed678 build_new_method_call(tree_node*, tree_node*, vec<tree_node*, va_gc, vl_embed>**, tree_node*, int, tree_node**, int) ../.././gcc/cp/call.c:7785 0x4edf1e build_special_member_call(tree_node*, tree_node*, vec<tree_node*, va_gc, vl_embed>**, tree_node*, int, int) ../.././gcc/cp/call.c:7352 0x58e0ff expand_cleanup_for_base ../.././gcc/cp/init.c:1217 0x5925f1 expand_cleanup_for_base ../.././gcc/cp/init.c:1112 0x5925f1 emit_mem_initializers(tree_node*) ../.././gcc/cp/init.c:1097 0x56a47c cp_parser_mem_initializer_list ../.././gcc/cp/parser.c:11731 0x56a47c cp_parser_ctor_initializer_opt ../.././gcc/cp/parser.c:11642 0x56a47c cp_parser_ctor_initializer_opt_and_function_body ../.././gcc/cp/parser.c:17848 0x56aacf cp_parser_function_definition_after_declarator ../.././gcc/cp/parser.c:21843 0x56b6e3 cp_parser_function_definition_from_specifiers_and_declarator ../.././gcc/cp/parser.c:21764 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. make[2]: *** [source/base/CMakeFiles/obj_base_debug.dir/flow_function.cc.o] Error 1 make[1]: *** [source/base/CMakeFiles/obj_base_debug.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 42%] Building CXX object source/lac/CMakeFiles/obj_lac_debug.dir/sparse_ilu.cc.o [ 42%] Building CXX object source/lac/CMakeFiles/obj_lac_debug.dir/sparse_matrix_ez.cc.o [ 42%] Building CXX object source/lac/CMakeFiles/obj_lac_debug.dir/sparse_mic.cc.o [ 42%] Building CXX object source/lac/CMakeFiles/obj_lac_debug.dir/sparse_vanka.cc.o [ 42%] Building CXX object source/lac/CMakeFiles/obj_lac_debug.dir/sparsity_pattern.cc.o [ 42%] Building CXX object source/lac/CMakeFiles/obj_lac_debug.dir/sparsity_tools.cc.o [ 42%] Building CXX object source/lac/CMakeFiles/obj_lac_debug.dir/swappable_vector.cc.o [ 42%] Building CXX object source/lac/CMakeFiles/obj_lac_debug.dir/tridiagonal_matrix.cc.o [ 42%] Building CXX object source/lac/CMakeFiles/obj_lac_debug.dir/vector.cc.o [ 43%] Building CXX object source/lac/CMakeFiles/obj_lac_debug.dir/vector_memory.cc.o [ 43%] Building CXX object source/lac/CMakeFiles/obj_lac_debug.dir/vector_view.cc.o [ 43%] Building CXX object source/lac/CMakeFiles/obj_lac_debug.dir/sparse_matrix.cc.o [ 43%] Building CXX object source/lac/CMakeFiles/obj_lac_debug.dir/sparse_matrix_inst2.cc.o [ 43%] Built target obj_lac_debug make: *** [all] Error 2 and I download a new dealii-9.0.1.tar.gz and build a new file folder: /vol7/home/zhaoyucan1016/reinstall-dealii-9.0.1 source directory:/vol7/home/zhaoyucan1016/reinstall-dealii-9.0.1/src and the command line :(in the directory: /vol7/home/zhaoyucan1016/reinstall-dealii-9.0.1/src/build) $ cmake /vol7/home/zhaoyucan1016/reinstall-dealii-9.0.1/src -DCMAKE_INSTALL_PREFIX=/vol7/home/zhaoyucan1016/reinstall-dealii-9.0.1/deal.II -DDEAL_II_WITH_MPI=ON -DMPI_DIR=/usr/local/mpi3 -DCMAKE_CXX_COMPILER=/usr/local/mpi3/bin/mpicxx -DCMAKE_Fortran_COMPILER=/usr/local/mpi3/bin/mpifort -DDEAL_II_FORCE_BUNDLED_BOOST=ON -DDEAL_II_ALLOW_AUTODETECTION=ON $make -j2 deal_II $make install and it shows: [ 81%] Built target obj_multigrid_release [ 82%] Built target obj_distributed_release [ 82%] Built target obj_algorithms_release [ 82%] Built target obj_matrix_free_release [ 83%] Built target obj_meshworker_release [ 84%] Built target obj_opencascade_release [ 84%] Built target obj_differentiation_ad_release [ 84%] Built target obj_particle_release [ 84%] Built target obj_physics_release [ 84%] Built target obj_physics_elasticity_release [ 84%] Built target deal_II.g [ 85%] Built target obj_non_matching_release [ 85%] Built target obj_rol_release [ 85%] Built target obj_rol_debug Scanning dependencies of target step-7.debug Scanning dependencies of target step-6.debug [ 85%] Building CXX object examples/CMakeFiles/step-7.debug.dir/step-7/step-7.cc.o [ 85%] Building CXX object examples/CMakeFiles/step-6.debug.dir/step-6/step-6.cc.o [ 85%] Linking CXX executable ../bin/step-7.debug [ 85%] Linking CXX executable ../bin/step-6.debug ../lib/libdeal_II.g.so.9.0.1: undefined reference to `dealii::StraightBoundary<3, 3>::StraightBoundary()' ../lib/libdeal_II.g.so.9.0.1: undefined reference to `dealii::StraightBoundary<2, 3>::StraightBoundary()' ../lib/libdeal_II.g.so.9.0.1: undefined reference to `dealii::StraightBoundary<1, 1>::StraightBoundary()' ../lib/libdeal_II.g.so.9.0.1: undefined reference to `dealii::StraightBoundary<1, 2>::StraightBoundary()' ../lib/libdeal_II.g.so.9.0.1: undefined reference to `dealii::StraightBoundary<2, 2>::StraightBoundary()' make[2]: *** [bin/step-6.debug] Error 1 make[1]: *** [examples/CMakeFiles/step-6.debug.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... ../lib/libdeal_II.g.so.9.0.1: undefined reference to `dealii::StraightBoundary<3, 3>::StraightBoundary()' ../lib/libdeal_II.g.so.9.0.1: undefined reference to `dealii::StraightBoundary<2, 3>::StraightBoundary()' ../lib/libdeal_II.g.so.9.0.1: undefined reference to `dealii::StraightBoundary<1, 1>::StraightBoundary()' ../lib/libdeal_II.g.so.9.0.1: undefined reference to `dealii::StraightBoundary<1, 2>::StraightBoundary()' ../lib/libdeal_II.g.so.9.0.1: undefined reference to `dealii::StraightBoundary<2, 2>::StraightBoundary()' make[2]: *** [bin/step-7.debug] Error 1 make[1]: *** [examples/CMakeFiles/step-7.debug.dir/all] Error 2 make: *** [all] Error 2 And I don't know why this happens. I use dealii-8.5.1 before, and I finished my test code using block sparse matrix and block vector like step-20 with fewer dofs. Now I need to try these codes with larger dofs more than 200K dofs in each loop, and the time steps are more than 50000. So I want to rewrite the codes and use method for parallel like step-40, step-55, step-32. So I need to reinstall my dealii. And I start again. But it seems not so easy. Best W. pack the ) > > > -- > ------------------------------------------------------------------------ > Wolfgang Bangerth email: bang...@colostate.edu > <javascript:> > 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 dealii+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.