Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] PTP Proxies and new attributes model

Craig
I've modified my proxy based on the ptp_lsf_proxy.c, have cloned the 
org.eclipse.ptp.lsf.core and org.eclipse.ptp.lsf.ui, and have a resource 
manager that can start and communicate with my proxy, up to the point 
where the start events message is handled. In looking at the ParallelTab 
class that is part of the launch configuration, I think I need to create 
instances of PMachine and PNode, but cannot create them since they are in 
the package org.eclipse.ptp.intenal.core which has access restrictions, 
and which I don't think I'm supposed to be accessing anyway.

Is there a way I can create instances of these classes? Do I need to 
implement my own classes using IPMachineControl, IPNodeControl, etc? Am I 
going down the wrong path due to some basic misunderstanding?

Thanks
Dave



Craig Rasmussen <crasmussen@xxxxxxxx> 
Sent by: ptp-dev-bounces@xxxxxxxxxxx
02/20/2007 07:15 PM
Please respond to
Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>


To
Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>
cc

Subject
Re: [ptp-dev] PTP Proxies and new attributes model







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
_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev




Back to the top