Problem with adding/removing configuration.ccl files

Create issue
Issue #531 new
Erik Schnetter created an issue

Cactus doesn't handle well adding or removing configuration.ccl files. When a new configuration.ccl file is added, Cactus ignores it until the next "rebuild" (i.e. until another ccl file changes, until the thorn list changes, or until the user calls *-rebuild explicitly). When a configuration.ccl file is removed, make aborts with an error message, and a rebuild is forced.

One way to remedy this would be to have (empty) configuration.ccl file in all thorns. After all, param.ccl and schedule.ccl files also need to be present even if they are empty. This would also remove a bit of complex logic from the Cactus make system.

Keyword:

Comments (3)

  1. Ian Hinder
    • removed comment

    Why can the CST not just depend on all the present CCL files? Then if a new one is created, it will have a later timestamp than the CST marker file (whichever that is), and the CST will be rerun?

  2. Erik Schnetter reporter
    • removed comment

    That may be possible by using shell wildcard characters in the dependencies, e.g.

    <timestamp>: *.ccl or

    CCLFILES = $(wildcard *.ccl)

  3. Log in to comment