#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):
Replying to [comment:9 rhaas]:
When you say "tells Cactus that thorn is ready" do you mean "cactus
thornlib or make.checked target depends on this so that thornlib or make.checked is updated triggering dependent thorns to rebuild themselves"?
Yes.
For 'available' it says "is created and/or updated whenever detection is
run and something was detected." does that mean "available" is not touched if detection is run and nothing was detected (this would seem to be in direct contradiction of "tells the make system whether build.sh needs to run, i.e., whether after detection a build is necessary. ")? Which script creates/touches 'available'? Only detect.sh or sometimes also build.sh?
Good questions. I think I might have gotten something wrong.
'available' will get set both by detect.sh when something was detected, and by build.sh if it was build. Both will update the time stamp. However, this leaves us with the problem that we both want to use it to see if detect.sh found something, but also for preserving the last built date (if build). We cannot do both, as detect.sh should remove the file in case nothing is detected to indicate that. Do we need yet another indicator ('done', 'last_build', 'syslib_detected')?