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

Re: [Condor-users] Partial re-submission of cluster jobs



George,

You can definitely do logical constraints. First, you have to quote the whole argument because | means something special to the shell. Second, you have to use the logical || operator (the bitwise | doesn't do what you want). This should work:

condor_rm -constraint  "ID!=5231.1||ID!=5231.6|| ID!=5231.15! ||ID!=5231.50||ID!=5231.300"

Good luck,
Doug

-- 
===================================
Douglas Clayton
phone: 919.647.9648

Cycle Computing, LLC
Leader in Condor Grid Solutions
Enterprise Condor Support and Management Tools

http://www.cyclecomputing.com


On Fri, Jun 18, 2010 at 1:08 PM, George Graham <george.graham@xxxxxxxxxxxxxx> wrote:
Hello,
 
I’ve got a question about re-submitting condor jobs if some jobs in a cluster fail.
 
I can re-submit my cluster of jobs with a submit file that contains:
+ID=$(Cluster)$(Process)
hold=true
 
then remove jobs I don’t want to re-run:
condor_rm –constraint ID!=5231.1
 
and then get the remaining job (5231.1) to run:
condor_release –all
 
If I want to re-run a number of jobs (with non-consecutive process numbers) is there away to combine logical expressions in the –constraint option of condor_rm? Ideally I’d like to be able to do something like this (which, of course, doesn’t work):
condor_rm -constraint  ID!=5231.1|ID!=5231.6| ID!=5231.15! |ID!=5231.50|ID!=5231.300
 
Does anyone have any ideas or workrounds?
 
Many thanks,
George
 
 

_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/