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

Re: [Condor-users] about group accounting



On 08/29/2011 11:37 PM, ¹ØÖдóÏÀ wrote:
To use an accounting group, each job inserts an attribute into the job
ClassAd which defines the accounting group name for the job.
I do as it says.

-------------------------------------------------------------------------
executable = a
universe = vanilla
output = aoutput
log = alog
error = aerror
should_transfer_files = yes
when_to_transfer_output = on_exit
+accountingGroup=tomcat
NOTIFICATION=ERROR
queue 2
----------------------------------------------------------------------------

Then I submitted it and it went well.
But the result is as follows:

-----------------------------------------------------------------------------
slot1@xxxxxxx LINUXX86_64 0.000 yangguang@xxxxxxxx tree.org
slot2@xxxxxxx LINUXX86_64 0.000 yangguang@xxxxxxxx tree.org
---------------------------------------------------------------------------------

The username is still yangguang.
Is there something wrong?
How to see if the group I specified has been used?

The + syntax in condor_submit's language means you are directly writing to the job's advertisement, and such need to follow ClassAd type conventions.

Try: +accountingGroup="tomcat"

Also, accounting groups must have at least two components, e.g. "tomcat.yangguang"

Best,


matt
http://spinningmatt.wordpress.com/2011/07/04/getting-started-submitting-jobs-to-condor/