"Loris Bennett" <[email protected]>
writes:

> Hi,
>
> As a test, I have changed the job_submit_default.c to the following
>
> ,----------------------------------------------------------------------------
> | extern int job_submit(struct job_descriptor *job_desc, uint32_t submit_uid)
> | {
> |         info("SUBMIT_PLUGIN_TEST: job_submit by UID %u",job_desc->user_id);
> |         return SLURM_SUCCESS;
> | }
> `----------------------------------------------------------------------------
>
> with a corresponding change for job_modify.  I have compiled the shared
> object, added the following to slurm.conf
>
> ,-------------------------------------
> | JobSubmitPlugins=job_submit/defaults
> `-------------------------------------
>
> and done
>
> ,---------------------
> | scontrol reconfigure
> `---------------------
>
> I am assuming that a log message should be written to the slurmcltd log
> file for every submitted job.  However, I can't see that happening.
>
> Any ideas what I am doing wrong?
>

The solution here was

,--------------------------
| JobSubmitPlugins=defaults
`--------------------------

which seems inconsistent with other setting such as 

,-------------------------
| TaskPlugin=task/affinity
`-------------------------

This occurs in version 2.2.7.

Regards

Loris

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email [email protected]

Reply via email to