On Feb 20, 2007, at 8:37 AM, Dave Wootton wrote: I've been busy for the last couple weeks, but am now at the point where I have time to work on my proxy code again. Would it be reasonable for me to start with the LSF code as a base at this time and fit my proxy to that model? I extracted code this morning from the PTP_TRY_RMR_20070112 CVS branch, and was going to base my proxy upon that level. Is the documentation in the Wiki for the resource manager and attributes up to date?
Yes I would base your code LSF (ptp_lsf_proxy.c). The commands you need to implement are in
static proxy_svr_commands command_tab[] = { {CMD_INIT, LSF_Initialize}, {CMD_MODEL_DEF, LSF_ModelDef}, {CMD_START_EVENTS, LSF_StartEvents}, {CMD_STOP_EVENTS, LSF_StopEvents}, {CMD_SUBMIT_JOB, LSF_SubmitJob}, {CMD_QUIT, LSF_Quit}, {0, NULL}, };
However, note that CMD_MODEL_DEF is deprecated and CMD_SUBMIT_JOB needs discussion regarding what is needed as far as arguments go.
The Wiki is a little out of date. I'll try to get with Randy (I want to make sure we are on the same page) tomorrow and update it.
Cheers, Craig
|