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
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 <[email protected]> Sent: Wednesday, July 21, 2021 3:44 AM To: [email protected] <[email protected]>; ZHE WANG <[email protected]> Cc: Dorier, Matthieu <[email protected]> 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
Thanks! Yes, we found an ES that wasn’t freed. Matthieu From: Iwasaki, Shintaro <[email protected]> Date: Wednesday, 21 July 2021 at 14:47 To: [email protected] <[email protected]>, ZHE WANG <[email protected]> Cc: Dorier, Matthieu <[email protected]> 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 <[email protected]> Sent: Wednesday, July 21, 2021 3:44 AM To: [email protected] <[email protected]>; ZHE WANG <[email protected]> Cc: Dorier, Matthieu <[email protected]> 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
participants (2)
-
Dorier, Matthieu -
Iwasaki, Shintaro