change the walltime for currently running PBS job (qalter pbs)
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 jobid2.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://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)的更多相关文章
- PBS 安装
How to install PBS Pro using the configure script. . Install the prerequisite packages for building ...
- PBS命令和使用
PBS是公开源代码的作业管理系统,在此环境下运行,用户不需要指定程序在哪些节点上运行,程序所需的硬件资源由PBS管理和分配. PBS(Portable Batch System)是由NASA开发的灵活 ...
- PBS
赞同,已经试验成功.后来查手册: $man qdel-p 的功能是强制净化队列.这个 "p" 可能是 "purge" 的缩略形式 qsub,qdel,qmgr ...
- 【Linux】单计算机安装PBS系统(Torque)与运维
1.此次使用torque-5.0.0-1_43d8f09a.tar.gz这个版本http://www.adaptivecomputing.com/downloading/?file=/torque/t ...
- Thinking in Unity3D:基于物理着色(PBS)的材质系统
关于<Thinking in Unity3D> 笔者在研究和使用Unity3D的过程中,获得了一些Unity3D方面的信息,同时也感叹Unity3D设计之精妙.不得不说,笔者最近几年的引擎 ...
- PBS 作业调度应用
PBS(Portable Batch System),最初由 NASA 的 Ames 研究中心开发,主要为了提供一个能满足异构计算网络需要的软件包,用于灵活的批处理(Portable Batch Pr ...
- linux -目录结构
摘自:http://www.comptechdoc.org/os/linux/usersguide/linux_ugfilestruct.html 这个目录结构介绍是我目前看到介绍最全的,有时间在翻译 ...
- Life Cycle of Thread – Understanding Thread States in Java
Life Cycle of Thread – Understanding Thread States in Java 深入理解java线程生命周期. Understanding Life Cycle ...
- extentreports报告插件之extentX之服务搭建(三)
之前两个章节已经写完再extentreports报告插件与testng 的集成,但是发现 每次测试完后,生成的报告都要在单独发送,每个项目都有一份报告,如果项目多的话,管理起来就会很冗余. 这个给大家 ...
随机推荐
- NOIP201302表达式求值
NOIP201302表达式求值 题目描述 Description 给定一个只包含加法和乘法的算术表达式,请你编程计算表达式的值. 输入描述 Input Description 输入仅有一行,为需要你计 ...
- Android 多线程通信 访问网络
package org.rongguang.testthread; import android.app.Activity; import android.os.Bundle; import andr ...
- ubuntu使用记录
常用指令 ls 显示文件或目录 -l 列出文件详细信息l(list) -a 列出当前目录下所有文件及目录,包括隐藏的a(all) mkdir ...
- LUA笔记之表
表据说是LUA的核, 呵呵, 看例子吧, 看上去, 跟java的list很像, 又有点像json: a = {} -- create a table and store its reference i ...
- chrome调试找不到 XXXX.min.map 原因及解决办法
什么是source map文件. source map文件是js文件压缩后,文件的变量名替换对应.变量所在位置等元信息数据文件,一般这种文件和min.js主文件放在同一个目录下. 比如压缩后原变量是m ...
- SQL SERVER 2008 中三种分页方法与总结
建立表: CREATE TABLE [TestTable] ( , ) NOT NULL , ) COLLATE Chinese_PRC_CI_AS NULL , ) COLLATE Chinese_ ...
- oracle数据库表空间文件收缩实例
Oracle数据文件收缩实例 数据文件的作用 HWM的基本概念 查看数据文件的使用情况 包括内容:数据文件大小,已经used空间,free空间,hwm信息 select /*+ ordered use ...
- [ios][opengles]opengles在ios上的透明问题
关于透明,OpenGL/ES 中可以通过 blend (混色) 来简单实现,混色的基本原理就是把要绘制的物体的颜色与屏幕上已经绘制好的颜色以一定比例来混合,最后的颜色看上去就像半透明一样.要使用混合先 ...
- List null
List<String> list = new ArrayList<String>(); 不给list add,list也不为null 所以list判断有没有数据,只能用判断l ...
- 两句话概括“sql外键”
外键的使用就是: 1.外键表可以删除,外键表删完了 才能删主键表2.添加的时候不能添加在主键没有的内容