Is it possible to resolve the job name once a job has been submitted? Alternatively, is it possible to have dependency masks that are not strings (job id, or something of that nature)?
In Houdini we often build a reusable network of dependencies to execute on the farm. if we resubmit the network before deleting the previous one, the dependency mask regex strings will be satisfied based on the (previously) finished job.
We could hash a number to each job string, but it feels... icky.
Thoughts?
Best,
G
resolving job names after submit
resolving job names after submit
--
Rocky Linux 8.5, cgru 3.2.1
Rocky Linux 8.5, cgru 3.2.1
Re: resolving job names after submit
Hi.
Depend masks are regular expressions.
You can set it to "jobname.*" to wait all "jobname-1", "jobname-2", ...
We use it this way in Houdini.
Depend masks are regular expressions.
You can set it to "jobname.*" to wait all "jobname-1", "jobname-2", ...
We use it this way in Houdini.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: resolving job names after submit
I hear you -- but it does introduce a strange condition.
job1.name = "job1"
job1.block1.name = "foo"
job1.block2.name = "bar"
job1.block2.dependMask = "foo*"
job2.name = "job1-1"
job2.block1.name = "foo"
job2.block2.name = "bar"
job2.block2.dependMask = "foo*"
if both jobs are running at the same time (like a wedge job for example), wouldn't job2.block2 be cleared to run once job1.block2 finishes?
G
job1.name = "job1"
job1.block1.name = "foo"
job1.block2.name = "bar"
job1.block2.dependMask = "foo*"
job2.name = "job1-1"
job2.block1.name = "foo"
job2.block2.name = "bar"
job2.block2.dependMask = "foo*"
if both jobs are running at the same time (like a wedge job for example), wouldn't job2.block2 be cleared to run once job1.block2 finishes?
G
--
Rocky Linux 8.5, cgru 3.2.1
Rocky Linux 8.5, cgru 3.2.1
Re: resolving job names after submit
Block can wait other block(s) only of the same job.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).