Hello guys

I've been checking the following:
doc/html/schedplugins.shtml
doc/html/api.shtml
doc/html/plugins.shtml
src/plugins/sched/builtin/builtin.c
src/plugins/sched/builtin/builtin.h
src/plugins/sched/builtin/builtin_wrapper.c

Those docs describe a little about the format and function
of different stuff needed to write a (scheduler) plugin,
however I don't see some extra documentation, suggestion,
tutorial or something that could prove useful for a newbie.

I tried checking the code for builtin and backfilling, but
unlike me, the guy that wrote that knew what he was doing
and how to get what was needed.

The only thing I realized was that *_wrapper.c only forwards
the call to the actual implementation or stubs unused functions.

So I was wondering if you had a description or list of the
handy functions, structures, etc. you provide to write a
scheduler or I have to browse the source.

Note that even with 4G of RAM eclipse almost faints while
I open the source of SLURM !

Cheers

----------------useful stuff I found so far?--------------

char *tmp_ptr = slurm_get_sched_params();
What's the format of the char sequence returned?
ex: backfill_interval = atoi(tmp_ptr + 9);

xfree(char*);

job_queue_rec_t *queue;

build_job_queue();

job_test_resv( , , , , );


-- 
[============================]
How do you create an operating system on Linux Ubuntu 9.10?
Y luego que por qué no me gusta usar Ubuntu...
[============================]

Reply via email to