#include <Utils_Timer.hxx>
#endif
+#ifdef HAVE_MPI2
+#include <mpi.h>
+#endif
+
#include <Python.h>
static PyMethodDef MethodPyVoidMethod[] =
try
{
-
+#ifdef HAVE_MPI2
+ MPI_Init(&argc,&argv);
+#endif
// Initialise the ORB.
ORB_INIT &init = *SINGLETON_<ORB_INIT>::Instance() ;
ASSERT(SINGLETON_<ORB_INIT>::IsAlreadyExisting()) ;
{
INFOS("Caught unknown exception.")
}
+#ifdef HAVE_MPI2
+ MPI_Finalize();
+#endif
END_OF(argv[0]);
}