def METHOD_NAME(vm):
  """Compiles the MKL FFT interfaces.
  Args:
    vm: Virtual Machine to compile on.
  """
  vm.Install('build_tools')
  mpi_lib = 'openmpi'
  make_options = ('PRECISION=MKL_DOUBLE '
                  'interface=ilp64 '
                  f'mpi={mpi_lib} '
                  'compiler=gnu')
  for interface in ('fftw2xc', 'fftw2xf', 'fftw3xc', 'fftw3xf'):
    cmd = (f'cd /opt/intel/mkl/interfaces/{interface} && '
           f'sudo make libintel64 {make_options}')
    vm.RemoteCommand(cmd)