Changes between Version 14 and Version 15 of Documentation/FAQ


Ignore:
Timestamp:
02/19/10 08:51:55 (11 years ago)
Author:
ramonb
Comment:

add PYTHONPATH solution for pbs_python

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/FAQ

    v14 v15  
    33
    44= Frequently Asked Questions =
     5
     6== Jobmond can't find pbs_python module ==
     7
     8Your jobmond reports: {{{ FATAL ERROR: BATCH_API set to 'pbs' but python module 'pbs_python' is not installed }}}
     9
     10however are sure that is really installed, but somehow python still can't find it.
     11
     12To solve this, first locate the path of your pbs_python module:
     13 * {{{ locate PBSQuery.py }}}
     14 * {{{ find / -name PBSQuery.py -print }}}
     15
     16This may result in a local alternate path, for example: /usr/local/lib/python/site-packages/pbs or any other path depending on your system.
     17
     18Then set the PYTHONPATH environment variable to include the path where this file was found:
     19 * {{{ exort PYTHONPATH=$PYTHONPATH:/usr/local/lib/python/site-packages/pbs }}}
     20 * start jobmond normally: {{{ /etc/init.d/jobmond start }}}
    521
    622== Why does Job Monarch say it was "Last updated: 1970" ? ==