Thanks for your question. It looks that this happens because some execution streams are not freed before calling ABT_finalize().
Before ABT_finalize(), the user needs to free all execution streams (except for the primary execution stream: an execution stream that calls the first ABT_init()) by ABT_xstream_free().
Thanks,
Shintaro
From: Dorier, Matthieu via discuss <discuss@lists.argobots.org> Sent: Wednesday, July 21, 2021 3:44 AM To: discuss@argobots.org <discuss@argobots.org>; ZHE WANG <zw241@scarletmail.rutgers.edu> Cc: Dorier, Matthieu <mdorier@anl.gov> Subject: [argobots-discuss] Assertion failing in ABT_Finalize