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