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

[HTCondor-users] <number of jobs> argument



Hi all,

I have a simple question to the queue command:
I can specifiy the number of jobs as a argument to the queue command in a submit file.
I tried it with a calculated value for this argument but this does not work.

A simple example:

a = 123
b = 456
n = $$([ $(b) - $(a) ])
:
queue $(n)

I don't see any reason for this restriction. $(n) is a constant value.
Can someone explain, why I can only use real numbers as argument for the queue command?
Or exists there a special trick?
This would be quite handy to program loops in Condor, espcially if $(a) or $(b) are also
calculated (constant) values.

Best
Werner

-- 


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature