Changeset 21 for trunk/pbs_swig/distro/README
- Timestamp:
- 09/13/02 16:09:29 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pbs_swig/distro/README
r19 r21 1 This is the newPython wrapper class for the PBS C LIB API. Now you can write1 This is a Python wrapper class for the PBS C LIB API. Now you can write 2 2 utilities/extensions in Python instead of C. 3 3 4 4 The Python wrapper class is tested on: 5 - Intel cluster debian GNU/LINUX potato/woody PBS 2.2p7 5 - Intel cluster debian GNU/LINUX potato/woody PBS 2.2p7, PBS 2.3.16 6 6 - Compaq Alpha Cluster red hat 6.2 PBS 2.3. For this platform 7 7 we had to add '-lots' to the LIBS line. 8 8 - It should run on different OSes. 9 9 10 --- Compile the package: 11 cd src 12 Adjust the Makefile to where you installed Python and PBS libraries. 13 make 10 --- Compile and install the package: 11 As for python version 1.6 and higher the procedure is: 12 python setup.py install 13 14 Python versions lower then 1.6 do not have the distutils 15 package default in their installation. You can test it: 16 python 17 import distutils 18 19 If this succed then use the above procedure else use the procedure below: 20 cd src 21 Adjust the Makefile to where you installed Python and PBS libraries. 22 make 23 24 The python PBS module consists of the following files: 25 pbscmodule.so 26 pbs.py 27 pbs.pyc ( will be generated from pbs.py. The first time you load 28 the module). 29 30 You can install these file in your own directory and use the PYTHONPATH 31 environment variable or install it in a system wide directory, eg: 32 /usr/lib/python1.5/site-packages 14 33 15 34 --- Testing the package: … … 28 47 --- The Installation 29 48 30 The python PBS module consists of the following files:31 pbscmodule.so32 pbs.py33 pbs.pyc ( will be generated from pbs.py. The first time you load34 the module).35 36 You can install these file in your own directory and use the PYTHONPATH37 environment variable or install it in a system wide directory, eg:38 /usr/lib/python1.5/site-packages39 40 49 41 50 Comments or suggestions mail them to: Bas van der Vlies <basv@sara.nl>
Note: See TracChangeset
for help on using the changeset viewer.