custom unique task id

7 views
Skip to first unread message

Joosep Pata

unread,
May 9, 2016, 8:19:56 AM5/9/16
to grid-control
Hi,

How could one specify a parametric task id? I.e. instead of GC1235134 appearing on my cluster queue as the job name, I'd like something informative like

~~~
myAnalysis_subTask1_@DATE@_@uniquestring@
~~~

I tried setting

~~~
[task]
task id = myAnalysis_subTask1_@DATE@
~~~
in the conf but @DATE@ doesn't get replaced.

Any suggestions?

Thanks, cheers
Joosep

Joosep Pata

unread,
May 9, 2016, 8:28:57 AM5/9/16
to grid-control
In fact, it does get replaced but only partly:

If I specify
~~~
[task]
task id = tth_count_@GUID@
~~~

then on the scheduling system a particular job has:
~~~
$ squeue -j 11913633 -o "%j"
tth_count_.19
~~~

whereas from the executable after substitutions:
~~~
tth_count_ef8dc494-9cab-415c-9ec7-f6904d269327
~~~

and the sandbox is named
~~~
$ ls work.count/sandbox/
tth_count_@GUID@.0000.z1EseW
~~~

Is there a way to do it consistently?

Thanks, cheers,
Joosep
Reply all
Reply to author
Forward
0 new messages