Skip to content

use global symbols on Unix to support LD_PRELOAD interception#451

Merged
simonbyrne merged 4 commits into
masterfrom
sb/ldpreload
Jan 26, 2021
Merged

use global symbols on Unix to support LD_PRELOAD interception#451
simonbyrne merged 4 commits into
masterfrom
sb/ldpreload

Conversation

@simonbyrne
Copy link
Copy Markdown
Member

This is an alternative to #450 that only uses global symbols on unix systems.

@lyon-fnal would you be able to try this out?

@lyon-fnal
Copy link
Copy Markdown

Thanks - I'll try this hopefully later today.

Comment thread src/implementations.jl
@musm
Copy link
Copy Markdown

musm commented Jan 8, 2021

Does this make JuliaIO/HDF5.jl#791 unecessary ?

Also note Mose's reply in JuliaIO/HDF5.jl#791 (comment)

@simonbyrne
Copy link
Copy Markdown
Member Author

No, but you could use the same trick (macro wrapper around ccall)

@lyon-fnal
Copy link
Copy Markdown

Sorry - couldn't get back to this until now. I'm trying it!

@lyon-fnal
Copy link
Copy Markdown

It works fine on my simple test!

@simonbyrne
Copy link
Copy Markdown
Member Author

Thanks. @vchuravy any additional thoughts before we merge?

@lyon-fnal
Copy link
Copy Markdown

I'm trying a more complex test and with the package compiler.

@lyon-fnal
Copy link
Copy Markdown

My complex test worked. I didn't get much info out of Darshan, because I'm not doing collective MPI-IO. But that's not your problem :-) . If you are waiting on me to merge, I think you can go ahead. Thanks!

@simonbyrne
Copy link
Copy Markdown
Member Author

Thanks @lyon-fnal!

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.

4 participants