SGE所说的"positive submission priority requires operator privileges"是什么意思?



我对SGE比较陌生,当我尝试运行作业时遇到这个错误:

"系统错误信息:无法运行作业:作业被拒绝:正提交优先级需要操作员权限。"

我已经添加了几个用户,创建了一个访问列表(用户)并将它们添加到其中,然后在我的主队列中设置user_lists = users。

是否每个用户都需要添加到操作符列表中?为什么会这样?

正如错误消息所暗示的那样,您正在提交的作业的优先级是什么,该值是否非法?普通用户的作业优先级不能为正:

-p priority
              Available for qsub, qsh, qrsh, qlogin and qalter only.
              Defines  or redefines the priority of the job relative to other jobs.  Prior-
              ity is an integer in the range -1023 to 1024.  The default priority value for
              jobs is 0.
              Users may only decrease the priority of their jobs.  Grid Engine managers and
              administrators may also increase the priority  associated  with  jobs.  If  a
              pending  job has higher priority, it is earlier eligible for being dispatched
              by the Grid Engine scheduler.

一般来说,不是所有的用户都是操作符。操作员类似于admin用户。所以,我怀疑你是提交工作与非法默认优先级。也许您将此设置为sge_request配置文件中的无效值?

示例$SGE_ROOT/default/common/sge_requestsge_request文件:

#
#
# This file contains cell wide default submit options which are
# automatically applied to all job submission requests. Users can get rid of
# these defaults by using the -clear option.
#
# See sge_request(5) for a detailed description of the file format.
#
#___INFO__MARK_BEGIN__
##########################################################################
#
#  The Contents of this file are made available subject to the terms of
#  the Sun Industry Standards Source License Version 1.2
#
#  Sun Microsystems Inc., March, 2001
#
#
#  Sun Industry Standards Source License Version 1.2
#  =================================================
#  The contents of this file are subject to the Sun Industry Standards
#  Source License Version 1.2 (the "License"); You may not use this file
#  except in compliance with the License. You may obtain a copy of the
#  License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
#
#  Software provided under this License is provided on an "AS IS" basis,
#  WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
#  WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
#  MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
#  See the License for the specific provisions governing your rights and
#  obligations concerning the Software.
#
#  The Initial Developer of the Original Code is: Sun Microsystems, Inc.
#
#  Copyright: 2001 by Sun Microsystems, Inc.
#
#  All Rights Reserved.
#
##########################################################################
#___INFO__MARK_END__
#
# Sample #1 prevents job submissions of jobs which can
# never be scheduled.
#
# -w e
#
#
# Sample #2 causes the jobs standard error stream to be merged
# into the standard outout stream.
#
# -j y
#
#
# Sample #3 assigns a low default submit priority. For higher
# prior jobs the priority can be increased at jobs submission
# time by uing "-p <higher_priority>". The value of
# <higher_priority> may not exeed 0 because priorities above
# this value can only be set by managers.
#
# Please notice that in GRD submission priorities have a
# different meaning.
#
-q short.q -l h_vmem=3g

相关内容

  • 没有找到相关文章

最新更新