comm_size = arg[3];
slave_count = arg[4]
-A = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}}
-
---print (A[1][3])
-
if (#arg ~= 4) then
error("Argc should be 4");
end
simgrid.info("Master: Everything's done.");
end
+-- end_of_master
+
-- Slave Function ---------------------------------------------------------
function Slave(...)
simgrid.info("Slave '" ..my_mailbox.."': I'm Done . See You !!");
-end -- function ----------------------------------------------------------
---]]
+end
+
+-- end_of_slave
+
+-- Simulation Code ----------------------------------------------------------
require "simgrid"
if (#arg == 2) then