[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-users] What variables are available to DAGMan SCRIPT POST statements?



Sorry to be asking this question a second time, but I have misplaced the original answer and can't find it searching the archives.  I have a DAG with two statements like:

JOB         3cb5-00001 3cb5.ca
SCRIPT POST 3cb5-00001 ./process_output 3cb5-00001

I would like to pass the ClusterId of the completed Condor job to the script.  I tried:

SCRIPT POST 3cb5-00001 ./process_output 3cb5-00001 $(ClusterId)

but to no avail.  Could someone:

1. clarify the syntax
2. provide a list of variables that are available to pass to the post script.

I searched the documentation but could only find a reference to:

$JOB
$RETURN

Thanks,

Ian

-- 
Ian Stokes-Rees, PhD                       W: http://hkl.hms.harvard.edu
ijstokes@xxxxxxxxxxxxxxxxxxx               T: +1 617 432-5608 x75
NEBioGrid, Harvard Medical School          C: +1 617 331-5993

begin:vcard
fn:Ian Stokes-Rees, PhD
n:Stokes-Rees;Ian
org:Harvard Medical School;Biological Chemistry and Molecular Pharmacology
adr;dom:;;250 Longwood Ave;Boston;MA;02115
email;internet:ijstokes@xxxxxxxxxxxxxxxxxxx
title:Research Associate, Sliz Lab
tel;work:+1 617 432-5608 x75
tel;fax:+1 617 432-5600
tel;cell:+1 617 331-5993
url:http://hkl.hms.harvard.edu
version:2.1
end:vcard