-/* Copyright (c) 2009, 2010. The SimGrid Team.
+/* Copyright (c) 2009-2013. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
static void action_compute(const char *const *action)
{
- const char *amout = action[2];
- msg_task_t task = MSG_task_create("task", parse_double(amout), 0, NULL);
+ const char *amount = action[2];
+ msg_task_t task = MSG_task_create("task", parse_double(amount), 0, NULL);
double clock = MSG_get_clock();
ACT_DEBUG("Entering %s", NAME);
argv[0]);
exit(1);
}
-
+ printf("WARNING: THIS BINARY IS KINDA DEPRECATED\n"
+ "This example is still relevant if you want to learn about MSG-based trace replay, "
+ "but if you want to simulate MPI-like traces, you should use the newer version "
+ "that is in the examples/smpi/replay directory instead.\n");
+
/* Simulation setting */
MSG_create_environment(argv[1]);