triqs.utility.mpi.check_for_mpi

triqs.utility.mpi.check_for_mpi()[source]

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

is_mpi: bool
True if triqs called with mpirun