Qalter jobid-l walltime=x
e.g.
Qalter 377470.manager-l walltime=2222:00:00
qalter:unauthorized Request 377470.manager
Note:
You cannot do any alterations to the executable portion of the script, nor can do any changes after the job starts Running.
Notes:
To alter requested resources for a currently queued (and not running) job use the Qalter command. You can change the wallclock limit, the account of be charged, e-mail options, the Stdout/stderr paths, and the total Numbe R of cores needed or the number of cores per node (MPPNPPN), among other things. See the "Qsub" Mans page for details. The important restrictions is that you cannot change any attributes once your job begins running and you cannot chang e mppwidth So, the job moves across the execution queue boundaries. Usage Examples:
1.
hopper% qalter -lwalltime=new_walltime jobid
2.
hopper% qalter -lmppwidth=new_mppwidth jobid
REF:
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)