[GE users] Problems with DRMAA and load sensors

clemens69 clemens.grotjahn at de.bosch.com
Tue Apr 20 08:12:09 BST 2010

> Hi all,
> It seems that I have a problem using DRMAA in combination with load sensors.
> We are using GE 6.1u6
> Please let me describe my problem briefly: I am executing jobs on the
> SGE via DRMAA. We defined some load sensors on our execution hosts which
> return a list of key value pairs of resources. I want to constraint my
> executed jobs to one of these resources, hence I set
> JobTemplate#setNativeSpecification("-l foo=bar"), where foo is the
> resource returned by the load sensor. This results always in a
> Caused by: org.ggf.drmaa.DeniedByDrmException: error: no suitable queues
> if the job is executed via DRMAA. On the other hand, when I execute
> the job via qsub, it succeeds:
> qsub -b y -l foo=bar echo hell world
> Is there a known issue with 6.1u6 with respect do this problem or do i
> miss something?
> Best regards,
> Lars Girndt


this issue can be fixed by adding the option
'-w n' to method 'setNativeSpecification()', which disables job-validation (this is default on command-line, hence these jobs are passed).



To unsubscribe from this discussion, e-mail: [users-unsubscribe at gridengine.sunsource.net].

More information about the gridengine-users mailing list