Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] request_memory
Rita,
I don't believe there's any native mechanism for conditionally editing
job requirements after submission. What you could do is periodically
run a condor_qedit. A sample, yet really ugly bash script:
for job in `condor_q -const 'JobStatus==5' -format "%s." ClusterId
-format "%s\n" ProcID`; do
req_mem=`condor_q $job -af RequestMemory`
condor_qedit $job RequestMemory `echo "$req_mem * 3" | bc`
done
Note that this will run against all held jobs regardless of reason.
You can refine the constraint to better suit your environment.
Thanks,
BC
--
Ben Cotton
main: 888.292.5320
Cycle Computing
Leader in Utility HPC Software
http://www.cyclecomputing.com
twitter: @cyclecomputing