* qmgr -c "create resource ansyslic type=long, flag=q"
* Add ansyslic to the resources: "ncpus, aoe, ......... " of the $PBS_HOME/sched_priv/sched_config and kill -HUP <PID of the pbs scheduler>
* qmgr -c “set queue workq resources_available.ansyslic = 4”
* qmgr -c “set queue workq resources_max.ansyslic = 4”
Seems like server is accounting for it, but not the scheduler, as it is not part of the accountable resource on the scheduler. Not sure whether you added it to the resources line of the sched_config.
PBS2020 Bigbook says static resource can be defined by qmgr.
I thought ansys license is a kind of static resource like cpus.
So I didn’ t add ansyslic to sched_config.
Maybe I misunderstand the document.
Static resources still need to be listed on the “resources” line in sched_config for the scheduler to care about them.
Dynamic resources are different: they need to also be mentioned in a server_dyn_res line (and these too can be counted --the server sets resources_assigned for them and the script needs to yield the total available for PBSPro including those used by existing jobs-- or uncounted --the scheduler just sets resources_available at the start of each scheduling cycle according to what the script returns and consumes all of these within the cycle).