Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out-of-source build improvement #2

Open
DanW97 opened this issue Aug 20, 2021 · 0 comments
Open

Out-of-source build improvement #2

DanW97 opened this issue Aug 20, 2021 · 0 comments

Comments

@DanW97
Copy link

DanW97 commented Aug 20, 2021

On the main installation instructions where it references an out-of-source build (../build instead of ../src), the installation script assumes that you have built liggghts in the latter directory and so complains that it can't find the .so object.

It would be helpful to other users to include the need to alter line 41 from

str = "cp ../src/libliggghts.so %s" % libdir

to

str = "cp ../$INSTALL_DIR$/libliggghts.so %s" % libdir

if an out-of-source build is performed.

Mentioning also that the user needs to set the PYTHONPATH and LD_LIBRARY_PATH accordingly would be massively useful also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant