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

support relocated python installs, closes #127 #159

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bd4
Copy link

@bd4 bd4 commented Oct 25, 2018

No description provided.

@bd4
Copy link
Author

bd4 commented Oct 25, 2018

Tested by building python 3.4.9 and 2.7.15 with these options:

./configure --prefix=/opt/python/3.4.9 --enable-shared \
   LDFLAGS=-Wl,-rpath,\'$$ORIGIN/../lib\',--enable-new-dtags

and then moving to /opt/python/3.4.9_relocated (and similar for 2.7.15). Then built stc and turbine with these python versions (referenced via custom etc/spack/packages.yaml under spack base), and a normal system python (3.7.0 on manjaro), and ran simple test cases as described here http://swift-lang.github.io/swift-t/guide.html#leaf_python with swift-t command after loading the correct spack modules.

Here is an example spack packages.yaml for reference:

packages:
    python:
        paths:
            [email protected]: /opt/python/2.7.15_relocated
            [email protected]: /opt/python/3.4.9_relocated
            [email protected]: /usr

@bd4
Copy link
Author

bd4 commented Oct 30, 2018

@bnikolic if you have some time can you test the modified python-config.py from this PR: #159?

@bnikolic
Copy link
Contributor

bnikolic commented Oct 31, 2018 via email

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

Successfully merging this pull request may close these issues.

2 participants