def METHOD_NAME(self, env, env_sh):
    command = ru.which('srun')
    out, err, ret = ru.sh_callout('%s -V' % command)
    if ret:
        raise RuntimeError('cannot use srun [%s] [%s]' % (out, err))
    version = out.split()[-1]
    vmajor  = int(version.split('.')[0])
    self._log.debug('using srun from %s [v.%s]', command, version)
    lm_info = {'env'     : env,
               'env_sh'  : env_sh,
               'command' : command,
               'version' : version,
               'vmajor'  : vmajor}
    return lm_info