-------------------------------------------------------
-function Receiver(...)
-
- simgrid.info("Hello From Receiver")
- sender = simgrid.Host.getByName(arg[1])
- send_alias = arg[2]
- recv_alias = "Receiver";
- simgrid.info("Receiving Task from "..simgrid.Host.name(sender));
- task = simgrid.Task.recv(recv_alias);
- mm = mmult(task['size'],task['size'],task['matrix_1'],task['matrix_2']);
- --mprint(task['size'],task['size'],mm)
- task['matrix_res'] = mm;
- simgrid.info("Calcul is done ... Bye");
+-- Copyright (c) 2011, 2014. The SimGrid Team.
+-- All rights reserved.
+
+-- This program is free software; you can redistribute it and/or modify it
+-- under the terms of the license (GNU LGPL) which comes with this package.