Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] moving traced smpi example to example/smpi/tracing/, plus new simple program
[simgrid.git] / examples / smpi / tracing / smpi_traced_simple.c
diff --git a/examples/smpi/tracing/smpi_traced_simple.c b/examples/smpi/tracing/smpi_traced_simple.c
new file mode 100644 (file)
index 0000000..1de1115
--- /dev/null
@@ -0,0 +1,15 @@
+/* Copyright (c) 2012. The SimGrid Team.
+ * All rights reserved.                                                     */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+#include <mpi.h>
+#include <stdio.h>
+
+int main(int argc, char *argv[])
+{
+  MPI_Init(&argc, &argv);
+  MPI_Barrier (MPI_COMM_WORLD);
+  MPI_Finalize();
+  return 0;
+}