Hi Chucui, StraightBoundary was removed in deal.II 9.0; it should not show up in any object files so these errors don't make any sense. Did you use a clean build directory?
Thanks, David Wells On Thursday, October 18, 2018 at 8:27:40 AM UTC-4, [email protected] wrote: > > Dear all, > > I want to reinstall my deal.ii because I need to run some codes in > parallel just like Step-40, step-55 and Step-32, and I choose deal.ii-9.0.1 > The command lines I use are: > > $cmake ../dealii-9.0.1/dealii-9.0.1 -DDEAL_II_WITH_MPI=ON > -DCMAKE_C_COMPILER=/usr/local/mpi3/bin/mpicc > -DCMAKE_CXX_COMPILER=/usr/local/mpi3/bin/mpicxx > -DCMAKE_Fortran_COMPILER=/usr/local/mpi3/bin/mpifort > -DCMAKE_INSTALL_PREFIX=../dealii-9.0.1/build -DMPI_DIR=/usr/local/mpi3 > -DP4EST_DIR=../p4est/p4est-2.0 -DPETSC_DIR=../new-petsc-3.7.7/petsc-3.7.7 > -DHDF5_DIR=/usr/lib64/ -DMETIS_DIR=../metis-5.1.0/metis-5.1.0 > -DDEAL_II_WITH_METIS=ON -DDEAL_II_WITH_HDF5=OFF -DDEAL_II_WITH_PETSC=ON > -DDEAL_II_WITH_P4EST=OFF -DDEAL_II_WITH_MPI=ON > -DDEAL_II_FORCE_BUNDLED_BOOST=ON-DDEAL_II_ALLOW_AUTODETECTION=ON > > $make > > $make install > > But after "make install", the installation was interupped, and the errors > are showed as: > > Scanning dependencies of target obj_rol_debug > [ 82%] Built target obj_rol_debug > Scanning dependencies of target step-3.release > [ 82%] Building CXX object > examples/CMakeFiles/step-3.release.dir/step-3/step-3.cc.o > [ 82%] Linking CXX executable ../bin/step-3.release > ../lib/libdeal_II.so.9.0.1: undefined reference to > `dealii::StraightBoundary<1, 2>::StraightBoundary()' > ../lib/libdeal_II.so.9.0.1: undefined reference to > `dealii::StraightBoundary<1, 1>::StraightBoundary()' > ../lib/libdeal_II.so.9.0.1: undefined reference to > `dealii::StraightBoundary<3, 3>::StraightBoundary()' > ../lib/libdeal_II.so.9.0.1: undefined reference to > `dealii::StraightBoundary<3, 3>::StraightBoundary()' > ../lib/libdeal_II.so.9.0.1: undefined reference to > `dealii::StraightBoundary<2, 2>::StraightBoundary()' > ../lib/libdeal_II.so.9.0.1: undefined reference to > `dealii::StraightBoundary<2, 3>::StraightBoundary()' > ../lib/libdeal_II.so.9.0.1: undefined reference to > `dealii::StraightBoundary<1, 1>::StraightBoundary()' > ../lib/libdeal_II.so.9.0.1: undefined reference to > `dealii::StraightBoundary<1, 3>::StraightBoundary()' > ../lib/libdeal_II.so.9.0.1: undefined reference to > `dealii::StraightBoundary<1, 2>::StraightBoundary()' > ../lib/libdeal_II.so.9.0.1: undefined reference to > `dealii::StraightBoundary<2, 3>::StraightBoundary()' > ../lib/libdeal_II.so.9.0.1: undefined reference to > `dealii::StraightBoundary<2, 2>::StraightBoundary()' > make[2]: *** [bin/step-3.release] Error 1 > make[1]: *** [examples/CMakeFiles/step-3.release.dir/all] Error 2 > make: *** [all] Error 2 > > So, I don't what happened and know how to do. Hope some suggestions! > Thanks in advance! > > Best, > Chucui > > > > > -- 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]. For more options, visit https://groups.google.com/d/optout.
