Sure, since compiler and MPI lib are the major components in a toolchain.

See for example http://rc.fas.harvard.edu/module_list/, which has `_<mpi_lib>_` as part of the module name...