[Trilinos-Users] [EXTERNAL] make_install_error

Elliott, James John jjellio at sandia.gov
Wed Oct 18 12:11:49 EDT 2017

It looks like it is trying to set RPATH on a statically linked executable.

On Cray machines,
I use:

# This is unrelated, but I need it on Cray to get CXX demangling correct.

# always set the compilers

-D CMAKE_Fortran_COMPILER="ftn"

The above settings tell CMake to prefer static libs over shared.
Turns off shared lib generation by Trilinos
Disables the setting of the runtime path for executables, which is unneeded since they are statically linked.


From: Trilinos-Users <trilinos-users-bounces at trilinos.org> on behalf of Bartlett, Roscoe A <rabartl at sandia.gov>
Sent: Wednesday, October 18, 2017 7:20 AM
To: Eligiusz Postek; trilinos-users at trilinos.org
Subject: Re: [Trilinos-Users] [EXTERNAL] make_install_error

What are the full set of options you are passing to cmake?


From: Trilinos-Users [mailto:trilinos-users-bounces at trilinos.org] On Behalf Of Eligiusz Postek
Sent: Sunday, October 15, 2017 2:44 AM
To: trilinos-users at trilinos.org
Subject: [EXTERNAL] [Trilinos-Users] make_install_error

Dear Colleagues,
I get the error during installation
This is the source :     trilinos-12.12.1-Source
This is cmake: /home/ewpostek/cmm/cmake-3.9.4-Linux-x86_64/bin/cmake
This is the environment:

module load PrgEnv-gnu/5.2.82 (gnu cray xc30)
module load cray-mpich/7.3.2

make install

-- Installing: /home/ewpostek/Tri2/insta/include/Epetra_MpiDistributor.h
-- Installing: /home/ewpostek/Tri2/insta/bin/Epetra_BasicPerfTest_test.exe
CMake Error at packages/epetra/test/BasicPerfTest/cmake_install.cmake:45 (file):
  file RPATH_CHANGE could not write new RPATH:


  to the file:


  No valid ELF RPATH or RUNPATH entry exists in the file;
Call Stack (most recent call first):
  packages/epetra/test/cmake_install.cmake:39 (include)
  packages/epetra/cmake_install.cmake:65 (include)
  cmake_install.cmake:72 (include)

make: *** [install] Error 1
okeanos1 Tri2/build>

Could you be so kind to give a hint?

Best regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20171018/705caa10/attachment.html>

More information about the Trilinos-Users mailing list