Error while building deal..II 9.2.0 - regd.

26 views
Skip to first unread message

PUNITH M

unread,
Mar 3, 2022, 5:48:18 AM3/3/22
to deal.II User Group
Hello All,
I'm trying to build deal.II 9.2.0 but it throwing an error like this 
/apps/libs/Trillions-13.2/lib/libkokkoscore.a(Kokkos_Profiling.cpp.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC

I' ve used make option like this
cmake -DCMAKE_INSTALL_PREFIX=/apps/codes/deal_II/9.2.0 -DDEAL_II_WITH_MPI=ON -DP4EST_DIR=/apps/libs/p4est-2.8 -DTRILINOS_DIR=/apps/libs/Trillions-13.2 ../

These modules used during installation 
GCC-7.3.0
OpenMPI-4.0.7
CMAKE-3.22

request anyone to help me to resolve this to complete the installation package successfully.

Wolfgang Bangerth

unread,
Mar 3, 2022, 9:48:41 AM3/3/22
to dea...@googlegroups.com
On 3/3/22 03:48, PUNITH M wrote:
> */apps/libs/Trillions-13.2/lib/libkokkoscore.a(Kokkos_Profiling.cpp.o):
> requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile
> with -fPIC*

You will need to install Trilinos with shared libraries. Nothing should be
built with static libraries any more these days.

Best
W.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

Reply all
Reply to author
Forward
0 new messages