source: trunk/pbs_swig/distro/README @ 90

Last change on this file since 90 was 90, checked in by bas, 18 years ago

Preparing for new 2.8 release

  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1the latest stable pbs_python interface is available from:
2        ftp://ftp.sara.nl/pub/outgoing/pbs_python.tar.gz
3
4Pbs_python interface is a wrapper class for the OPENPBS/TORQUE C LIB API.
5Now you can write utilities/extensions in Python instead of C. 
6
7The 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
24In the past our Alpha cluster was redhat (6.2)  and we had to add '-lots'
25to 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
39The test programs are include as a reference how to use the PBS
40python module. You have to edit some test programs to reflect
41your PBS installation.
42
43pbsmon.py        - ascii xpbsmon
44rack_pbsmon.py   - ascii xpbsmon by rack layout
45pbsnodes-a.py    - pbsnodes -a
46pbs_version.py   - print server version
47set_property.py  - set some node properties
48resmom_info.py   - queries the pbs_mom daemon on the nodes
49logpbs.py        - Shows the usage of the PBS logging routines
50new_interface.py - Example how to use PBSQuery module
51PBSQuery.py      - python <install_path>/PBSQuery.py (has builtin demo)
52
53Comments,suggestions or bugfixes mail them to: Bas van der Vlies <basv@sara.nl>
54For 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********************************************************************
Note: See TracBrowser for help on using the repository browser.