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

Create issue
Issue #2401 new
Roland Haas created an issue

Change debc2be4
https://bitbucket.org/cactuscode/cactus/commits/debc2be4bf38df287bf5d5d74a238a67f3078f26 "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 (0)

  1. Log in to comment