Hi Greg,
Sorry that I didn't notice your code change in the latest HEAD.
Whatever, this problem has been solved. And thanks for your hard work.
Now, I'm working on getting icon image for node status.
PS. I remember that in our previous bug prefix, the file "srun_opt.h" is not included in current ptp cvs code because of some potential license problem. What should I do to solve this problem and have this file included since it is required to build slurm proxy?
Regards, Jie
From: yangtzj@xxxxxxxxxxx To: ptp-dev@xxxxxxxxxxx Subject: RE: [ptp-dev] Re: Adding SLURM support to PTP 3.0 Date: Fri, 9 Oct 2009 12:53:15 +0800 CC:
Hi Greg,
I have checked out the latest HEAD and reimplement SLURMRuntimeModelPresentation based on the latest OpenMPIRuntimeModelPresentation. However, this does not solve the problem.
After comparing the handling process of processStateChangeEvent and jobStateChangeEvent, I found that for processStateChangeEvent (with processStatus=xxx encoded), the "object" parameter of the getImage method of SLURMRuntimeModelPresentation is of type "jobManager", so the first condition (i.e, if (object instanceof IElement)) returns TRUE. Therefore, following statements are executed. But for a jobStateChangeEvent (with jobStatus=xxx encoded), the "object" parameter of the getImage method is of type "PJob", and the first if judgement returns "FALSE", the getImage returns null imediately and certainly no status image can be obtained as expected.
What causes this difference?
Regards, Jie
Subject: Re: [ptp-dev] Re: Adding SLURM support to PTP 3.0 From: g.watson@xxxxxxxxxxxx Date: Thu, 8 Oct 2009 08:29:36 -0400 CC: ptp-dev@xxxxxxxxxxx To: yangtzj@xxxxxxxxxxx
Jie,
I changed some code in OpenMPIRuntimeModelPresentation. Can you check that your model presentation code is doing the same thing?
Thanks,
Greg
搜索本应是快乐的,不是么? 快乐搜索,有问必应!微软隆重推出! 立即试用!
|