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

Re: [Condor-users] job is not kept in queue even though execute machine is busy



Boson,
> is my job submission file:
>
> universe=vanilla
> executable=t.bat
> Rank=(machine=="xxx")
You should use the Requirements expression, not Rank, for a hard
requirement. A job's Rank expression is a preference, i.e. it will
make your jobs prefer running on that machine, but they will still be
able to run elsewhere. If you change the setting to:
Requirement = (Machine == "xyz")
Condor will only schedule jobs to that machine.

Another feature to be aware of is that by default Condor will
advertise slots for all of machine 'xyz's cores. Running jobs
generally take up one slot. If there are more than 1 cores, when you
submit the second job, it will run in the second, still-idle core.

To see how many slots are present for a machine 'xyz', type 'condor_status xyz'

Hope this helps,
Jason

On Wed, Jan 28, 2009 at 5:57 AM, boson code <bocode@xxxxxxxxx> wrote:
> Hello,
>
> I'm a newbie and I've installed condor on 5 windows xp machines. I've want
> to execute a job on one particular machine (from another machine) and here
> is my job submission file:
>
> universe=vanilla
> executable=t.bat
> Rank=(machine=="xxx")
> output=logs/toutput.log
> log=logs/tcondor.log
> notification=never
> queue
>
> The job is getting executed and the target machine is busy. Now I want to
> submit another job to the same machine (while the first job is still being
> executed). I thought condor will queue this job until the target machine
> becomes available since it is busy currently executing first job. But the
> second job is immediately submitted. What is the reason for this? Why is
> condor not waiting for the first job to finish before it can execute the
> second job?
>
> Please help
>
> Thanks in advance.
>
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/
>
>



-- 
===================================
Jason A. Stowe
cell: 607.227.9686
main: 888.292.5320

Cycle Computing, LLC
Leader in Condor Grid Solutions
Enterprise Condor Support and Management Tools

http://www.cyclecomputing.com
http://www.cyclecloud.com