Opened 6 years ago

Last modified 6 years ago

#1223 new defect

Formaline always triggeres new link

Reported by: Frank Löffler Owned by:
Priority: minor Milestone:
Component: EinsteinToolkit thorn Version: development version
Keywords: Cc:


Without any changes 'make sim' should check for changes, find nothing and do nothing as result. This happens without Formaline compiled in. With Formaline in the thornlist, even without any changes, 'make sim' triggers a new link. With a lot of thorns this can take a long time, especially on some of the clusters - and should be avoided.

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by Erik Schnetter

A new executable is built because Formaline records the build time and date into a unique identifier that identifies this build. This identifier changes, and hence a very small file is recompiled. This also triggers the linking stage.

Cactus itself also records the time and date of the build into a file datestamp.c. Maybe moving Formaline's identifiers into this file would solve this issue.

comment:2 Changed 6 years ago by Frank Löffler

datestamp.c is only compiled if the linking actually happens. There is a special rule for that in the Cactus make system (actually not even a real rule - it is part of the linking phase). I would expect that either moving this part of Formaline into that file, or making Cactus aware of other files that only need to be compiled if linking needs to be done.

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.