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

[Condor-users] Requesting resources with condor_run



Dear Condor experts,

is it possible to request resources with condor_run? The specific
problem I'm looking at is that I have a node with a partitionable
slot. When I use condor_run like

 $ condor_run sleep 30

it schedules and runs things fine. However, if I do

 $ CONDOR_REQUIREMENTS="Memory >= 1024" condor_run sleep 30

the job stays idle forever.

While debugging the problem I think I realized what happens: In the
latter case the job gets matched with such node and spawns a new
partition of the slot. Since it doesn't have any resource requests it
assigns 1 MB to the new slot and subsequently realizes that this is not
enough given the requirements of the job. Consequently the job is
rejected and the games repeats every minute from there on.

That would be solvable by having 'RequestMemory = 1024' in the submit
file that is created by condor_run, but I don't see how that could be
achieved. Am I missing something?


Thanks in advance,

Michael

-- 
Michael Hanke
http://mih.voxindeserto.de