Commit 58ed9ba5 authored by Millian Poquet's avatar Millian Poquet

Minor modifications to fit changes in SimGrid (workstation/model renamed to...

Minor modifications to fit changes in SimGrid (workstation/model renamed to host/model, s_msg_host_t removed...)
parent 66e054d8
......@@ -56,7 +56,7 @@ msg_error_t deploy_all(const char *platform_file)
xbt_dynar_t all_hosts;
msg_host_t first_host;
MSG_config("workstation/model", "ptask_L07");
MSG_config("host/model", "ptask_L07");
MSG_create_environment(platform_file);
all_hosts = MSG_hosts_as_dynar();
......
......@@ -665,7 +665,7 @@ int server(int argc, char *argv[])
*/
msg_error_t deploy_all(const char *platform_file, const char * masterHostName, const char * pajeTraceFilename, const char * csvJobsFilename, const char * csvScheduleFilename)
{
MSG_config("workstation/model", "ptask_L07");
MSG_config("host/model", "ptask_L07");
MSG_create_environment(platform_file);
xbt_dynar_t all_hosts = MSG_hosts_as_dynar();
......
......@@ -208,7 +208,7 @@ int job_exec(int job_id, int nb_res, int *res_idxs, msg_host_t *nodes, double wa
s_job_t * job = jobFromJobID(job_id);
//XBT_INFO("job_exec: jobID %d, job=%p", job_id, job);
msg_host_t * job_res = (msg_host_t *) xbt_new(s_msg_host_t, nb_res);
msg_host_t * job_res = (msg_host_t *) xbt_new(msg_host_t, nb_res);
for(int i = 0; i < nb_res; i++)
job_res[i] = nodes[res_idxs[i]];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment