Modify

Opened 7 years ago

Last modified 6 years ago

#531 new defect

Problem with adding/removing configuration.ccl files

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

Description

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.

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by Erik Schnetter

What do others think?

comment:2 Changed 6 years ago by Ian Hinder

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?

comment:3 Changed 6 years ago by Erik Schnetter

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

<timestamp>: *.ccl

or

CCLFILES = $(wildcard *.ccl)

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.