/* simple test trying to load a DAX file. */
-/* Copyright (c) 2009-2015. The SimGrid Team.
+/* Copyright (c) 2009-2017. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
#include "simgrid/simdag.h"
#include "xbt/file.h"
+#include <stdio.h>
+
XBT_LOG_NEW_DEFAULT_CATEGORY(test, "Logging specific to this SimDag example");
static int name_compare_hosts(const void *n1, const void *n2)
if (!dax){
XBT_ERROR("A problem occurred during DAX parsing (cycle or syntax). Do not continue this test");
free(tracefilename);
-
+
exit(255);
}
sg_host_get_name(wsl[0]), SD_task_get_amount(task), SD_task_get_name(task));
break;
default:
- xbt_die("Task %s is of unknown kind %d", SD_task_get_name(task), SD_task_get_kind(task));
+ xbt_die("Task %s is of unknown kind %u", SD_task_get_name(task), SD_task_get_kind(task));
}
SD_task_destroy(task);
}