[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Condor-users] FW: Can I set a variable in a dagman file for all jobs?
- Date: Thu, 14 Apr 2011 14:36:54 +0000
- From: Ian Cottam <Ian.Cottam@xxxxxxxxxxxxxxxx>
- Subject: [Condor-users] FW: Can I set a variable in a dagman file for all jobs?
Query from a colleague below.
On 14/04/2011 15:34, "Mike Croucher" <Michael.Croucher@xxxxxxxxxxxxxxxx>
>I currently have a dagman file that includes the following
>JOB 1 submit1.txt
>JOB 2 submit2.txt
>JOB 3 submit3.txt
>JOB 4 submit4.txt
>JOB 5 submit5.txt
>PARENT 1 CHILD 2
>PARENT 2 CHILD 3
>PARENT 3 CHILD 4
>PARENT 4 CHILD 5
>I would like to pass a variable to all 5 jobs. At the moment, I do it
>like this. The variable is the same for all 5 jobs i.e.
>VARS 1 numhid="200"
>VARS 2 numhid="200"
>VARS 3 numhid="200"
>VARS 4 numhid="200"
>VARS 5 numhid="200"
>Is there a cleaner way of doing this? A one-liner maybe?
>Also, is there a variable that is unique to the controlling dag and does
>not vary from job to job? I'd like to pass this to all of the jobs if