Skip to content

Exabyte-io/surfsara-pbs-python

the latest stable pbs_python interface is available from:
    ftp://ftp.surfsara.nl/pub/outgoing/pbs_python.tar.gz

Information, documentation and reporting bugs for the package:
    https://oss.trac.surfsara.nl/oss/pbs_python

bug resport:
    [email protected]

=============== Brief description =============================
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:

  - LISA cluster debian wheezy, torque 2.5.13
  - LTC test cluster debian wheezy, torque 5.0.1
  - LTC test cluster centos 6, torque 5.0.1
  - It should run on different OSes.

-- Compile and install the package: (Require python 2.1 and higher)

  As for python version 2.1 and higher the procedure is:
    ./configure
    make
    make install

  Debian package:
    debian/rules binary

--- 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/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)

sara_nodes.py    - We use this program to set the nodes offline/online. when 
                   there are no command line arguments. It will list the 
                   nodes that are down/oflline. For more info see:
                    - https://subtrac.sara.nl/oss/pbs_python/wiki/TorqueExamples

pbs_jobmonitor   - Shows the output of top -u user on the node:
                     * one cycle of top
                     * user: the user the job belongs to

pbs_joblogin     - logs in to the node as the user who invokes this script 
                   (os.getenv('USER'))

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

--
Bas van der Vlies
| Operations, Support & Development | SURFsara | Science Park 140 | 1098 XG  Amsterdam
| T +31 (0) 20 800 1300  | [email protected] | www.surfsara.nl |

About

A git fork of the SURFsara Subversion repository's trunk, located at https://oss.trac.surfsara.nl/pbs_python/wiki

Resources

License

LGPL-3.0 and 2 other licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Unknown
LICENSE.openpbs

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •