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

Re: [Condor-users] is there a condor version macro for config files?



> No, there's not right now, but that's a good idea.

If you're considering implementing something like that can you make it
friendly for job steering? If you break the <major>.<minor>.<minorminor>
version notation into three attribute tags (say, CondorMajorVersion,
CondorMinorVersion, CondorMinorMinorVersion) you can reference the
numbers in your requirements expressions:

Requirement = CondorMajorVersion == 6 && CondorMinorVersion == 8

Which seems cleaner than:

Requirements = CondorVersion == "6.8.1" || CondorVersion == "6.8.2" ...

- Ian