[argobots-discuss] Assertion failing in ABT_Finalize

Dorier, Matthieu mdorier at anl.gov
Wed Jul 21 09:32:52 CDT 2021


Thanks! Yes, we found an ES that wasn’t freed.
Matthieu

From: Iwasaki, Shintaro <siwasaki at anl.gov>
Date: Wednesday, 21 July 2021 at 14:47
To: discuss at argobots.org <discuss at argobots.org>, ZHE WANG <zw241 at scarletmail.rutgers.edu>
Cc: Dorier, Matthieu <mdorier at anl.gov>
Subject: Re: Assertion failing in ABT_Finalize
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().

Thanks,
Shintaro
________________________________
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


Hi,



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?



Thanks,

Matthieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.argobots.org/pipermail/discuss/attachments/20210721/15b0bcad/attachment-0001.html>


More information about the discuss mailing list