-
Notifications
You must be signed in to change notification settings - Fork 50
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
RUNPATH/LD_LIBRARY_PATH Fixes #138
base: master
Are you sure you want to change the base?
Conversation
doesn't solve the problem of being able to specify libs, like we wanted to do on Pal, because whatever's in LD_LIBRARY_PATH will still be prepended by srun_prolog
Oh, and I also was just looking at how |
(btw, I think this need not hold up flipping the bit, it's definitely an edge case) |
Let me know if you think it's alright to merge into |
/// called on failures to backtrace and pause for debugger | ||
void failure_function() { | ||
void failure_function(int ignore = 0) { | ||
fprintf(stderr, "!! failure function\n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will disappear, right? :-)
Hmm, actually it looks like this didn't completely solve the problem: now Gasnet freeze works for segfaults, but not for assertion failures. |
Using RUNPATH again, and should be prepending LD_LIBRARY_PATH correctly, but doesn't solve the problem of being able to specify libs like we wanted to do on Pal, because whatever's in LD_LIBRARY_PATH will still be prepended by srun_prolog.
This solution is, first of all, pretty messy as it involves now hardcoding the lib path in the run script, but still doesn't allow us to point at different libraries dynamically.
@nelsonje: Any ideas about how to do this better?