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

Re: [Condor-users] condor_history query



what whatever reason constraint seems to be causing a problem.

condor_history -constraint "Book=!=UNDEFINED" -f history.file doesnt even give anything back (without format)





On Thu, Mar 1, 2012 at 8:07 AM, Lukas Slebodnik <slebodnik@xxxxxxxx> wrote:
On Thu, Mar 01, 2012 at 07:03:21AM -0500, Rita wrote:
> Matt,
>
> thanks for your response. I am guessing when you say const to use
> ¨constraint¨. So I am doing.
>
> condor_history -constraint ´Book!=UNDEFINED´ -f history.file -format ¨%s\n¨
> Book
Try:
condor_history -constraint "Book=!=UNDEFINED" -f history.file -format ¨%s\n¨ Book
>
> But it seems this syntax is unsupported
>
>
>
> On Sat, Feb 11, 2012 at 11:28 AM, Matthew Farrellee <matt@xxxxxxxxxx> wrote:
>
> > On 02/10/2012 07:48 AM, Rita wrote:
> >
> >> I have a property in my submit file called +book=¨Aj45¨ and when I do
> >> condor_history jobid -format ¨%s\n¨ book I can see Aj45
> >>
> >> However, if book isnt defined in the submit file I would like to get a
> >> ¨undef¨ so I am doing,
> >> condor_history jobid -format ¨%s\n¨
> >> ´ifThenElse(isUndefined(book),**¨undef¨,book))´
> >>
> >> I keep getting undef eventhough I have book. Any ideas what I am doing
> >> wrong?
> >>
> >
> > You are explicitly printing "undef" when it's undefined.
> >
> > You want -const Book=!=UNDEFINED
> >
> > Best,
> >
> >
> > matt
> > ______________________________**_________________
> > Condor-users mailing list
> > To unsubscribe, send a message to condor-users-request@xxxxxxxx**edu<condor-users-request@xxxxxxxxxxx>with a
> > subject: Unsubscribe
> > You can also unsubscribe by visiting
> > https://lists.cs.wisc.edu/**mailman/listinfo/condor-users<https://lists.cs.wisc.edu/mailman/listinfo/condor-users>
> >
> > The archives can be found at:
> > https://lists.cs.wisc.edu/**archive/condor-users/<https://lists.cs.wisc.edu/archive/condor-users/>
> >
>
>
>
> --
> --- Get your facts first, then you can distort them as you please.--

> _______________________________________________
> 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/

_______________________________________________
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/



--
--- Get your facts first, then you can distort them as you please.--