[torqueusers] ANNOUNCE: : New version of openpbs/torque Python interface

Bas van der Vlies basv at sara.nl
Thu Dec 2 03:51:31 MST 2004


=========== Version 2.7.4
  New versions fixes an bug in function pbs.pbs_statnode().
  Reported by: Keith Poirier

  Configure support:
  Contributed By: Yaroslav Halchenko

  Debian package support:
  Contributed By: Yaroslav Halchenko

  Added Support for Debuging the interface, You must edit pbs_wrap.c
  and search for SARA_DEBUG:
         #define SARA_DEBUG 1
  Implemented by: Ramon Bastiaans

  examples/pbsmon.py:
         - Fixed an error when regex fails to determine node number,
           no status was displayed
         - It will now display and 'j' if the node is free for the batch
           system and a job runs on the node (SMP-systems).
  Changed by: Bas van der Vlies

  examples/rack_pbsmon.py:
         - An pbsmon that display node info per rack
         - Edit the rack_pbsmon.py to adjust the values. It requires
           that hostname contains rack and node id's,
           eg: gb-r<number>n<number>
  Contributed by: Walter de Jong

======
Some info about the package:


Pbs_python interface is a wrapper class for the OPENPBS/TORQUE C LIB 
API.Now you can write utilities/extensions in Python instead of C.

The Python wrapper class is tested on:
   - Intel cluster debian GNU/LINUX woody OPENPBS 2.3.16,
     TORQUE 1.0.1p4, 1.1.0p4

   - Compaq Alpha cluster debian GNU/LINUX woody OPENPBS 2.3.16

   - SGI Origin 3000: Irix 6.5, OPENPBS 2.3.16

   - TRU64 system, NOTE: must rename libnet.a to libpbs_net.a and edit
     setup.py to reflect the change. There is also a system wide
     libnet.so.

   - It should run on different OSes.

In the past our Alpha cluster was redhat (6.2)  and we had to add 
'-lots' to the LIBS line

--- Testing the package:

The test programs are include as a reference how to use the PBS
python module. You have to edit some test programs to reflect
your PBS installation.

pbsmon.py       - ascii xpbsmon
rack_pbsmon.py  - ascii xpbsmon by rack layout
pbsnodes-a.py   - pbsnodes -a
pbs_version.py  - print server version
set_property.py - set some node properties
resmom_info.py  - queries the pbs_mom daemon on the nodes
logpbs.py       - Shows the usage of the PBS logging routines


Comments,suggestions or bugfixes mail them to:
      Bas van der Vlies <basv at sara.nl>

For more info about SARA see:
      http://www.sara.nl/index_eng.html

download from:
      ftp://ftp.sara.nl/pub/outgoing/pbs_python.tar.gz




--
--
********************************************************************
*                                                                  *
*  Bas van der Vlies                     e-mail: basv at sara.nl      *
*  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
*  Kruislaan 415                         fax:    +31 20 6683167    *
*  1098 SJ Amsterdam                                               *
*                                                                  *
********************************************************************



-- 
--
********************************************************************
*                                                                  *
*  Bas van der Vlies                     e-mail: basv at sara.nl      *
*  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
*  Kruislaan 415                         fax:    +31 20 6683167    *
*  1098 SJ Amsterdam                                               *
*                                                                  *
********************************************************************


More information about the torqueusers mailing list