【问题标题】:How to revive / resubmit stuck SGE jobs ( Usage of qsub? )如何恢复/重新提交卡住的 SGE 工作(qsub 的用法?)
【发布时间】:2020-11-09 12:22:55
【问题描述】:

我正在尝试恢复/重新提交由于节点崩溃或 AWS 现货实例被带走而导致的卡住作业(在 SGE 调度程序上运行)?有人可以帮助恢复这些工作吗?我一直在尝试了解 qsub 的用法,但无法配置会自动重新提交此类作业的内容。

也无法使用 qconf 命令配置我的队列,因为只有 rootsge_admin 用户可以运行此命令,我确实有 root-权限,但要求我设置 SGE_ROOT 环境变量,我这样做了,但仍然抛出错误来设置变量。 p>

我们将不胜感激任何形式的帮助。

【问题讨论】:

    标签: amazon-web-services hpc sungridengine spot-instances


    【解决方案1】:

    来自 qsub 手册页:

      -r y[es]|n[o]
           Available for qsub and qalter only.
    
           Identifies the ability of a job to be rerun or not.  
           If the value of -r is 'yes', the job will be rerun if the job was 
           aborted without leaving a consistent  exit state.  
    
           (This is typically the case if the node on which the job is running
           crashes).  If -r is 'no', the job will not be rerun under any circumstances.
           Interactive jobs submitted with qsh, qrsh or qlogin are not rerunnable.
    
           Qalter allows changing this option even while the job executes.
    

    所以添加

    #$ -r y
    

    在你的工作脚本中应该满足这一点。

    【讨论】:

      猜你喜欢
      • 2013-07-14
      • 1970-01-01
      • 1970-01-01
      • 2021-12-09
      • 2020-02-14
      • 1970-01-01
      • 1970-01-01
      • 2021-04-13
      • 1970-01-01
      相关资源
      最近更新 更多