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

Re: [HTCondor-users] Same random value for batches of N jobs within a larger cluster?




> -----Original Message-----
> From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf
> Of Steffen Grunewald
> Sent: Wednesday, November 15, 2017 3:11 AM
> 
> 
> Wouldn't a two-level DAG do the trick? First-level jobs create random
> numbers, delegate them to the next level? This probably wouldn't be
> possible within the submit context, but there are files...
> 
> Just a quick thought,
>  S

[Michael Pelletier] 
A DAG did occur to me, but I figure if I'm going to write a script to do the submission anyway, I was thinking I may as well just write a single submit description with multiple queue statements with seed updates between each one.

However, it looks like that wouldn't work either, because $RANDOM_INTEGER is evaluated for each queue instance, even if you assign it to another variable.

So looks like maybe DAG is the way to go.

	-Michael Pelletier.