CCTK_ScheduleTraverse returns error when trying to traverse Cactus BINS if they are empty

Create issue
Issue #2401 resolved
Roland Haas created an issue

Change debc2be4 "Cactus: inform caller if schedule traversal failed" causes ScheduleTraverse to return error code 2 when trying to traverse a schedule item that is empty.

This causes unexpected error returns for the Cactus schedule BINs (INITIAL, EVOL, etc) that are assumed to always exist, but in fact do not exist if nothing is scheduled in them.

The simplest workaround is likely for the flesh to schedule empty schedule items for them to ensure they always exist.

Neither PUGH nor Carpet check error returns from ScheduleTravserse, even though it always could return an error code if it ran out of memory.

Comments (6)

  1. Log in to comment