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

Re: [Condor-users] condor username (first-name.last-name) conflict with group name - or what?



> SUBMIT_EXPRS = AccountingGroup
> AccountingGroup = strcat(GroupName, ".",
> ifThenElse(regexps("(.*)\.(.*)", Owner, "\1_\2") =!= "",
> regexps("(.*)\.(.*)", Owner, "\1_\2"), Owner))
> 

As an aside, you can see that the expression above assumes that there is
a GroupName defined.  The expression can/should be enhanced to handle
the case where somebody submits a job with no GroupName.  For example,
you just submit as "sassy.natan" with no group.