For those who are interested:
i found my mistake:
# create the reservation
setres -u martin -s +00:03:00 -d 00:05:00 TASKS==1
# this creates the reservation martin.0
# the following is not enough to bind a job to the reservation
qsub -W x=FLAGS:ADVRES:martin.0 testjob.cmd
# i had to provide the walltime argument with a time shorter (or equal)
# than the duration of the reservation:
qsub -l walltime=00:03:00 -W x=FLAGS:ADVRES:martin.0 testjob.cmd
then everything works.
Maritn
Martin Feller schrieb:
Hi all,
First: I'm quite new to Torque and Maui. So forgive me if
this is a stupid question. But I didn't find a solution
in the mailing-lists yet.
I am running maui-3.2.6p16 and TORQUE 2.1.0p0.
My "Test-Cluster" consists of 1 node and I'm running
pbs_mom, pbs_server and maui on this node.
I allowed normal users to create reservations.
I want to set up a reservation and did the following
% setres -u martin -s +00:01:00 -d 0:10:00 TASKS==1
I can see the reservation :
-------------------------------------
% showres
Reservations
ReservationID Type S Start End Duration
N/P StartTime
martin.0 User - 00:01:18 00:11:18 00:10:00
1/1 Sun Jun 11 17:57:18
1 reservation located
--------------------------------------
But when I try to submit a job to use the created reservation:
% qsub -W x=FLAGS:ADVRES:martin.0 testjob.cmd
the job stays queued even if the reservation becomes active.
(job-id: 109)
maui.log says the following:
...
06/11 18:00:08 INFO: 1 feasible tasks found for job 109:0 in
partition DEFAULT (1 Needed)
06/11 18:00:08 INFO: inadequate feasible tasks found for job 109:0
(0 < 1)
06/11 18:00:08 MJobPReserve(109,DEFAULT,ResCount,ResCountRej)
06/11 18:00:08 MJobReserve(109,Priority)
06/11 18:00:08 INFO: 1 feasible tasks found for job 109:0 in
partition DEFAULT (1 Needed)
06/11 18:00:08 ALERT: job 109 cannot run in any partition
06/11 18:00:08 ALERT: cannot create new reservation for job 109
(shape[1] 1)
06/11 18:00:08 ALERT: cannot create new reservation for job 109
06/11 18:00:08 MJobSetHold(109,16,1:00:00,NoResources,cannot create
reservation for job '109' (intital reservation attempt)
)
06/11 18:00:08 INFO: job 109 requests reservation martin.0. (not
deferring)
06/11 18:00:08 WARNING: cannot reserve priority job '109'
...
I don't understand the messages.
My current understanding is, that the job should start at the
start time of the reservation. Right?
Do I have to configure Advanced Reservations somewhere?
Any ideas?
Thanks in advance for any help!
Martin
_______________________________________________
torqueusers mailing list
[EMAIL PROTECTED]
http://www.supercluster.org/mailman/listinfo/torqueusers
_______________________________________________
mauiusers mailing list
[email protected]
http://www.supercluster.org/mailman/listinfo/mauiusers