Danny, we are using the accounting/slurmdbd module to push the records
into a database (just starting with it), but it was/is not clear to me
that this provides a duplication of the jobcomp information.  If
that's the case, then yes, i could change the jobcomp/mysql plugin to
jobcomp/script.

Since we're on the accounting/slurmdbd subject, for a moment, i
noticed in the accounting table, there is/are a field missing.  in the
jobcomp/script output you're setting a "BATCH" environment variable to
tell whether a program was produced as a batch or single, that column
seems to be missing from the database table.  it would also be nice if
this table logged the clustername and what nodes were done on a
NODE_FAIL exit status as additional columns.

having these extra columns would eliminate my need for a script at all
as i could sql pull the data into our site-wide tracking databases

On Tue, Apr 19, 2011 at 11:59 AM, Danny Auble <[email protected]> wrote:
> Hey Michael, is there any reason you don't want to use the
> accounting_storage/slurmdbd plugin for accounting? It provides an outrageous
> amount more information about each job and step than the basic jobcomp
> plugin. It also allows the ability for fairshare scheduling and limits if
> you want. Since you are already using the slurmdbd what would be considered
> the hard part is already over. Also, if you just want straight job records
> no real setup is required.
>
> That would leave the jobcomp/script open for your other database.
>
> Danny
>
>> Yes, i guess in my expedience I wasn't clear. We're using the jobcomp
>
>> module with slurmdbd now, i want to continue using that, but also run
>
>> a script. effectively having two JobCompType parameters
>
>>
>
>> On Tue, Apr 19, 2011 at 11:37 AM, Jette, Moe <[email protected]> wrote:
>
>> > We do something like that today. Just configure
>
>> >
>
>> > JobCompType=jobcomp/script
>
>> > JobCompLoc=<pathname>
>
>> >
>
>> > Your script can easily write information into a database and do anything
>> > else you want.
>
>> >
>
>> > ________________________________________
>
>> > From: [email protected] [[email protected]] On
>> > Behalf Of Michael Di Domenico [[email protected]]
>
>> > Sent: Tuesday, April 19, 2011 8:21 AM
>
>> > To: slurm-dev
>
>> > Subject: [slurm-dev] JobComp scripts
>
>> >
>
>> > Is it possible to have the JobComp logic insert it's records into a
>
>> > database, but also run a script for each job run?
>
>> >
>
>> >
>
>>
>
>
>

Reply via email to