[Condor-devel] How to identify available slots or nodes


Dear Condor-Developers,


i am new to condor and previously worked with "SGE" 

wondering what is the best way to accurately find our available number of resources and how to best match my requirements to what is available. i only want to run simple test(hello world shell scripts) jobs and don't need to wait for a specific type of resources. i just want to be able to pick what is available and submit a job to run on. 

i have used condor_status -avail and it gives me the following, 

44132.000:  Run analysis summary.  Of 686 machines,
      0 are rejected by your job's requirements
     10 reject your job because of their own requirements
      1 match but are serving users with a better priority in the pool
      0 match but reject the job for unknown reasons
    675 match but will not currently preempt their existing job
      0 match but are currently offline
      0 are available to run your job


Name               OpSys      Arch   State     Activity LoadAv Mem   ActvtyTime

slot1@xxxxxxxxxxx LINUX      X86_64 Unclaimed Idle     0.920  6036  0+00:00:03
slot2@xxxxxxxxxxx LINUX      X86_64 Unclaimed Idle     1.000  6036  0+00:00:04
                     Total Owner Claimed Unclaimed Matched Preempting Backfill

        X86_64/LINUX     2     0       0         2       0          0        0

               Total     2     0       0         2       0          0        0

also the requirements looks like below:
......
IsValidCheckpointPlatform = ( ( ( TARGET.JobUniverse == 1 ) == false ) || ( ( MY.CheckpointPlatform =!= undefined ) && ( ( TARGET.LastCheckpointPlatform =?= MY.CheckpointPlatform ) || ( TARGET.NumCkpts == 0 ) ) ) )
.....
Start = ( true ) && ( ( TARGET.RequiresWholeMachine =!= true && MY.CAN_RUN_WHOLE_MACHINE == false && eval(strcat("Slot",( ( 12 / 2 ) + 1 ),"_State")) =!= "Claimed" ) || ( TARGET.RequiresWholeMachine =?= true && MY.CAN_RUN_WHOLE_MACHINE ) )
.....
CAN_RUN_WHOLE_MACHINE = SlotID == ( ( 12 / 2 ) + 1 )
....
Requirements = ( START ) && ( IsValidCheckpointPlatform )


******* any idea how to best way to identify the available slots and environments and resources that i can immediately jump on. any help is greatly appreciated.

best regards!
[← Prev in Thread] Current Thread [Next in Thread→]
  • [Condor-devel] How to identify available slots or nodes, Prem Kumar <=