Problem with generic dynamic scheduler with SGE
The yaim plugin for sge configures the gip for publishing information but when used out of the box the following error is shown in the BDII log:
Traceback (most recent call last):
File "/usr/libexec/lcg-info-dynamic-scheduler", line 256, in ?
import lrms
ImportError: No module named lrms
The workaround is defining PYTHONPATH in /var/lib/bdii/gip/plugin/glite-info-dynamic-scheduler-wrapper :
$ cat /var/lib/bdii/gip/plugin/glite-info-dynamic-scheduler-wrapper
#!/bin/sh
#/opt/lcg/libexec/lcg-info-dynamic-scheduler -c /opt/glite/etc/lcg-info-dynamic-scheduler.conf
export PYTHONPATH=/usr/lib/python:$PYTHONPATH
/usr/libexec/lcg-info-dynamic-scheduler -c /etc/lcg-info-dynamic-scheduler.conf
Relevant ticket: https://ggus.eu/ws/ticket_info.php?ticket=76961 |