triqs.utility.mpi.
check_for_mpi
Simple function checking if triqs has been called with mpirun or without, by checking for typical MPI environment variables