#1897: MPI thorn builds when it shouldn't ------------------------------------+--------------------------------------- Reporter: hinder | Owner: Type: defect | Status: review Priority: blocker | Milestone: ET_2016_05 Component: EinsteinToolkit thorn | Version: development version Resolution: | Keywords: MPI ------------------------------------+---------------------------------------
Comment (by knarf):
'done': - tells Cactus - That that thorn is 'ready'. - The last update time of the status of that thorn (file date). This is used to decide whether dependencies need to be rebuilt. - created by detect.sh if nothing needs to be built (detected installed library) Otherwise not touched there. - created and/or modified (touched) always after build
'available': - not used by Cactus - tells the make system whether build.sh needs to run, i.e., whether after detection a build is necessary. - is created and/or updated whenever detection is run and something was detected. The update is necessary to make it newer than the file time of 'build.sh', which is what 'make' uses as comparison. The comparison is done so that a re-build is triggered if build.sh is changed (and detection doesn't find anything).
What is left is the (currently also buggy I think) case of a vanishing system library. In that case, 'done' would need to be removed by 'detect' (but isn't I think at the moment), and 'available' probably also should be removed in that case.