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

[HTCondor-users] Making a boolean classad expression from an integer compare




In the past my condor pool has had two boolean classad
expressions defined, ISSLF6 and ISSLF5
which are true depending on the major version of the linux
operating system, 6 or 5 respectively.

I recently learned of the variable OpSysMajorVer

i.e.
OpSysMajorVer==5
or
OpSysMajorVer==6

I would like to set the boolean value ISSLF5 based on that

ISSLF5= "OpSysMajorVer==5"

The syntax above, however sets it to a string.. how do I
capture the true/false of the == and assign it to a True/False
in a classad expression?

Steve

------------------------------------------------------------------
Steven C. Timm, Ph.D  (630) 840-8525
timm@xxxxxxxx  http://home.fnal.gov/~timm/
Fermilab Scientific Computing Division, Scientific Computing Services Quad.
Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing