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

Re: [Condor-users] condor_submit feature request



On Wed, Aug 06, 2008 at 07:43:02AM -0500, Nick LeRoy wrote:
> On Wed August 6 2008, Ryan Lewis wrote:
> > I would like to see support for the basic math operations ($(Process)
> > +12)*3/400
> 
> While we're discussing it, I've felt for a long time that something like this 
> could be useful (sprintf-ish):
> 
> output = %03d.out, ($(Process)+12)*3/400
> error  = %03d.err, ($(Process)+12)*3/400
> log    = %03d.log, ($(Process)+12)*3/400
> 

It's easy to write a perl (or python or php or ruby or whatever) script
that writes out a submit file. I wouldn't put any more syntatic sugar on
the condor_submit language.

-Erik