[torqueusers] static and dynamic resources in pbs_mom config
Jay Srinivasan
jay at nersc.gov
Thu Mar 12 13:25:25 MDT 2009
Hi,
I've not got any response to this, so I'm resending it (and cc'ing Moab
users). Could anyone clarify if Torque supports dynamic resources?
Thanks
Jay
On 2/19/2009 12:02 PM, Jay Srinivasan wrote:
>
> Hi,
>
> I'm trying to set some static and/or dynamic resources in the pbs_mom
> config and I can't seem to get it to work.
>
> - First I add, to the config file for each pbs_mom, lines such as
>
> somename 1
>
> or
>
> othername !/path/to/some/exe
>
> where /path/to/some/exe just returns '1' (for example)
>
> - Restart MOM
>
> - run pbsnodes <nodename>
>
> I would expect that 'somename' or 'othername' show up in the status line
> output from pbsnodes, but it does not. Log of pbs_mom shows lines such as:
>
> 02/19/2009 11:41:08;0002; pbs_mom;Svr;read_config;processing config
> line 'othername !/path/to/some/exe
> 02/19/2009 11:41:08;0080; pbs_mom;n/a;add_static;config[11] add name
> othername value !/path/to/some/exe
> 02/19/2009 11:41:08;0002; pbs_mom;Svr;read_config;processing config
> line 'somename 1
> 02/19/2009 11:41:08;0080; pbs_mom;n/a;add_static;config[12] add name
> somename value 1
>
> momctl query output for the two resources shows:
>
> momctl -q othername -h nodename
> nodename: othername = 'othername=1'
> momctl -q somename -h nodename
> nodename: somename = 'somename=1'
>
>
> Submitting jobs with qsub -lsomename=1 or -lothername=1 fails as Torque
> says resources cannot be satisfied.
>
> I've tried with Torque 2.3.0 and 2.3.6 with no luck and I'm using Maui
> as the scheduler (3.2.6p1.20)
>
> Any suggestions,
>
> Thanks,
>
> Jay
>
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
More information about the torqueusers
mailing list