[drmaa-wg] MT_SUBMIT_MT_WAIT test
Ruben Santiago Montero
rubensm at dacya.ucm.es
Mon Apr 17 06:45:46 CDT 2006
Hi,
Just a simple question on the MT_SUBMIT_MT_WAIT test. This test
starts three threads, each one submits two jobs and call the drmaa_wait_job()
function twice, with DRMAA_JOB_IDS_SESSION_ANY.
As all the threads share the same session, all of them are notified when a
job finishes. So the test only waits for two jobs. Output from the test:
<=========================
starting test #41 (MT_SUBMIT_MT_WAIT)
submitted job "85"
submitted job "86"
submitted job "87"
submitted job "88"
submitted job "89"
submitted job "90"
waited job "85"
waited job "85"
waited job "85"
waited job "86"
waited for last job
waited job "86"
waited for last job
waited job "86"
waited for last job
successfully finished test #41
============================>
If this test is supposed to wait for the six jobs either each thread wait for
its "own" jobs (those submitted in the thread), or each thread waits six
times for a DRMAA_JOB_IDS_SESSION_ANY.
Regards,
Ruben
--
+-----------------------------------------------------------+
Dr. Ruben Santiago Montero
Associate Professor
Dpto. Arquitectura de Computadores y Automatica
Facultad de Informatica
Universidad Complutense phone : +34 91 394 75 38
28040 Madrid fax : +34 91 394 75 27
Spain email : rubensm at dacya.ucm.es
http://asds.dacya.ucm.es/
+-----------------------------------------------------------+
GridWay, The Way to Grid! http://www.gridway.org
More information about the drmaa-wg
mailing list