1 | the latest stable pbs_python interface is available from: |
---|
2 | ftp://ftp.surfsara.nl/pub/outgoing/pbs_python.tar.gz |
---|
3 | |
---|
4 | Information, documentation and reporting bugs for the package: |
---|
5 | https://oss.trac.surfsara.nl/oss/pbs_python |
---|
6 | |
---|
7 | bug resport: |
---|
8 | pbs_python@surfsara.nl |
---|
9 | |
---|
10 | =============== Brief description ============================= |
---|
11 | Pbs_python interface is a wrapper class for the OPENPBS/TORQUE |
---|
12 | C LIB API. Now you can write utilities/extensions in Python |
---|
13 | instead of C. |
---|
14 | |
---|
15 | The Python wrapper class is tested on: |
---|
16 | |
---|
17 | - LISA cluster debian wheezy, torque 2.5.13 |
---|
18 | - LTC test cluster debian wheezy, torque 5.0.1 |
---|
19 | - LTC test cluster centos 6, torque 5.0.1 |
---|
20 | - It should run on different OSes. |
---|
21 | |
---|
22 | -- Compile and install the package: (Require python 2.1 and higher) |
---|
23 | |
---|
24 | As for python version 2.1 and higher the procedure is: |
---|
25 | ./configure |
---|
26 | make |
---|
27 | make install |
---|
28 | |
---|
29 | Debian package: |
---|
30 | debian/rules binary |
---|
31 | |
---|
32 | --- Testing the package: |
---|
33 | |
---|
34 | The test programs are include as a reference how to use the pbs |
---|
35 | python module. You have to edit some test programs to reflect |
---|
36 | your PBS/Torque installation. |
---|
37 | |
---|
38 | pbsmon.py - ascii xpbsmon |
---|
39 | rack_pbsmon.py - ascii xpbsmon by rack layout |
---|
40 | pbsnodes-a.py - pbsnodes -a |
---|
41 | pbs_version.py - print server version |
---|
42 | set_property.py - set some node properties |
---|
43 | resmom_info.py - queries the pbs_mom daemon on the nodes |
---|
44 | logpbs.py - Shows the usage of the PBS logging routines |
---|
45 | new_interface.py - Example how to use PBSQuery module |
---|
46 | PBSQuery.py - python <install_path>/PBSQuery.py (has builtin demo) |
---|
47 | |
---|
48 | sara_nodes.py - We use this program to set the nodes offline/online. when |
---|
49 | there are no command line arguments. It will list the |
---|
50 | nodes that are down/oflline. For more info see: |
---|
51 | - https://subtrac.sara.nl/oss/pbs_python/wiki/TorqueExamples |
---|
52 | |
---|
53 | pbs_jobmonitor - Shows the output of top -u user on the node: |
---|
54 | * one cycle of top |
---|
55 | * user: the user the job belongs to |
---|
56 | |
---|
57 | pbs_joblogin - logs in to the node as the user who invokes this script |
---|
58 | (os.getenv('USER')) |
---|
59 | |
---|
60 | For more info about SARA see: |
---|
61 | http://www.surfsara.nl/index_eng.html |
---|
62 | |
---|
63 | -- |
---|
64 | Bas van der Vlies |
---|
65 | | Operations, Support & Development | SURFsara | Science Park 140 | 1098 XG Amsterdam |
---|
66 | | T +31 (0) 20 800 1300 | bas.vandervlies@surfsara.nl | www.surfsara.nl | |
---|