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

Re: [Condor-users] ordering jobs



On 05/31/2012 01:35 PM, Nathan Panike wrote:

> So you want to use the number of slots as DAGMAN_MAX_JOBS_SUBMITTED?
> I think 
> 
> condor_submit_dag -maxjobs $(condor_status -f '%s\n' Machine | wc -l)
> 
> will do what you want.  I do not know of any attribute or macro that
> counts the slots in the pool.

That will do. I was thinking of something like
 DAGMAN_MAX_JOBS_SUBMITTED = 2 * $(TOTAL_SLOTS)
in dag config file, but I can just as easily put it on the command line.

Thanks again
-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu

Attachment: signature.asc
Description: OpenPGP digital signature