The gridengine user mailing list should be appropriate
for your questions: http://gridengine.sunsource.net/maillist.html

And without using the native specification the job does
run? And a simple qsub with -l mem_free=665M does
also work?

Regards

Daniel

On 06/18/09 10:39, Aruna Kumari01 wrote:

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

http://www.hpccommunity.org/images/misc/progress.gif

 

**************** 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***

-- drmaa-wg mailing list drmaa-wg@ogf.org http://www.ogf.org/mailman/listinfo/drmaa-wg