From: Martin Quinson Date: Tue, 4 Jun 2013 20:36:17 +0000 (+0200) Subject: display a warning message to avoid that some people use that binary by error X-Git-Tag: v3_9_90~347 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a9a7fce452bf5dc36bde5c1e0090b91922d13588?ds=sidebyside display a warning message to avoid that some people use that binary by error --- diff --git a/examples/msg/actions/actions.c b/examples/msg/actions/actions.c index 80abc5fb71..25baa9a7b3 100644 --- a/examples/msg/actions/actions.c +++ b/examples/msg/actions/actions.c @@ -489,7 +489,11 @@ int main(int argc, char *argv[]) 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]);