[DRMAA-WG] Blocking drmaa_run_job()

Roger Brobst rogerb at cadence.com
Thu May 17 10:51:48 CDT 2007


If the intent of the DRMAA API was unclear,
we should add a sentence.

My suspicion is that intent was clear, but the
DRMAA(SGE) user was confused why "-sync y" 
didn't work. 

-Roger

----Original Message----
From: Daniel Templeton <Dan.Templeton at Sun.COM>
Sender: drmaa-wg-bounces at ogf.org
To: DRMAA Working Group <drmaa-wg at gridforum.org>
Subject: [DRMAA-WG] Blocking drmaa_run_job()
Date: Wed, 16 May 2007 23:24:12 -0700

All,

I just had a discussion on the SGE mailing list that should probably be 
a tracker for the IDL spec.  A user attempted to use the "-sync y" 
option in the DRMAA native specification attribute, and was confused as 
to why it didn't work.  -sync tells the SGE qsub command to block until 
the job finishes.  The user wanted to bypass the drmaa_wait() call by 
doing a blocking drmaa_run_job() call.  I looked through the DRMAA spec 
and the IDL spec, and neither actually declares whether the job 
submission routines should return before the job completes or not.  
That's probably an important detail that should be included.

Daniel


More information about the drmaa-wg mailing list