Heyup,
I have two "dynamic-scheduler" packages installed:
lcg-info-dynamic-scheduler-generic-2.3.4-1
glite-info-dynamic-scheduler-lsf-2.0.7-1
These both came down in the install of the either the glite-CREAM or
lsf-util metapackages. Looking at bit closer at it I see this:
rpm -q --filesbypkg glite-info-dynamic-scheduler-lsf-2.0.7-1
glite-info-dynamic-scheduler-lsf /opt/glite
glite-info-dynamic-scheduler-lsf /opt/glite/etc/glite-info-dynamic-lsf.conf
glite-info-dynamic-scheduler-lsf /opt/glite/lib/perl5/CommandProxyTools.pm
glite-info-dynamic-scheduler-lsf /opt/glite/libexec
glite-info-dynamic-scheduler-lsf /opt/glite/libexec/glite-info-dynamic-lsf
glite-info-dynamic-scheduler-lsf /opt/glite/libexec/lrmsinfo-lsf
glite-info-dynamic-scheduler-lsf
/opt/glite/share/doc/glite-info-dynamic-lsf.txt
Looking at my plugins I see:
# ls /opt/glite/etc/gip/plugin/
glite-info-dynamic-ce glite-info-dynamic-scheduler-wrapper
glite-info-dynamic-software-wrapper
Ignoring the software wrapper (which works), I see:
[root@abaddon ~]# cat /opt/glite/etc/gip/plugin/glite-info-dynamic-ce
#!/bin/sh
/opt/glite/libexec/glite-info-dynamic-lsf /usr/bin
/opt/glite/etc/gip/ldif/static-file-CE.ldif | sed -e
's/GlueCEStateStatus: Production/GlueCEStateStatus: Production/'
[root@abaddon ~]# cat
/opt/glite/etc/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
#
Neither of these plugins seem to work as intended (telling me I have no
CPUS or jobslots).
The one fiddling I did by hand was adding the lines:
[LRMS]
lrms_backend_cmd: /opt/glite/libexec/lrmsinfo-lsf
[Scheduler]
cycle_time : 0
to the lcg-info-dynamic-scheduler.conf, as these had been left out. I
put them in to mirror our other, torque CE (with the obvious changes).
Hope that's useful,
Cheers,
Matt
Jeff Templon wrote:
> Holy Moley,
>
> On 2 Dec 2010, at 16:33, Matt Doidge wrote:
>
>> rpm -qa | grep lsf
>> #glite-apel-lsf-2.0.10-1
>> lsf-7.0.6-1
>> lsf-lmgrd-7.0.6-1
>> glite-info-dynamic-scheduler-lsf-2.0.7-1
>
> is there also an lcg-info-dynamic-scheduler installed????? Will you do an rpm -qa on the glite-info-dynamic-scheduler-lsf package? I really hate this, finding out I am trying to debug either a hacked version of my plugin, or else a horribly named but otherwise valid package.
>
> Plugins for the dynamic-scheduler should be called something like
>
> lrmsinfo-lsf
>
> because they are not making any scheduling predictions themselves, they are just dumping INFO about the LRMS state for LSF ...
>
> There should *never* be a glite-info-dynamic-scheduler-lsf (or -anything-else) except for -generic. If it only provides the lrmsinfo, it should be named as above. If it really is computing scheduling predictions, it should be uninstalled.
>
> This is by design, to avoid biases between LRMS flavors, the algorithm is completely statistics based and hence exactly the same for all LRMS flavors.
>
> JT
>
> ps: Matt : this rant is not for you, sorry.
|