adamtuft/otter

Getting task-begin and task-create callbacks from Intel runtime for initial task

Closed this issue · 2 comments

Have previously noted that Intel runtime gives task-create and task-enter callbacks for initial task, while LLVM does not. Thought I'd fixed this.

Noticed when running BOTS fib that trace includes these events when invoked with Intel runtime. Results in duplicate task nodes for the initial task, which is not intended.

Have tried and failed to reproduce this, closing for now until I can do so.

Have been able to duplicate this by invoking an icc-compiled app and clang-compiled Otter - the issue happens because the code that skips the inital-task-create event is only present when compiling Otter under Intel. Remove the #ifdef and all should work as expected.