so I have some code that uses dlopen
for loading libraries, and I want it to work on a bluegene system, but I don't have a bluegene to test things on, and I've never directly worked with one. Does bluegene support ltdl.h
, or does it use something else? if so, what does it use?
Do Bluegene systems support ltdl or any other kind of dlopen() support?
BlueGene/L does not support dynamic linking or loading of libraries. This is explained in the redbook in chapter 5.
Although Blue Gene/L uses the IBM XL compilers, there are differences with respect to all other IBM servers. In particular, in the case of the IBM pSeries Linux programming model, some of the differences from Linux PPC64 are:
- No stdin
- No asynchronous I/O
- No dynamic linking
- No demand paging/swap
- Virtual address space is mapped 1-on-1 with physical memory
- No read-only memory
- Due to CNK design decision – No SIGSEGV writing to a const char *p
Dynamic libraries are supported on BlueGene/P.
Actually, that seems to be from Chapter 5 of the linked redbook. –
Miser
© 2022 - 2024 — McMap. All rights reserved.
dlopen()
you would need run-time testing to ensure your code works as expected anyway. – Featurelength