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