interop: bug fix in exit invocation for interop
[charm.git] / src / ck-core / mpi-mainmodule.C
blob88fd8154b00727e67aa86a3cf7fdafb477956c99
1 #include "mpi_main.decl.h"
2 #include "mpi-interoperate.h"
4 /*mainchare of mainmodule for interoperability*/
5 class mpi_main : public CBase_mpi_main
7 public:
8   mpi_main(CkArgMsg* m) 
9   {
10     delete m;
11     thisProxy.exit();
12   };
14   void exit() {
15     CkExit();
16   }
18 #include "mpi_main.def.h"