Hi, I found the mistake I have been making. It's a big and clear mistake, but I answer to myself just in case this is helpful for anybody in the future: I had been compiling my plugin with Slurm 2.5, being Slurm's version running in my cluster 2.3.5.
My plugin is working perfectly now. Kind regards, Miguel El 02/08/2012 19:36, "Miguel Méndez" <[email protected]> escribió: > Hi, > > I'm getting every time a job_id = 0 when my priority plugin is called. The > job_ptr has not details either, so I can't set the priority. > > I have this function: > > extern uint32_t priority_p_set(uint32_t last_prio, struct job_record > *job_ptr) > { > debug2("p_priority_set: job_id = %u", job_ptr->job_id); > uint32_t priority = _get_priority_internal(time(NULL), job_ptr); > > debug2("initial priority for job %u is %u", job_ptr->job_id, priority); > > return priority; > } > > And this is my log: > > [2012-08-02T17:56:39] debug2: p_priority_set: job_id = 0 > [2012-08-02T17:56:39] error: _get_priority_internal: job 0 does not have a > details symbol set, can't set priority > [2012-08-02T17:56:39] debug2: initial priority for job 0 is 0 > > > Why can this be happening? >
