[GE dev] Problem with Drmaa implementation

andreas andreas.haas at sun.com
Mon May 4 14:10:41 BST 2009


Hi Stas,

On Mon, 4 May 2009, snasibullin wrote:

> Hello, My name is Stas. I'm student from Russia. Sorry for my english.

don't worry about your english and greetings to Russia!

> I do integration UNICORE and Sun Grid Engine using DRMAA. And I try to
> extend UNICORE in order that use DRMAA.

Well, good idea.

> I have a problem with run the job.
> When I call Session.runJob(), this method return ID of the job, but job
> can't started, because:
>
> *05/02/2009 16:09:04|worker|master|W|job 98.1 failed on host node6.local
> general opening input/output file because: 05/02/2009 16:07:49 [0:6223]:
> error: can't open /root/null as dummy input file*

Have you set any inputPath with your job template?

If not I'd see this error condition as an indication that the inputPath default 
might be broken.

> UNICORE running under the root user, therefore job also started under the
> root user. I changed working directory and standard output and error, but
> this error still occur. I don't understand, what happen then, I call
> Session.runJob() and why occur this error.

I see. Actually I assume you are fine with job running under root, but in case 
you are not you might look at this

    http://wiki.gridengine.info/wiki/index.php/Submission_for_arbitrary_jobs_via_DRMAA

a source patch for a draft implementation were here

    http://gridengine.sunsource.net/issues/show_bug.cgi?id=2507

Kind regards,
Andreas

http://gridengine.info/

Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering

------------------------------------------------------
http://gridengine.sunsource.net/ds/viewMessage.do?dsForumId=39&dsMessageId=189792

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



More information about the gridengine-users mailing list