Custom Query (43 matches)


Show under each result:

Results (28 - 30 of 43)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Ticket Resolution Summary Owner Reporter
#18 fixed depends on hostname configuration and is installed by default bas jbernstein@…

It seems that by default, a make install installs the script into $prefix/bin/pbsmon. While this would seem okay, the depends on hostname formats to detect where the nodes are located in the individual racks. The problem here is that not all installation use this hostname format, and users will have to edit the resulting pbsmon script before it will work correctly.

On the other hand, the example runs without changes regardless of the hostname configuration.

I suggest that a make install installs the as $prefix/bin/pbsmon instead as it will work on a wider variety of clusters, and give the impression of a cleaner out-of-the-box install.

The quick fix here, to avoid installing is to remove the sara_install target from the Makefile's install line.

#17 fixed spec file fixes somebody ramonb

there are 2 errors in the spec file;

  • ${_tmppath} should be: %{_tmppath}
  • %setup pbs-python sourcedir should be pbs_python
#16 fixed PBSQuery module enhancement bas bas

getnode(s) function now returns a dictionary with values, eg pbsnodes: :

 state = job-exclusive
 np = 2
 properties  cores2,fabric1,gigabit,infiniband,mem4gb,parallel,switchF
 ntype = cluster
 jobs = 0/, 1/
 status = arch=x86_64,opsys=linux,uname=Linux #1 SMP Mon Apr 6 15:43:08 CEST 2009 x86_64,sessions=32128,nsessions=1,nusers=1,idletime=24505,totmem=8039848kb,availmem=7556400kb,physmem=4039856kb,ncpus=2,loadave=2.32,gres=max_jobs:1+ideal_jobs:1,netload=3403654969,size=71647620kb:71652296kb,state=free,,rectime=1241791421

This is not useful at all. I will change the structure as follow:

  1. key = value, value ---> key = list([ value, value ]), key value is a list
  2. key = name1=value1 name2=value2---> key = dict( [name1] = value1, [name2] = value2), key value is a dictionary

The programming will be easier:

  1. print !nodestate?arch?
  2. if 'cores2' in !nodeproperties?

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Note: See TracQuery for help on using queries.