Skip to content

Neper installation on HPC #345

Answered by xshang93
xshang93 asked this question in Q&A
Dec 11, 2021 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

Ok. So I have found a solution, and I thought I'd share it here in case anyone in the future also looking to have Neper installed on a cluster.
The error is caused by RPATH_CHANGE trying to change the original RPATH to a new one, which is an empty one. When I looked at cmake_install.cmake in neper/src/build/, I found the following:

  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/neper" AND
     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/neper")
    file(RPATH_CHANGE
         FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/neper"
         OLD_RPATH "<home path>/neper/src/build/contrib/scotch:<home path>/neper/src/build/contrib/nlopt:"
         NEW_RPATH "")

My understan…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@xshang93
Comment options

@rquey
Comment options

@xshang93
Comment options

@xshang93
Comment options

@rquey
Comment options

Answer selected by xshang93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants