Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
update ompi selector as well with "recent" version
authorAugustin Degomme <degomme@wasabi>
Tue, 28 Aug 2018 15:37:50 +0000 (17:37 +0200)
committerAugustin Degomme <degomme@wasabi>
Tue, 28 Aug 2018 15:44:29 +0000 (17:44 +0200)
src/smpi/colls/barrier/barrier-mpich-smp.cpp
src/smpi/colls/smpi_openmpi_selector.cpp

index 6df4962..2820a06 100644 (file)
@@ -1,3 +1,9 @@
+/* Copyright (c) 2013-2018. 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. */
+
 /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */
 /*
  *
index 4a25997..23271f6 100644 (file)
@@ -96,7 +96,7 @@ int Coll_alltoallv_ompi::alltoallv(void *sbuf, int *scounts, int *sdisps,
                                               )
 {
     /* For starters, just keep the original algorithm. */
-    return Coll_alltoallv_ompi_basic_linear::alltoallv(sbuf, scounts, sdisps, sdtype,
+    return Coll_alltoallv_ring::alltoallv(sbuf, scounts, sdisps, sdtype,
                                                         rbuf, rcounts, rdisps,rdtype,
                                                         comm);
 }
@@ -491,10 +491,7 @@ int Coll_allgatherv_ompi::allgatherv(void *sbuf, int scount,
 
     /* Decision based on allgather decision.   */
     if (total_dsize < 50000) {
-/*        return Coll_allgatherv_intra_bruck::allgatherv(sbuf, scount, sdtype,
-                                                      rbuf, rcounts, rdispls, rdtype,
-                                                      comm, module);*/
-    return Coll_allgatherv_ring::allgatherv(sbuf, scount, sdtype,
+        return Coll_allgatherv_ompi_bruck::allgatherv(sbuf, scount, sdtype,
                                                       rbuf, rcounts, rdispls, rdtype,
                                                       comm);