Project

General

Profile

Bug #2063

CkCallback::ckExit does not work with interop mode

Added by Eric Mikida 27 days ago. Updated 1 day ago.

Status:
Merged
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
03/28/2019
Due date:
% Done:

0%

Tags:

Description

Instead of calling CkExit, which is redefined by mpi-interoperate.h to only exit the library and stop the charm scheduler, it calls the full CkExit and exits the program.

History

#1 Updated by Evan Ramos 12 days ago

This is probably a matter of undefining (and redefining?) the macro magic to allow an optional parameter in C.

#2 Updated by Eric Mikida 6 days ago

  • Target version set to 6.10.0
  • Status changed from New to Implemented

Messing with the macro wouldn't really work. It's the fact that the CkExit macro is redefined for interop mode. But that redef is only visible to files which include the interop header. CkCallback does not, so it calls regular CkExit instead of LibCkExit. I don't think this change is feasible to do at compile time, but considering its a one time callback, I don't think that matters.

Implementation here: https://charm.cs.illinois.edu/gerrit/c/charm/+/5106

#3 Updated by Eric Mikida 1 day ago

  • Status changed from Implemented to Merged

Also available in: Atom PDF