[argobots-discuss] Assertion failing in ABT_Finalize

Iwasaki, Shintaro siwasaki at anl.gov
Wed Jul 21 08:47:06 CDT 2021

Hi Mathieu,

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().

From: Dorier, Matthieu via discuss <discuss at lists.argobots.org>
Sent: Wednesday, July 21, 2021 3:44 AM
To: discuss at argobots.org <discuss at argobots.org>; ZHE WANG <zw241 at scarletmail.rutgers.edu>
Cc: Dorier, Matthieu <mdorier at anl.gov>
Subject: [argobots-discuss] Assertion failing in ABT_Finalize


In a program we are hitting this assertion: https://github.com/pmodels/argobots/blob/main/src/global.c#L346

This happens when we try to finalize Argobots. Any idea what could be causing it?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.argobots.org/pipermail/discuss/attachments/20210721/4fd73b7d/attachment.html>

More information about the discuss mailing list