}
fprintf(stderr,"Routing model %s not found. Existing models:\n",wanted);
for (cpt=0;models[cpt].name;cpt++)
- if (!strcmp(wanted,models[cpt].name))
- fprintf(stderr," %s: %s\n",models[cpt].name,models[cpt].desc);
- exit(1);
+ fprintf(stderr," %s: %s\n",models[cpt].name,models[cpt].desc);
+ xbt_die("Invalid model.");
}
/* ************************************************************************** */
DEBUG2("Seen host %s (#%d)",host_id,used_routing->host_count);
*val = used_routing->host_count++;
xbt_dict_set(used_routing->host_id,host_id,val,xbt_free);
- #ifdef HAVE_TRACING
- TRACE_surf_host_define_id (host_id, *val);
- #endif
}
void routing_set_routes()