add mpi_offset to the module check since it often seems to be missing