Opened 4 months ago

Last modified 4 months ago

#2201 reopened enhancement

included walltime clock in CCTK_VWarn and CCTK_VInfo output

Reported by: Roland Haas Owned by:
Priority: optional Milestone:
Component: Cactus Version: development version
Keywords: Cc:


To correlate events in Cactus with external events on a cluster (eg IO slowdown, node or network maintenance, network congestion events) it would be useful to (have the option of) including the current time in warning messages output by Cactus, eg something like:


for hours, minutes, seconds and fractions of seconds (which wraps around at midnight but that should be something that one can figure out).

Runtime in seconds would be less useful for this since one then has to check when the run actually started.

Attachments (0)

Change History (4)

comment:1 Changed 4 months ago by Erik Schnetter

The parameter setting cactus::info_format = "human-readable time stamp" should do this.

comment:2 Changed 4 months ago by Roland Haas

Resolution: worksforme
Status: newclosed

Great! I had no idea that this existed. Thank you.

comment:3 Changed 4 months ago by Erik Schnetter

Should we change the default?

comment:4 Changed 4 months ago by Roland Haas

Resolution: worksforme
Status: closedreopened


Changing the default probably break people parsing scripts eg that look for the mass from TwoPunctures (see: and eg StringMatchQ["a Foo", "Foo" (* Foo is pattern *)] -> False).

Having said that though: yes, I would think that changing the default info (and warning format) might be nice but will take two releases. Namely changing the defaults to:

  • Cactus::highlight_warning_messages = no
  • Cactus::info_format = "human-readable time stamp"

the latter is a bit verbose since it contains the full date in the form "Wed Jun 30 21:49:08 1993" which is overkill and somewhat hard to parse while we would likely be fine with the HH:MM:SS part.

Modify Ticket

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