[Simgrid-user] Doubts about communication[slave -> master] using MSG

Ghislain Charrier ghislain.charrier at ens-lyon.fr
Thu Oct 29 19:19:57 CET 2009


On Thu, Oct 29, 2009 at 6:43 PM, Robson Roberto Souza Peixoto
<robsonpeixoto at gmail.com> wrote:
>
>
> On Thu, Oct 29, 2009 at 3:04 PM, Ghislain Charrier
> <ghislain.charrier at ens-lyon.fr> wrote:
>>
>> Hi,
>>
>> You just have to send a message to the master. After a
>> MSG_task_execute, you can make a MSG_task_send to the master (and the
>> corresponding receive in the master).
>>
>
> This function is implemented in version 3.3.3?

Yes, There are MSG_task_send and MSG_task_receive since some time now.
(but not on the doxygen page).
You can find examples of their usage un the MSG examples.

> Thank you for the tip. =)

No problem. I hope this helped.

>
>>
>> I do something similar. I use 2 processes on the master: One that
>> sends tasks, and one that waits for the answers from the slaves.
>>
>> See you.
>> Ghislain.
>>
>> On Thu, Oct 29, 2009 at 5:45 PM, Robson Roberto Souza Peixoto
>> <robsonpeixoto at gmail.com> wrote:
>> > Hi,
>> >
>> > I am studying the MSG to test scheduling algorithms, but I have a
>> > question.
>> >
>> > When you complete a task, I would like to warn the master that it is
>> > complete. How do I do that?
>> >
>> > Thanks
>> >
>> > --
>> > Robson Roberto Souza Peixoto
>> > Robinho
>> > robsonpeixoto at gmail.com
>> > Telefone: (19) 8821-0396 (oi)
>> >               (19) 9799-0135 (vivo)
>> > Computer Science Master's degree student, University of Campinas
>> > Linux Counter #395633
>> > IRC: robsonpeixoto
>> >
>> > _______________________________________________
>> > Simgrid-user mailing list
>> > Simgrid-user at lists.gforge.inria.fr
>> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/simgrid-user
>> >
>>
>>
>>
>> --
>> Ghislain Charrier
>> Doctorant INRIA                          Équipe GRAAL
>> Bureau 174 UCBL Gerland           Tel: +33 4 37 28 76 45
>> http://graal.ens-lyon.fr/~gcharrie
>> Laboratoire de l'Informatique du Parallélisme (LIP)
>> École Normale Supérieure de Lyon
>> 46 Allée d'Italie 69364 Lyon Cedex 07 - France
>
>
>
> --
> Robson Roberto Souza Peixoto
> Robinho
> robsonpeixoto at gmail.com
> Telefone: (19) 8821-0396 (oi)
>               (19) 9799-0135 (vivo)
> Computer Science Master's degree student, University of Campinas
> Linux Counter #395633
> IRC: robsonpeixoto
>



-- 
Ghislain Charrier
Doctorant INRIA                          Équipe GRAAL
Bureau 174 UCBL Gerland           Tel: +33 4 37 28 76 45
http://graal.ens-lyon.fr/~gcharrie
Laboratoire de l'Informatique du Parallélisme (LIP)
École Normale Supérieure de Lyon
46 Allée d'Italie 69364 Lyon Cedex 07 - France



More information about the Simgrid-user mailing list