LOCAL_CONFIG_FILE = \ /var/condor/config.local,\ /var/condor/policy.local,\ /shared/condor/config.$(HOSTNAME),\ /shared/condor/config.$(OPSYS)
/var/adm/condor/condor_config.local
/shared/condor/config.$(HOSTNAME) /shared/condor/hosts/$(HOSTNAME)/ config.local
/shared/condor/config.$(OPSYS)
# This comment eats the next line \ EXAMPLE_SETTING=TRUE
A=abc A=$(A),def
A=$(B) B=$(A)
A=1 B=$(A) A=2
TEN=5+5 HUNDRED=$(TEN)*$(TEN)
TEN=(5+5) HUNDRED=($(TEN)*$(TEN))
MyType = "Machine" TargetType = "Job" Name = "slot1@puffin.cs.wisc.edu" Rank = 0.000000 MyCurrentTime = 1271097865 IsInstructional = FALSE
Price=Gallons*PerGallonCost Gallons=9.1232 PerGallonCost=2.499
MyType = "GasPump" Requirements = TARGET.Credit > (TARGET.GallonsNeeded * MY.PricePerGallon) PricePerGallon = 2.99 Octane = 93Matches against
MyType = "Car" Requirements = Octane > 87 GallonsNeeded = 9 Credit = 35.50 Rank = Octane
START = True RANK = SUSPEND = False CONTINUE = True PREEMPT = False KILL = False
START = True RANK = Department == "Chemistry" SUSPEND = False CONTINUE = True PREEMPT = False KILL = False
Executable = charm-run Universe = standard +Department = "Chemistry" queue
START = True RANK = Department =!= UNDEFINED && Department == "Chemistry" SUSPEND = False CONTINUE = True PREEMPT = False KILL = False
IsOwner = (Owner == "adesmet" || Owner == "roy") IsChem =(Department =!= UNDEFINED && Department == "Chemistry") IsPhys =(Department =!= UNDEFINED && Department == "Physics") RANK = $(IsOwner)*20 + $(IsChem)*10 + $(IsPhys)
NonCondorLoadAvg = (LoadAvg - CondorLoadAvg) BgndLoad = 0.3 CPU_Busy = ($(NonCondorLoadAvg) >= $(BgndLoad)) CPU_Idle = ($(NonCondorLoadAvg) < $(BgndLoad)) KeyboardBusy = (KeyboardIdle < 10) MachineBusy = ($(CPU_Busy) || $(KeyboardBusy)) ActivityTimer = (CurrentTime - EnteredCurrentActivity)
START = $(CPU_Idle) && KeyboardIdle > 300 SUSPEND = $(MachineBusy) CONTINUE = $(CPU_Idle) && KeyboardIdle > 120 PREEMPT = (Activity == "Suspended") && $(ActivityTimer) > 300 KILL = $(ActivityTimer) > 300
INSTRUCTIONAL=TRUE NETWORK_SPEED=1000 STARTD_EXPRS=INSTRUCTIONAL, NETWORK_SPEED
IsOwner = (Owner == "adesmet"\ || Owner == "roy") STARTD_EXPRS = IsOwner RANK = IsOwner # Instead of RANK=$(IsOwner)
StateTimer = CurrentTime - EnteredCurrentState HOUR = (60*60) PREEMPTION_REQUIREMENTS = \ $(StateTimer) > (1 * $(HOUR)) \ && RemoteUserPrio > SubmittorPrio * 1.2
PREEMPTION_RANK = (RemoteUserPrio * 1000000) - ImageSize
% condor_config_val MASTER_LOG /var/condor/logs/MasterLog
% condor_config_val -v CONDOR_HOST CONDOR_HOST: condor.cs.wisc.edu Defined in '/etc/condor_config.hosts', line 6
% condor_config_val -config Config source: /var/home/condor/condor_config Local config sources: /unsup/condor/etc/condor_config.hosts /unsup/condor/etc/condor_config.global /unsup/condor/etc/condor_config.policy /unsup/condor-test/etc/hosts/puffin.local
% condor_status -format '%s ' Arch -format '%s\n' OpSys | sort | uniq -c 797 INTEL LINUX 118 INTEL WINNT50 108 SUN4u SOLARIS28 6 SUN4x SOLARIS28
% condor_q -format '%8s ' Owner -format '%s\n' Cmd | sort | uniq -c 64 adesmet /scratch/submit/a.out 2 adesmet /home/bin/run_events 4 smith /nfs/sim1/em2d3d 4 smith /nfs/sim2/em2d3d
% condor_q -analyze 471216 471216.000: Run analysis summary. Of 820 machines, 458 are rejected by your job's requirements 25 reject your job because of their own requirements 0 match, but are serving users with a better priority in the pool 4 match, but reject the job for unknown reasons 6 match, but will not currently preempt their existing job 327 are available to run your job Last successful match: Sun Apr 27 14:32:07 2008
-- Submitter: beak.cs.wisc.edu : <128.105.146.14:13006> : beak.cs.wisc.edu ID OWNER SUBMITTED RUN_TIME ST PRI SIZE CMD --- 633419.000: Run analysis summary. Of 1016 machines, 1016 are rejected by your job's requirements WARNING: Be advised: No machines matched job's requirements The Requirements expression for your job is: ( ( target.Arch == "SUN4u" ) && ( target.OpSys == "WINNT50" ) && ( target.Disk > 1000000000 ) && ( target.Memory > 10000 ) ) && ( ( target.CkptArch == target.Arch ) || ( target.CkptArch is undefined ) ) && ( ( target.CkptOpSys == target.OpSys ) || ( target.CkptOpSys is undefined ) ) Condition Machines Matched Suggestion --------- ---------------- ---------- 1 ( target.Disk > 1000000000 ) 0 MODIFY TO 14223199 2 ( target.Memory > 10000 ) 0 MODIFY TO 2047 3 ( target.Arch == "SUN4u" ) 101 4 ( target.OpSys == "WINNT50" ) 117 MODIFY TO "SOLARIS28" 5 ( ( target.CkptArch == target.Arch ) || ( target.CkptArch is undefined ) ) 1016 6 ( ( target.CkptOpSys == target.OpSys ) || ( target.CkptOpSys is undefined ) ) 1016 Conflicts: conditions: 3, 4
SEC_DEFAULT_AUTHENTICATION = REQUIRED SEC_DEFAULT_ENCRYPTION = REQUIRED SEC_DEFAULT_INTEGRITY = REQUIRED
# Turn on all security: SEC_DEFAULT_AUTHENTICATION=REQUIRED SEC_DEFAULT_ENCRYPTION=REQUIRED SEC_DEFAULT_INTEGRITY=REQUIRED # Require authentication SEC_DEFAULT_AUTHENTICATION_METHODS = FS, SSL # SSL requires giving your daemons an X.509 certificates # You will also need a map file ALLOW_READ = * ALLOW_WRITE= *@wisc.edu/*.wisc.edu DENY_WRITE = abuser@*.wisc.edu/* ALLOW_ADMINISTRATOR = admin@wisc.edu/*.wisc.edu, *@wisc.edu/$(CONDOR_HOST) ALLOW_DAEMON = daemon@wisc.edu/*.wisc.edu ALLOW_NEGOTIATOR = daemon@wisc.edu/$(CONDOR_HOST)
SEC_READ_AUTHENTIATION_METHODS = FS, SSL, ANONYMOUS