Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] Signals
From: Ralph Castain (rhc_at_[hidden])
Date: 2010-03-16 20:33:40


Sure! So long as you add the include, you are okay as the ORTE layer is "below" the OMPI one.

On Mar 16, 2010, at 6:29 PM, Leonardo Fialho wrote:

> Thanks Ralph, the last question... it orte_plm.signal_job exposed/available to be called by a PML component? Yes, I have the orte/mca/plm/plm.h include line.
>
> Leonardo
>
> On Mar 16, 2010, at 11:59 PM, Ralph Castain wrote:
>
>> It's just the orte_process_name_t jobid field. So if you have an orte_process_name_t *pname, then it would just be
>>
>> orte_plm.signal_job(pname->jobid, sig)
>>
>>
>> On Mar 16, 2010, at 3:23 PM, Leonardo Fialho wrote:
>>
>>> Hum.... and to signal a job probably the function is orte_plm.signal_job(jobid, signal); right?
>>>
>>> Now my dummy question is how to obtain the jobid part from an orte_proc_name_t variable? Is there any magical function in the names_fns.h?
>>>
>>> Thanks,
>>> Leonardo
>>>
>>> On Mar 16, 2010, at 10:12 PM, Ralph Castain wrote:
>>>
>>>> Afraid not - you can signal a job, but not a specific process. We used to have such an API, but nobody ever used it. Easy to restore if someone has a need.
>>>>
>>>> On Mar 16, 2010, at 2:45 PM, Leonardo Fialho wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Is there any function in Open MPI's frameworks to send a signal to other ORTE proc?
>>>>>
>>>>> For example, the ORTE process [[1234,1],1] want to send a signal to process [[1234,1,4] locate in other node. I'm looking for this kind of functions but I just found functions to send signal to all procs in a node.
>>>>>
>>>>> Thanks,
>>>>> Leonardo
>>>>> _______________________________________________
>>>>> devel mailing list
>>>>> devel_at_[hidden]
>>>>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>>>>
>>>>
>>>> _______________________________________________
>>>> devel mailing list
>>>> devel_at_[hidden]
>>>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>>>
>>> _______________________________________________
>>> devel mailing list
>>> devel_at_[hidden]
>>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>>
>> _______________________________________________
>> devel mailing list
>> devel_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel