[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] request_memory
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`
Note that this will run against all held jobs regardless of reason.
You can refine the constraint to better suit your environment.
Leader in Utility HPC Software