[DRMAA-WG] Java Binding for DRMAA for Sun Grid Engine

Aruna Kumari01 Aruna_Kumari01 at infosys.com
Thu Jun 18 03:39:36 CDT 2009


Hi,
I am trying to use Java binding for DRMAA for Sun Grid Engine. I can submit a simple .sh file.
I want to submit the file specifying resources so that it gets submitted on a particular machine. I am doing that using the command:
JobTemplate jt = session.createJobTemplate();

/*remoteCommand attribute tells DRMAA where to find the program we want to run.
Its value is the path to the executable.*/
// jt.setRemoteCommand("path");
jt.setNativeSpecification("-l mem_free=665M");
jt.setRemoteCommand("path");


/*we submit the job with Session.runJob().
This method returns the id assigned to the job by the queue master */
String id = session.runJob(jt);



but when I am not able to get the successful submission of the jobs.
The error comes as :
Error in submitting the job: error: no suitable queues
org.ggf.drmaa.DeniedByDrmException: error: no suitable queues

Any help in this regard would be highly appreciated.
Thanks...
Aruna
[cid:image001.gif at 01C9F01E.693C3B90]


**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are not 
to copy, disclose, or distribute this e-mail or its contents to any other person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any damage 
you may sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ogf.org/pipermail/drmaa-wg/attachments/20090618/d6066edc/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 701 bytes
Desc: image001.gif
Url : http://www.ogf.org/pipermail/drmaa-wg/attachments/20090618/d6066edc/attachment.gif 


More information about the drmaa-wg mailing list