qalter jobid -l walltime=X

e.g.
qalter 377470.manager -l walltime=2222:00:00
qalter: Unauthorized Request  377470.manager

Notes:

To alter requested resources for a currently queued (but not running) job use the qalter command.  You can change the wallclock limit, the account to be charged, email options, the stdout/stderr paths, and the total number of cores needed or the number of cores per node (mppnppn), among other things.  See the "qsub" man page for details. The two important restrictions are that you cannot change any attributes once your job begins running and you cannot change mppwidth so that the job moves across the execution queue boundaries.  Usage examples:

1.hopper% qalter -lwalltime=new_walltime jobid
2.hopper% qalter -lmppwidth=new_mppwidth jobid
 

改变cpu数量:

qalter -l nodes=1:ppn=10  jobid #(小写的L)

修改pbs队列:

qalter <jobid> -W queue=<new queue name>

$ qstat | grep  9999 | grep  AAAA  | sed 's/er.*/er/g' | awk '{print "qalter "$0" -W queue=middleq"}'

修改依赖的job:

qalter -W depend=afterok:6250.centos64 5951.centos64

qalter -W depend=afterok:new_job_id old_job_id

old_job_id 执行完成之后才能执行new_job_id

启动torque:

启动所有服务(需要root权限)
pbs_server
pbs_sched
pbs_mom

批量取消pbs:

qstat | grep zh | grep Q | sed 's/er.*/er/g' | awk '{print "qdel "$0}'
qstat | grep zh | grep H | sed 's/er.*/er/g' | awk '{print "qdel "$0}'

qstat | grep zh | grep R | sed 's/er.*/er/g' | awk '{print "qdel "$0}'

REF:

http://scicomp.stackexchange.com/questions/7149/changing-the-queue-for-an-already-submitted-pbs-job


https://www.nersc.gov/users/computational-systems/hopper/running-jobs/monitoring-jobs/

https://www.osc.edu/supercomputing/batch-processing-at-osc/monitoring-and-managing-your-job

http://torqueusers.supercluster.narkive.com/wWbtPk3E/can-i-add-to-the-walltime-of-a-running-job

http://stackoverflow.com/questions/8005906/is-there-a-way-to-change-the-walltime-for-currently-running-pbs-job

http://docs.adaptivecomputing.com/suite/8-0-1/basic/help.htm#topics/torque/commands/qalter.htm%3FTocPath%3DTORQUE%2520Resource%2520Manager%7CAppendices%7CAppendix%2520A%253A%2520Commands%2520Overview%7C_____7

http://www.supercluster.org/pipermail/torqueusers/2011-May/012919.html

https://wiki.hpcc.msu.edu/pages/viewpage.action?pageId=13863972

http://www.clusterresources.com/pipermail/torquedev/2013-October/004607.html

change the walltime for currently running PBS job (qalter pbs)的更多相关文章

  1. PBS 安装

    How to install PBS Pro using the configure script. . Install the prerequisite packages for building ...

  2. PBS命令和使用

    PBS是公开源代码的作业管理系统,在此环境下运行,用户不需要指定程序在哪些节点上运行,程序所需的硬件资源由PBS管理和分配. PBS(Portable Batch System)是由NASA开发的灵活 ...

  3. PBS

    赞同,已经试验成功.后来查手册: $man qdel-p 的功能是强制净化队列.这个 "p" 可能是  "purge" 的缩略形式 qsub,qdel,qmgr ...

  4. 【Linux】单计算机安装PBS系统(Torque)与运维

    1.此次使用torque-5.0.0-1_43d8f09a.tar.gz这个版本http://www.adaptivecomputing.com/downloading/?file=/torque/t ...

  5. Thinking in Unity3D:基于物理着色(PBS)的材质系统

    关于<Thinking in Unity3D> 笔者在研究和使用Unity3D的过程中,获得了一些Unity3D方面的信息,同时也感叹Unity3D设计之精妙.不得不说,笔者最近几年的引擎 ...

  6. PBS 作业调度应用

    PBS(Portable Batch System),最初由 NASA 的 Ames 研究中心开发,主要为了提供一个能满足异构计算网络需要的软件包,用于灵活的批处理(Portable Batch Pr ...

  7. linux -目录结构

    摘自:http://www.comptechdoc.org/os/linux/usersguide/linux_ugfilestruct.html 这个目录结构介绍是我目前看到介绍最全的,有时间在翻译 ...

  8. Life Cycle of Thread – Understanding Thread States in Java

    Life Cycle of Thread – Understanding Thread States in Java 深入理解java线程生命周期. Understanding Life Cycle ...

  9. extentreports报告插件之extentX之服务搭建(三)

    之前两个章节已经写完再extentreports报告插件与testng 的集成,但是发现 每次测试完后,生成的报告都要在单独发送,每个项目都有一份报告,如果项目多的话,管理起来就会很冗余. 这个给大家 ...

随机推荐

  1. 1.js基础

    1.如何在html文档中使用js 1)使用<script></script>将JS语法嵌入到html中,可以使用多个,每个之间都是有关联的 2)href="javas ...

  2. C语言初学者代码中的常见错误与瑕疵(3)

    问题: n-1位数字 已知w是一个大于10但不大于1000000的无符号整数,若w是n(n≥2)位的整数,则求出w的后n-1位的数. 输入: 第一行为M,表示测试数据组数. 接下来M行,每行包含一个测 ...

  3. B2C电子商务网站技术框架

    一 设计原则 电子商务平台总体结构的设计应从体系.功能.信息.过程等各个方面保证整个电子商务平台总体目标的实现,以提高市场竞争能力.总体结构的设计应考虑以下设计原则: 快速响应原则:商机稍纵即逝,网站 ...

  4. Delphi 调用 Rest 服务的一些

    1.关于数据接收的格式 测试发现获取的json源数据中间汉字的地方是乱码,导致引号不配对,引发内存错误. TIdHttp在获取数据之前,要将定义的TStringStream的Encoding设置为UT ...

  5. linux下网卡启动、配置

    步骤1.配置/etc/sysconfig/network-scripts/ifcfg-eth0 里的文件. ifcfg-eth0的配置详情:[root@localhost ~]# vim /etc/s ...

  6. innodb的锁时间

    观察innodb的锁时间,需要关注: mysqladmin extended-status -r -i 1 -uroot | grep "Innodb_row_lock_time" ...

  7. 【secureCRT】如何在secureCRT上设置常用的快捷输出按钮栏

    转自:http://jingyan.baidu.com/article/5d6edee2f32de199eadeec25.html 方法/步骤   打开secureCRT软件,单击菜单栏上面的[查看] ...

  8. PHPExcel读取excel文件示例

    PHPExcel读取excel文件示例PHPExcel最新版官方下载网址:http://phpexcel.codeplex.com/PHPExcel是一个非常方便生成Excel格式文件的类,官方下载包 ...

  9. android 在应用中切换语言

    场景: 在设置中切换中英文,然后跳转MainActivity....步骤: 1.在MyApplication 中初始化语言 public class MyApplication extends App ...

  10. 2>&1 的用法说明

    经常关注linux脚本的人,一定看到过 2>&1 这样的用法,最初一定不明白其中的含义以及为什么是这样的一种组合.昨天偶然间再次看到了这个 2>&1 的写法,遂下决心搞明白 ...