[torqueusers] static and dynamic resources in pbs_mom config

Jay Srinivasan jay at nersc.gov
Thu Feb 19 13:02:55 MST 2009


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



More information about the torqueusers mailing list