-
Notifications
You must be signed in to change notification settings - Fork 5
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 fast-wrapper #1032
Comments
Maybe we don't need a wrapper, but can manipulate the shared library path otherwise: see https://blog.andrewbeacock.com/2007/10/how-to-add-shared-libraries-to-linuxs.html?m=1 Additionally, we need an integration test which verifies the correct order in |
AI says: Yes, you can set the To set the patchelf --set-rpath /path/to/your/directory your_binary Or, you can also use the gcc -o your_binary your_source.c -Wl,-rpath,/path/to/your/directory Using If you have any issues or need further assistance, please feel free to ask! |
If we use the wrapper, we would need to add a test for %env LD_LIBRARY_PATH |
Background
It turns out we need to manipulate the "LD_LIBRARY_PATH" of the UDF client during the runtime. More specifically, we need to extend this environment variable coming from the database with specific values of the Script-Languages-Container, i.e. the path to the conda cuda-compat libraries.
As this is not possible in the UDF client itself (subsequent loading of shared libraries ignores the newly set environment variable), we need to implement a fast wrapper, similar to the slow wrapper bash scripts, but in C++.
Acceptance Criteria
::getenv()
and::setenv()
)exaudfclient
binary then with the passed arguments, via::execve()
.build_run
step.exaudfclient
pathstandard-Exasol-8-cuda-ml
flavorAlternative
Manipulate
/etc/ld.cache.so
. See comment belowThe text was updated successfully, but these errors were encountered: