So I have the following HTCondor submit description that works:
n = $(ProcId) + 1
arguments = read_$INT(n).fa
Why can't I do this instead?
n = $INT($(ProcId) + 1)
arguments = read_${n}.fa
So I have the following HTCondor submit description that works:
n = $(ProcId) + 1
arguments = read_$INT(n).fa
Why can't I do this instead?
n = $INT($(ProcId) + 1)
arguments = read_${n}.fa
Copyright © 2021 Jogjafile Inc.
HTCondor submit description files use their own format for substitutions, not bash/shell syntax.
In order to refer to a macro (variable)
nuse$(n)instead of the bash syntax${n}. Since macros cannot be nested, evaluating$INTbased on another macro requires an intermediate variable: