Middleware Detection

Middleware detection and setup code

pypdevs.middleware.cleanupMPI()[source]

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

pypdevs.middleware.startupMiddleware()[source]

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

Returns

tuple – current server rank and total world size