1 | the latest stable pbs_python interface is available from: |
---|
2 | ftp://ftp.sara.nl/pub/outgoing/pbs_python.tar.gz |
---|
3 | |
---|
4 | Pbs_python interface is a wrapper class for the OPENPBS/TORQUE C LIB API. |
---|
5 | Now you can write utilities/extensions in Python instead of C. |
---|
6 | |
---|
7 | The Python wrapper class is tested on: |
---|
8 | |
---|
9 | - Intel cluster debian GNU/LINUX woody/sarge OPENPBS 2.3.16, |
---|
10 | TORQUE 1.0.1p4, 1.1.0p4 and up |
---|
11 | |
---|
12 | - For X86_64 systems you have to compile torque/openpbs with |
---|
13 | the -fPIC option. Else you can not build the python module |
---|
14 | |
---|
15 | - Compaq Alpha cluster debian GNU/LINUX woody OPENPBS 2.3.16 |
---|
16 | |
---|
17 | - SGI Origin 3000: Irix 6.5, OPENPBS 2.3.16 |
---|
18 | |
---|
19 | - TRU64 system, NOTE: must rename libnet.a to libpbs_net.a and edit |
---|
20 | setup.py to reflect the change. There is also a system wide libnet.so. |
---|
21 | |
---|
22 | - It should run on different OSes. |
---|
23 | |
---|
24 | In the past our Alpha cluster was redhat (6.2) and we had to add '-lots' |
---|
25 | to the LIBS line |
---|
26 | |
---|
27 | --- Compile and install the package: (Require python 2.1 and higher) |
---|
28 | |
---|
29 | As for python version 1.6 and higher the procedure is: |
---|
30 | ./configure |
---|
31 | make |
---|
32 | make install |
---|
33 | |
---|
34 | Debian package: |
---|
35 | debian/rules binary |
---|
36 | |
---|
37 | --- Testing the package: |
---|
38 | |
---|
39 | The test programs are include as a reference how to use the PBS |
---|
40 | python module. You have to edit some test programs to reflect |
---|
41 | your PBS installation. |
---|
42 | |
---|
43 | pbsmon.py - ascii xpbsmon |
---|
44 | rack_pbsmon.py - ascii xpbsmon by rack layout |
---|
45 | pbsnodes-a.py - pbsnodes -a |
---|
46 | pbs_version.py - print server version |
---|
47 | set_property.py - set some node properties |
---|
48 | resmom_info.py - queries the pbs_mom daemon on the nodes |
---|
49 | logpbs.py - Shows the usage of the PBS logging routines |
---|
50 | new_interface.py - Example how to use PBSQuery module |
---|
51 | PBSQuery.py - python <install_path>/PBSQuery.py (has builtin demo) |
---|
52 | |
---|
53 | Comments,suggestions or bugfixes mail them to: Bas van der Vlies <basv@sara.nl> |
---|
54 | For more info about SARA see: |
---|
55 | http://www.sara.nl/index_eng.html |
---|
56 | |
---|
57 | |
---|
58 | ******************************************************************** |
---|
59 | * * |
---|
60 | * Bas van der Vlies e-mail: basv@sara.nl * |
---|
61 | * SARA - Academic Computing Services phone: +31 20 592 8012 * |
---|
62 | * Kruislaan 415 fax: +31 20 6683167 * |
---|
63 | * 1098 SJ Amsterdam WWW: www.sara.nl * |
---|
64 | * * |
---|
65 | ******************************************************************** |
---|