I have defined in PBS a dynamic resource, “globalzoneeu”, representing a ‘floating’ license (served by Hosted HWU). The script which returns the value for the resource is giving me the correct value, showing sufficient license features, however the scheduler is not starting the job, showing
”comment = Can Never Run: Insufficient amount of server resource: globalzoneeu (R: 30000 A: 0 T: 0)”
[ansible@amshpch0 ~]$ qmgr -c “print res” | grep globalzone
# Create and define resource globalzoneeu
create resource globalzoneeu
set resource globalzoneeu type = long
[ansible@amshpch0 ~]$ sudo grep global /var/spool/pbs/sched_priv/sched_config
resources: “ncpus, mem, arch, host, vnode, aoe, eoe, globalzoneeu, lic_dyna, lic_d3plot, lic_primer, lic_primer_post, lic_report, lic_this, lic_x264_video_output, plic_dyna, plic_d3plot, plic_primer, plic_primer_post, plic_report, plic_this, plic_x264_video_output”
server_dyn_res: “globalzoneeu !/sw/bin/license.mon.hyperworks.globalzoneeu.sh”
[ansible@amshpch0 ~]$ /sw/bin/license.mon.hyperworks.globalzoneeu.sh
42000[ansible@amshpch0^C
[ansible@amshpch0 ~]$ qstat
Job id Name User Time Use S Queue
---------------------------------------------------------------------
3073.amshpch0 optistruct.opti* jamie.dennis 0 Q workq
3079.amshpch0 section_8p1m_fl* daniel.challen 0 Q workq
[ansible@amshpch0 ~]$ qstat -f 3079
Job Id: 3079.amshpch0
Job_Name = section_8p1m_floor_300mm
Job_Owner = daniel.challen@amshpch0.global.arup.com
job_state = Q
queue = workq
server = amshpch0
Checkpoint = u
ctime = Thu Feb 12 13:29:48 2026
Error_Path = amshpch0.global.arup.com:/home/GLOBAL/daniel.challen/tests/opt
istruct/section_8p1m_floor_300mm.e3079
Hold_Types = n
Join_Path = n
Keep_Files = n
Mail_Points = abe
mtime = Thu Feb 12 13:29:50 2026
Output_Path = amshpch0.global.arup.com:/home/GLOBAL/daniel.challen/tests/op
tistruct/section_8p1m_floor_300mm.o3079
Priority = 0
qtime = Thu Feb 12 13:29:50 2026
Rerunable = True
Resource_List.globalzoneeu = 30000
Resource_List.mpiprocs = 4
Resource_List.ncpus = 4
Resource_List.nodect = 1
Resource_List.place = free
Resource_List.select = 1:ncpus=4:mpiprocs=4
substate = 10
Variable_List = PBS_O_HOME=/home/GLOBAL/daniel.challen,PBS_O_LANG=C.UTF-8,
PBS_O_LOGNAME=daniel.challen,
PBS_O_PATH=/home/GLOBAL/daniel.challen/.local/bin:/home/GLOBAL/daniel.
challen/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/pbs/
bin:/sw/bin,PBS_O_MAIL=/var/spool/mail/daniel.challen,
PBS_O_SHELL=/bin/bash,
PBS_O_WORKDIR=/home/GLOBAL/daniel.challen/tests/optistruct,
PBS_O_SYSTEM=Linux,PBS_O_QUEUE=workq,
PBS_O_HOST=amshpch0.global.arup.com
comment = Can Never Run: Insufficient amount of server resource: globalzone
eu (R: 30000 A: 0 T: 0)
etime = Thu Feb 12 13:29:50 2026
umask = 6
Submit_arguments = section_8p1m_floor_300mm.qsub.sh
project = _pbs_project_default
Submit_Host = amshpch0.global.arup.com
[daniel.challen@amshpch0 optistruct]$ rpm -q openpbs-server-ohpc redhat-release
openpbs-server-ohpc-23.06.06-340.ohpc.1.1.x86_64
redhat-release-9.7-0.7.el9.x86_64
the resource query script pbs_3rd_party_license_res/lic_avail_almhhwu.sh at main · daftdan/pbs_3rd_party_license_res · GitHub
Is there a way for me to find out the scheduler’s ‘idea’ of the resource? qstat -Bf shows me static/hard-coded resources, but nothing for dynamic ones.