Opened 7 years ago

Last modified 7 years ago

#593 new enhancement

Use shared libraries in Cactus

Reported by: Erik Schnetter Owned by:
Priority: major Milestone:
Component: Cactus Version:
Keywords: Cc:


I tend to have a single thorn list with many thorns. Building executables is slow, and much time is spent in the final link stage. With shared libraries, this time could be much reduced. Using shared libraries seems to be simple on many architectures; there are either ld flags one can use, or one could use libtool for the implementation.

This would also be a first step towards building thorns (or external libraries) independently of each other.

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by Frank Löffler

That would be nice indeed. However, it would require a bit of infrastructure, especially on simfactory scripts. One issue with a 'split' executable would be that all libraries would need to be accessible on the compute nodes, so simfactory would need to copy them into the job directories and use these (also for consistency reasons). In addition, for startup of large jobs it is usually good to "pre-load" the executable into memory before starting the job. This would also need to be done for all libraries, which isn't that difficult but would need to be done.

We should have at least the library-copy in place before we enable this. There might be other issues as well, but I cannot think of something else right now.

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.
Next status will be 'review'.
as The resolution will be set.
to The owner will be changed from (none) to the specified user.
Next status will be 'confirmed'.
The owner will be changed from (none) to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.