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