I would like to validate by hook "aoe" parameter when user is trying to submitt a job to pbs queue. To do this I need to read this parameter from queued job.
For example user executed command:
qsub -I -l select=2:ncpus=272:aoe=centos-7.3 -l walltime=01:00:00
So I think that the way to read this "centos-7.3" value I need to use following code into hook script:
aoe = pbs.event().job.Resource_List["aoe"]
but, as I can see always "None" value is returned.
Someone can help me to find a way to read this parameter by hook?
"Qmgr: list hook ValidateAOEparameter"
type = site
enabled = true
event = queuejob
user = pbsadmin
alarm = 30
order = 1
debug = false
fail_action = none