Hello!
I am trying to change the walltime in my jobs to be something other than 6 hours.
This appears to be impossible.
I tried the methods given in the FAQs such as:
echo python main.py -l walltime=24:00:00 | qsub
#PBS -l walltime=24:00:00
While the job is running I tried:
qalter jobid -l walltime=24:00:00
and got this output:
qalter: Unauthorized Request jobid
Thanks,
Hagai
Link Copied
Hi,
Thanks for reaching out to us.
qalter command is used to alter requested resources for a currently queued (and not running) job.
To extend the default limit to 24 hrs, use "#PBS -l walltime=24:00:00" in your job file.
Please follow the below steps:
1. Create a job file
vi job
2. Inside the file please add
#PBS -l walltime=24:00:00 python <sample.py>
3. Save the file
Press [Esc] to shift to the command mode and press :wq! and hit [Enter] to save the file.
4.Run the job
qsub job
Hope this helps. If you face any issues please let us know.
Thanks
Very helpful,
Thanks!
Hi,
Glad to know that the solution provided was helpful.
We are closing this thread. Please feel free to open a new thread if you have any further queries.
Thanks
For more complete information about compiler optimizations, see our Optimization Notice.