list dynamic libraries
It would be nice if art had a feature such that, for a given fcl job configuration, the art executable could list the shared libraries that it will dynamically load.
#1 Updated by Christopher Green over 4 years ago
- Status changed from New to Feedback
- ROOT Dictionaries.
- Modules (filters, analyzers, producers, outputs).
- Module-specific plugins (EmptyEventTimestampPlugin, FileCatalogMetadataPlugin, user-craeted plugins).
At what point would you wish to end execution of an art job that provided this information? After module construction is done, after the first event has been processed, or after normal execution of the job?
If what you need is a full list of all dynamic libraries that will be required by the job, including those required only by plugins (such as algorithm libraries), then the Linux-specific environment variable,
LD_DEBUG=files will provide the information you require with no change to art: just grep for "calling init." In this case, the art execution will proceed normally while providing the extra information.
LD_DEBUG_OUTPUT allows one to redirect this information to the desired place.