[torqueusers] ANNOUNCE: New version of torque python interface (4.0.0)

Bas van der Vlies basv at sara.nl
Tue Apr 20 08:20:27 MDT 2010

=========== 4.0.0
   * pbs.py added some new functions for 2.4 version:
     - pbs_fbserver(void);
     - pbs_get_server_list(void);
     - pbs_sigjobasync(int connect, char *job_id, char *signal, char *extend);
     - pbs_alterjob_async(int connect, char *job_id, struct attrl *ATTRL, 
char *extend);
     - pbs_checkpointjob(int connect, char *job_id, char *extend);
     - log_ext(int,char *,char *,int);
     - log_init(char *, char *);
     - log_remove_old(char *,unsigned long);

     Note: version 2.1.X is still supported

   * autotools environment
     - Added support for finding pbs-config (borrowed for mpiexec source)
     - Detecting which version of torque is installed
     - only support installations that have pbs-config installed.
     - Removed old code for installations that do not a have pbs-config

   * PBSQuery.py
     - There was a bug in the new data interface (Resource_List for jobs)
       Reported & Patch by: Mark Roberts ( mark at gingergeeks dot co dot uk)
       Applied by with some minor changes: Bas van der Vlies

     - The new data structure is the default. You can switch back to the old
       one with:
             p = PBSQuery()

       Author: Bas van der Vlies

* examples/ha_server.py
    An example how to use the High Availabilty torque functions
    Author: Bas van der Vlies & Mark Roberts ( mark at gingergeeks dot co
    dot uk )

the latest stable pbs_python interface is available from:

Information, documentation and reporting bugs for the package:

===== Brief description =========================================

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

--- 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 Torque 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
new_interface.py - Example how to use PBSQuery module
PBSQuery.py      - python <install_path>/PBSQuery.py (has builtin demo)

For more info about SARA see:

*  Bas van der Vlies                    e-mail: basv at sara.nl       *
*  SARA - Academic Computing Services   Amsterdam, The Netherlands *

More information about the torqueusers mailing list