Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
this example is simpler now
[simgrid.git] / examples / smpi / replay.c
1 /* Copyright (c) 2009, 2010, 2011, 2012. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #include "smpi/smpi.h"
8
9 int main(int argc, char *argv[])
10 {
11   smpi_replay_init(&argc, &argv);
12
13   /* Actually do the simulation using smpi_action_trace_run */
14   smpi_action_trace_run(argv[1]);  // it's ok to pass a NULL argument here
15
16   smpi_replay_finalize();
17   return 0;
18 }