summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b9e946c)
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);
NULL);
MSG_parallel_task_execute(ptask);
+ /* There is no need to free that! */
+/* free(communication_amount); */
+/* free(computation_amount); */
- free(communication_amount);
- free(computation_amount);
free(slaves);
return 0;
}
free(slaves);
return 0;
}
{
MSG_error_t res = MSG_OK;
{
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);
MSG_set_channel_number(1);
MSG_create_environment(platform_file);