1) Use ptask_L07 as other models do not support parallel tasks anymore.
2) Do not free arguments defining parallel tasks. They are automatically desalocated when the action is destroyed.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@5284
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
NULL);
MSG_parallel_task_execute(ptask);
+ /* There is no need to free that! */
+/* free(communication_amount); */
+/* free(computation_amount); */
INFO0("Goodbye now!");
- free(communication_amount);
- free(computation_amount);
free(slaves);
return 0;
}
{
MSG_error_t res = MSG_OK;
- /* MSG_config("workstation_model","KCCFLN05"); */
+ MSG_config("workstation_model","ptask_L07");
MSG_set_channel_number(1);
MSG_create_environment(platform_file);