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

Re: [Condor-users] Start only one job instance with multiple slots available

On 11/24/2010 10:25 AM, Horvátth Szabolcs wrote:
Hi Ben,

Is this what you're looking for?

Not really, I want only a subset of this. If I comprehended correct the
whole machine solution allows running jobs that use all slots of a
machine and single slot jobs.
What I'd like to have is simply not starting JobTypeA if one of the
slots already runs a JobTypeA.
I was thinking about publishing the type of the currently running jobs
as machine attributes and modify the start expression based on that,
but I haven't found a way to be able to read them from the start


You can use the STARTD_SLOT_ATTRS to make JobTypeA visible in a START expression, but be warned that it happens after the job starts. If you get multiple jobs of type A matched to a single machine in a single negotiation cycle, you may be disappointed.