-
Notifications
You must be signed in to change notification settings - Fork 203
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
add support for handling dependencies via RPATH #651
Comments
...and this might just solve a bug that we are noticing in a particular test case with the iomkl stack: we think that openmpi's orted cannot find its pieces (under OAR and similar schedulers), unless it is assisted by the system in relation to LD_LIBRARY_PATH. The solution to this could be perhaps rpath or a static compile (great as a firework for an upcoming hackathon). |
I think gradually moving to static or |
Having the option to build the world with (in fact, it defeats the great feature of recent OpenMPI stacks of being ABI-compatible, which allows important freedom for some experimentation - addendum: ditto for |
@pforai: do you have more details on the |
I had another look at this for easybuilders/easybuild-easyconfigs#2228 We should just use a wrapper for #!/bin/bash
ld @$EBLINKEROPTIONS $@ Where |
@pforai: up for firing them a mail on it? Not sure if he's on GitHub. |
@boegel just dispatched, you in CC. |
Is this where we are working on this? In any case. GCC calls collect2 rather than ld and seems to be pretty good at finding the real ld. Not sure what I should override. Maybe I can set an environment variable to force it to use my special ld? |
|
seems like it is ok if I get ld.gold in the path. |
|
I need to tune the 100 cut forks in the script as well.... |
Do you want me to push my WIP? |
So this is sort of working now (though I understand we are going in a different direction). One odd thing is that using the script I get output like this
So it is detecting the first -rpath= and not seeing the spaces, thus concatenating that all together. That seems wrong... @ocaisa have you seen anything like that? |
Sorry, I've done a lot of reading but nothing in practice. I can have a little fun with the environment variable approach next week, that'll be easy to take for a test drive. On 5 Feb 2016 01:37, "Robert Schmidt" <notifications@github.commailto:notifications@github.com> wrote: So this is sort of working now (though I understand we are going in a different direction). One odd thing is that using the script I get output like this 0x000000000000000f (RPATH) Library rpath: [/export/easybuild/software/ncurses/5.9-foss-2015a/lib -rpath=/export/easybuild/software/zlib/1.2.8-foss-2015a/lib -rpath=/software/easybui So it is detecting the first -rpath= and not seeing the spaces, thus concatenating that all together. That seems wrong... @ocaisahttps://github.com/ocaisa have you seen anything like that? — Forschungszentrum Juelich GmbH Prof. Dr. Sebastian M. Schmidt |
Using
RPATH
as an alternative to modules for handling dependencies should be supported by the EasyBuild framework.The text was updated successfully, but these errors were encountered: