Middleware Detection

Middleware detection and setup code

middleware.cleanupMPI()[source]

Shut down the MPI backend by sending a termination message to all listening nodes

middleware.startupMiddleware()[source]

Do the actual detection and startup, also defines all necessary globals

Returns:tuple – current server rank and total world size