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

Re: [Condor-users] Specifying the Red Hat version



On 02/11/2012 11:05 AM, Fatemah Panahi wrote:
Hello

I am a student from UW-Madison CS department. I have an executable that
only runs on  red hat 6. How can I specify the red hat version in the
submit file requirements?

I Googled a lot but could not find the answer.

Thank you for your help.

Fatemah

$ condor_config_val COLLECTOR_HOST
condor.cs.wisc.edu,     tonic.cs.wisc.edu,     chopin.cs.wisc.edu

$ condor_status -total
              Total Owner Claimed Unclaimed Matched Preempting Backfill
  INTEL/LINUX   203    28     149        26       0          0        0
INTEL/WINNT51     4     0       0         4       0          0        0
 X86_64/LINUX   900   119     721        33       0         27        0
        Total  1107   147     870        63       0         27        0

$ condor_status -l | grep -i Red | grep -i Hat | sort | uniq -c
264 kernel_version_string = "Linux version 2.6.18-238.1.1.el5 (mockbuild@xxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)) #1 SMP Tue Jan 4 13:32:19 EST 2011" 601 kernel_version_string = "Linux version 2.6.18-274.12.1.el5 (mockbuild@xxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)) #1 SMP Tue Nov 8 21:37:35 EST 2011" 159 kernel_version_string = "Linux version 2.6.18-274.12.1.el5 (mockbuild@xxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)) #1 SMP Tue Nov 8 21:40:25 EST 2011" 44 kernel_version_string = "Linux version 2.6.18-274.12.1.el5PAE (mockbuild@xxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)) #1 SMP Tue Nov 8 21:58:59 EST 2011"
    264 OSIssue = "Red Hat Enterprise Linux Server release 5.6 (Tikanga)"
    804 OSIssue = "Red Hat Enterprise Linux Server release 5.7 (Tikanga)"
264 OSRedHatRelease = "Red Hat Enterprise Linux Server release 5.6 (Tikanga)" 804 OSRedHatRelease = "Red Hat Enterprise Linux Server release 5.7 (Tikanga)"

Looks like you could make a requirement out of something like regexp("Red Hat Enterprise Linux Server release 6.*", OSIssue), but you'll be SOL in the CS pool as it's all EL5.

Best,


matt