Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
New platform files (just add AS tag)
[simgrid.git] / examples / smpi / split.c
index a87a4e1..984ee7e 100644 (file)
@@ -1,10 +1,17 @@
+/* Copyright (c) 2009, 2010. 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 <stdio.h>
 #include <mpi.h>
 
 int main(int argc, char *argv[])
 {
-  int worldrank, localrank;
-  MPI_Comm localcomm;
+  int worldrank;
+//  int localrank;
+//  MPI_Comm localcomm;
   MPI_Init(&argc, &argv);
   MPI_Comm_rank(MPI_COMM_WORLD, &worldrank);
   printf("MPI_Comm_split is not implemented\n");