Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
made some changes to allow more than one DO_ONCE block. also fixed bug in
[simgrid.git] / src / smpi / sample / compute.c
index 26ce12a..2e4b0e3 100644 (file)
@@ -13,6 +13,7 @@ int main(int argc, char *argv[]) {
                }
        }
        printf("%d %f\n", i, d);
+       MPI_Comm_rank(MPI_COMM_WORLD, &i);
        MPI_Finalize();
        return 0;
 }