Hi Poonam, To save you from troubles on linux, you can use build tools like:
Candi https://github.com/dealii/candi Spack https://github.com/dealii/dealii/wiki/deal.II-in-Spack Compiling everything manually at some point gets tedious and error prone. Regards, Denis. On Friday, May 27, 2016 at 12:58:46 AM UTC+2, Poonam Saini wrote: > > Hi All > I am getting below error while make install please help > > > [ 77%] Linking CXX shared library ../lib/libdeal_II.g.so > /usr/bin/ld.gold: error: /home/poonam/ARPACK/libarpack.a(sgemv.o): > requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile > with -fPIC > /usr/bin/ld.gold: error: /home/poonam/ARPACK/libarpack.a(dgemv.o): > requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile > with -fPIC > /usr/bin/ld.gold: error: /home/poonam/ARPACK/libarpack.a(dger.o): requires > dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with > -fPIC > /usr/bin/ld.gold: error: /home/poonam/ARPACK/libarpack.a(xerbla.o): > requires unsupported dynamic reloc 11; recompile with -fPIC > collect2: error: ld returned 1 exit status > source/CMakeFiles/deal_II.g.dir/build.make:1052: recipe for target > 'lib/libdeal_II.g.so.8.4.1' failed > make[2]: *** [lib/libdeal_II.g.so.8.4.1] Error 1 > CMakeFiles/Makefile2:2578: recipe for target > 'source/CMakeFiles/deal_II.g.dir/all' failed > make[1]: *** [source/CMakeFiles/deal_II.g.dir/all] Error 2 > Makefile:127: recipe for target 'all' failed > make: *** [all] Error 2 > > the cmake used is > > cmake -DDEAL_II_WITH_GSL=ON -DGSL_DIR=/home/poonam/gsl-1.7 > -DDEAL_II_WITH_ARPACK=ON -DARPACK_DIR=/home/poonam/ARPACK > -DDEAL_II_WITH_SLEPC=ON -DSLEPC_DIR=/home/poonam/slepc-3.3-p4 > -DDEAL_II_WITH_PETSC=ON -DPETSC_ARCH=x86_64 > -DPETSC_DIR=/home/poonam/petsc-3.3-p2 -DDEAL_II_WITH_P4EST=ON > -DP4EST_DIR=/home/poonam/p4est -DDEAL_II_WITH_THREADS=OFF > -DDEAL_II_WITH_MPI=ON -DDEAL_II_WITH_HDF5=OFF > -DCMAKE_INSTALL_PREFIX=/home/poonam/deal.II ../dealii-8.4. > > > > -- 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.
