-
Notifications
You must be signed in to change notification settings - Fork 356
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
INSTALL does not have complete cmake instructions for BlueGeneQ #390
Comments
Hi @apeyser,
See the official Compiling and Tuning Applications on JUQUEEN site:
Also the On the LTDL issue: If
|
@tammoippen NB: That's old, and for most applications it's an urban myth. XLC compiles by default statically to hack around bad build scripts from the early days on BGQ when GPFS hadn't been tuned properly, which then required counter-hacks to turn dynamic linking back on --- the usual bad design leading to further bad design. If you're running code that uses 8 out of 64 cores / node, worrying about a 10 second delay on startup to load dynamic libraries is worse than crazy. NB: In fact, a thesis was just given out that shows that shared library load time is independent of number of tasks, once the partition distribution was accounted for. Ok, I'll test that I can do what you suggest, and then we should add that to the INSTALL. NB: By "the cmake code" I mean the cmake files shipped with cmake --- BGQ comprises 30+ files, and pkg-config is ~1000 lines of code. That's crazy! |
@tammoippen
I get:
So it looks like the pthread tool chain that I'm picking up references some dl pieces. |
@apeyser
Compiling with python3 on JUQUEEN would look like this: cd <nest-src>/pynest
/bgsys/local/python3/3.4.2/bin/cythonize pynestkernel.pyx Then, configure NEST for BG/Q+dynamic+PyNEST-libltdl:
I run it like this:
Loading the PyNEST |
@tammoippen I've gotten to where you are. So, the old autoconf system needs to be built and tested, which is a painful process with JQ. |
@apeyser Does this problem still persist? |
Closing due to inactivity. |
Does not work:
is needed... but still does not work, because LTDL_LIBRARIES are not found.
Additionally the INSTALL says:
"It is recommended to build statically on larger BlueGene/Q systems."
Who says so? That hasn't been an issue on BGQ systems for more than a year. The problem is that the CMake code is incomplete/incorrect/hacked, and not any essential problem with dynamic loading on BGQ --- even the performance issues have been vastly ameliorated.
This becomes a higher priority issue vis-a-vis cmake, given that "cmake is bad" will become an issue on new architectures.
The text was updated successfully, but these errors were encountered: