Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud

Walltime cannot be increased

Michel__Hagai
Beginner
1,034 Views

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

0 Kudos
3 Replies
AthiraM_Intel
Moderator
1,034 Views

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

0 Kudos
Michel__Hagai
Beginner
1,034 Views

Very helpful,

Thanks!

0 Kudos
AthiraM_Intel
Moderator
1,034 Views

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

0 Kudos
Reply