[Simgrid-user] Doubt on the function: MSG_host_is_avail - MSG Operating System Functions

Mehdi Fekari Elmehdi.Fekari at loria.fr
Wed Jan 5 11:18:01 CET 2011



On 05/01/2011 00:08, Patrícia Batista Franco wrote:
>
> Hi,
>
>
> I'm using SimGrid 3.4.1.
>
> I am implementing the algorithms WQ, WQR and others in MSG example 
> master/slave.
>
> I need to know which host is available to send a replica of the task. 
> I tried using the function MSG_host_is_avail this way:
>
> MSG_host_is_avail(slaves[i])==1
>
> To verify that the host is available, but always returns 0, even with 
> the host in use.
>
> Can anyone help me?
>
>
> Regards,
>
> Patrícia
>
>
Hi,
right, MSG_host_is_avail determine if a host is available, if that's the 
case it returns 1.
can you help us to understand by sending a part of your code? that we 
could see where the problem is.

Regards,
Mdi.
>
>
> _______________________________________________
> Simgrid-user mailing list
> Simgrid-user at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/simgrid-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/simgrid-user/attachments/20110105/0cce0a32/attachment.htm>


More information about the Simgrid-user mailing list