- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Tags:
- General Support
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Very helpful,
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page