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

Re: [HTCondor-users] $INT conversion failing in submit file



Hi Ste

Thatâs actually not the issue, because this was part of a bigger set of requirements:
Requirements = ((Target.OpSys=="LINUX") && (Target.Arch=="X86_64") && ( substr(Machine,0,5)=="ARCWI") && ($INT(substr(Machine,7,9),'%d') <= 16))

So the 6th closing bracket was for the overall requirements string.

Thanks for checking!

Mike


On Jan 1, 2018, at 8:59 AM, sjones <sjones@xxxxxxxxxxxxxxxx> wrote:

On 2018-01-01 14:45, Mike Fienen wrote:

Happy New Year HTCondor peoples!

Hi Mike!

( substr(Machine,0,5)=="ARCWI") && ($INT(substr(Machine,7,9),'%d') <= 16))

There are 5 open brackets, and 6 close brackets in that.

The _expression_ parser can't evaluate that since they don't match up.

Cheers,

Ste



_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/