use warning.warn to report when MPI not being used.

[CHANGED] to allow filtering messages