Chucui,

> The newest result are still the same. After "make install" it shows:
> 
> [ 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()'
 > [...]

> My command lines are
> $cmake /vol7/home/zhaoyucan1016/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=/vol7/home/zhaoyucan1016/dealii-9.0.1/build
>  
> -DMPI_DIR=/usr/local/mpi3 
> -DP4EST_DIR=/vol7/home/zhaoyucan1016/p4est/p4est-2.0 
> -DPETSC_DIR=/vol7/home/zhaoyucan1016/petsc-3.7.7/petsc-3.7.7 
> -DHDF5_DIR=/usr/lib64/ 
> -DMETIS_DIR=/vol7/home/zhaoyucan1016/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

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.

By the way, you are missing a space between the last two commands 
(FORCE_BUNDLED_BOOST=ON and -DDEAL_II_ALLOW...). But that is not the 
cause of the problem.

Best
  W.


-- 
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                            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.

Reply via email to