| 5 | |
| 6 | == Jobmond can't find pbs_python module == |
| 7 | |
| 8 | Your jobmond reports: {{{ FATAL ERROR: BATCH_API set to 'pbs' but python module 'pbs_python' is not installed }}} |
| 9 | |
| 10 | however are sure that is really installed, but somehow python still can't find it. |
| 11 | |
| 12 | To solve this, first locate the path of your pbs_python module: |
| 13 | * {{{ locate PBSQuery.py }}} |
| 14 | * {{{ find / -name PBSQuery.py -print }}} |
| 15 | |
| 16 | This 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 | |
| 18 | Then 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 }}} |