Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move collective algorithms to separate folders
authordegomme <augustin.degomme@unibas.ch>
Sat, 11 Mar 2017 17:53:31 +0000 (18:53 +0100)
committerdegomme <augustin.degomme@unibas.ch>
Tue, 14 Mar 2017 23:23:46 +0000 (00:23 +0100)
96 files changed:
src/smpi/colls/allgather/allgather-2dmesh.cpp [moved from src/smpi/colls/allgather-2dmesh.cpp with 99% similarity]
src/smpi/colls/allgather/allgather-3dmesh.cpp [moved from src/smpi/colls/allgather-3dmesh.cpp with 99% similarity]
src/smpi/colls/allgather/allgather-GB.cpp [moved from src/smpi/colls/allgather-GB.cpp with 96% similarity]
src/smpi/colls/allgather/allgather-NTSLR-NB.cpp [moved from src/smpi/colls/allgather-NTSLR-NB.cpp with 98% similarity]
src/smpi/colls/allgather/allgather-NTSLR.cpp [moved from src/smpi/colls/allgather-NTSLR.cpp with 98% similarity]
src/smpi/colls/allgather/allgather-SMP-NTS.cpp [moved from src/smpi/colls/allgather-SMP-NTS.cpp with 99% similarity]
src/smpi/colls/allgather/allgather-bruck.cpp [moved from src/smpi/colls/allgather-bruck.cpp with 99% similarity]
src/smpi/colls/allgather/allgather-loosely-lr.cpp [moved from src/smpi/colls/allgather-loosely-lr.cpp with 99% similarity]
src/smpi/colls/allgather/allgather-mvapich-smp.cpp [moved from src/smpi/colls/allgather-mvapich-smp.cpp with 99% similarity]
src/smpi/colls/allgather/allgather-ompi-neighborexchange.cpp [moved from src/smpi/colls/allgather-ompi-neighborexchange.cpp with 99% similarity]
src/smpi/colls/allgather/allgather-pair.cpp [moved from src/smpi/colls/allgather-pair.cpp with 99% similarity]
src/smpi/colls/allgather/allgather-rdb.cpp [moved from src/smpi/colls/allgather-rdb.cpp with 99% similarity]
src/smpi/colls/allgather/allgather-rhv.cpp [moved from src/smpi/colls/allgather-rhv.cpp with 99% similarity]
src/smpi/colls/allgather/allgather-ring.cpp [moved from src/smpi/colls/allgather-ring.cpp with 99% similarity]
src/smpi/colls/allgather/allgather-smp-simple.cpp [moved from src/smpi/colls/allgather-smp-simple.cpp with 99% similarity]
src/smpi/colls/allgather/allgather-spreading-simple.cpp [moved from src/smpi/colls/allgather-spreading-simple.cpp with 99% similarity]
src/smpi/colls/allgatherv/allgatherv-GB.cpp [moved from src/smpi/colls/allgatherv-GB.cpp with 97% similarity]
src/smpi/colls/allgatherv/allgatherv-mpich-rdb.cpp [moved from src/smpi/colls/allgatherv-mpich-rdb.cpp with 99% similarity]
src/smpi/colls/allgatherv/allgatherv-mpich-ring.cpp [moved from src/smpi/colls/allgatherv-mpich-ring.cpp with 99% similarity]
src/smpi/colls/allgatherv/allgatherv-ompi-bruck.cpp [moved from src/smpi/colls/allgatherv-ompi-bruck.cpp with 99% similarity]
src/smpi/colls/allgatherv/allgatherv-ompi-neighborexchange.cpp [moved from src/smpi/colls/allgatherv-ompi-neighborexchange.cpp with 99% similarity]
src/smpi/colls/allgatherv/allgatherv-pair.cpp [moved from src/smpi/colls/allgatherv-pair.cpp with 99% similarity]
src/smpi/colls/allgatherv/allgatherv-ring.cpp [moved from src/smpi/colls/allgatherv-ring.cpp with 99% similarity]
src/smpi/colls/allreduce/allreduce-lr.cpp [moved from src/smpi/colls/allreduce-lr.cpp with 99% similarity]
src/smpi/colls/allreduce/allreduce-mvapich-rs.cpp [moved from src/smpi/colls/allreduce-mvapich-rs.cpp with 99% similarity]
src/smpi/colls/allreduce/allreduce-mvapich-two-level.cpp [moved from src/smpi/colls/allreduce-mvapich-two-level.cpp with 99% similarity]
src/smpi/colls/allreduce/allreduce-ompi-ring-segmented.cpp [moved from src/smpi/colls/allreduce-ompi-ring-segmented.cpp with 99% similarity]
src/smpi/colls/allreduce/allreduce-rab-rdb.cpp [moved from src/smpi/colls/allreduce-rab-rdb.cpp with 99% similarity]
src/smpi/colls/allreduce/allreduce-rab1.cpp [moved from src/smpi/colls/allreduce-rab1.cpp with 99% similarity]
src/smpi/colls/allreduce/allreduce-rab2.cpp [moved from src/smpi/colls/allreduce-rab2.cpp with 98% similarity]
src/smpi/colls/allreduce/allreduce-rdb.cpp [moved from src/smpi/colls/allreduce-rdb.cpp with 99% similarity]
src/smpi/colls/allreduce/allreduce-redbcast.cpp [moved from src/smpi/colls/allreduce-redbcast.cpp with 95% similarity]
src/smpi/colls/allreduce/allreduce-smp-binomial-pipeline.cpp [moved from src/smpi/colls/allreduce-smp-binomial-pipeline.cpp with 99% similarity]
src/smpi/colls/allreduce/allreduce-smp-binomial.cpp [moved from src/smpi/colls/allreduce-smp-binomial.cpp with 99% similarity]
src/smpi/colls/allreduce/allreduce-smp-rdb.cpp [moved from src/smpi/colls/allreduce-smp-rdb.cpp with 99% similarity]
src/smpi/colls/allreduce/allreduce-smp-rsag-lr.cpp [moved from src/smpi/colls/allreduce-smp-rsag-lr.cpp with 99% similarity]
src/smpi/colls/allreduce/allreduce-smp-rsag-rab.cpp [moved from src/smpi/colls/allreduce-smp-rsag-rab.cpp with 99% similarity]
src/smpi/colls/allreduce/allreduce-smp-rsag.cpp [moved from src/smpi/colls/allreduce-smp-rsag.cpp with 99% similarity]
src/smpi/colls/alltoall/alltoall-2dmesh.cpp [moved from src/smpi/colls/alltoall-2dmesh.cpp with 99% similarity]
src/smpi/colls/alltoall/alltoall-3dmesh.cpp [moved from src/smpi/colls/alltoall-3dmesh.cpp with 99% similarity]
src/smpi/colls/alltoall/alltoall-bruck.cpp [moved from src/smpi/colls/alltoall-bruck.cpp with 100% similarity]
src/smpi/colls/alltoall/alltoall-mvapich-scatter-dest.cpp [moved from src/smpi/colls/alltoall-mvapich-scatter-dest.cpp with 99% similarity]
src/smpi/colls/alltoall/alltoall-pair-light-barrier.cpp [moved from src/smpi/colls/alltoall-pair-light-barrier.cpp with 98% similarity]
src/smpi/colls/alltoall/alltoall-pair-mpi-barrier.cpp [moved from src/smpi/colls/alltoall-pair-mpi-barrier.cpp with 98% similarity]
src/smpi/colls/alltoall/alltoall-pair-one-barrier.cpp [moved from src/smpi/colls/alltoall-pair-one-barrier.cpp with 98% similarity]
src/smpi/colls/alltoall/alltoall-pair.cpp [moved from src/smpi/colls/alltoall-pair.cpp with 98% similarity]
src/smpi/colls/alltoall/alltoall-rdb.cpp [moved from src/smpi/colls/alltoall-rdb.cpp with 99% similarity]
src/smpi/colls/alltoall/alltoall-ring-light-barrier.cpp [moved from src/smpi/colls/alltoall-ring-light-barrier.cpp with 98% similarity]
src/smpi/colls/alltoall/alltoall-ring-mpi-barrier.cpp [moved from src/smpi/colls/alltoall-ring-mpi-barrier.cpp with 98% similarity]
src/smpi/colls/alltoall/alltoall-ring-one-barrier.cpp [moved from src/smpi/colls/alltoall-ring-one-barrier.cpp with 98% similarity]
src/smpi/colls/alltoall/alltoall-ring.cpp [moved from src/smpi/colls/alltoall-ring.cpp with 98% similarity]
src/smpi/colls/alltoallv/alltoallv-bruck.cpp [moved from src/smpi/colls/alltoallv-bruck.cpp with 99% similarity]
src/smpi/colls/alltoallv/alltoallv-ompi-basic-linear.cpp [moved from src/smpi/colls/alltoallv-ompi-basic-linear.cpp with 99% similarity]
src/smpi/colls/alltoallv/alltoallv-pair-light-barrier.cpp [moved from src/smpi/colls/alltoallv-pair-light-barrier.cpp with 98% similarity]
src/smpi/colls/alltoallv/alltoallv-pair-mpi-barrier.cpp [moved from src/smpi/colls/alltoallv-pair-mpi-barrier.cpp with 98% similarity]
src/smpi/colls/alltoallv/alltoallv-pair-one-barrier.cpp [moved from src/smpi/colls/alltoallv-pair-one-barrier.cpp with 98% similarity]
src/smpi/colls/alltoallv/alltoallv-pair.cpp [moved from src/smpi/colls/alltoallv-pair.cpp with 98% similarity]
src/smpi/colls/alltoallv/alltoallv-ring-light-barrier.cpp [moved from src/smpi/colls/alltoallv-ring-light-barrier.cpp with 98% similarity]
src/smpi/colls/alltoallv/alltoallv-ring-mpi-barrier.cpp [moved from src/smpi/colls/alltoallv-ring-mpi-barrier.cpp with 98% similarity]
src/smpi/colls/alltoallv/alltoallv-ring-one-barrier.cpp [moved from src/smpi/colls/alltoallv-ring-one-barrier.cpp with 98% similarity]
src/smpi/colls/alltoallv/alltoallv-ring.cpp [moved from src/smpi/colls/alltoallv-ring.cpp with 98% similarity]
src/smpi/colls/barrier/barrier-mvapich2-pair.cpp [moved from src/smpi/colls/barrier-mvapich2-pair.cpp with 98% similarity]
src/smpi/colls/barrier/barrier-ompi.cpp [moved from src/smpi/colls/barrier-ompi.cpp with 99% similarity]
src/smpi/colls/bcast/bcast-NTSB.cpp [moved from src/smpi/colls/bcast-NTSB.cpp with 99% similarity]
src/smpi/colls/bcast/bcast-NTSL-Isend.cpp [moved from src/smpi/colls/bcast-NTSL-Isend.cpp with 99% similarity]
src/smpi/colls/bcast/bcast-NTSL.cpp [moved from src/smpi/colls/bcast-NTSL.cpp with 99% similarity]
src/smpi/colls/bcast/bcast-SMP-binary.cpp [moved from src/smpi/colls/bcast-SMP-binary.cpp with 99% similarity]
src/smpi/colls/bcast/bcast-SMP-binomial.cpp [moved from src/smpi/colls/bcast-SMP-binomial.cpp with 99% similarity]
src/smpi/colls/bcast/bcast-SMP-linear.cpp [moved from src/smpi/colls/bcast-SMP-linear.cpp with 99% similarity]
src/smpi/colls/bcast/bcast-arrival-pattern-aware-wait.cpp [moved from src/smpi/colls/bcast-arrival-pattern-aware-wait.cpp with 99% similarity]
src/smpi/colls/bcast/bcast-arrival-pattern-aware.cpp [moved from src/smpi/colls/bcast-arrival-pattern-aware.cpp with 99% similarity]
src/smpi/colls/bcast/bcast-arrival-scatter.cpp [moved from src/smpi/colls/bcast-arrival-scatter.cpp with 99% similarity]
src/smpi/colls/bcast/bcast-binomial-tree.cpp [moved from src/smpi/colls/bcast-binomial-tree.cpp with 99% similarity]
src/smpi/colls/bcast/bcast-flattree-pipeline.cpp [moved from src/smpi/colls/bcast-flattree-pipeline.cpp with 98% similarity]
src/smpi/colls/bcast/bcast-flattree.cpp [moved from src/smpi/colls/bcast-flattree.cpp with 97% similarity]
src/smpi/colls/bcast/bcast-mvapich-smp.cpp [moved from src/smpi/colls/bcast-mvapich-smp.cpp with 99% similarity]
src/smpi/colls/bcast/bcast-ompi-pipeline.cpp [moved from src/smpi/colls/bcast-ompi-pipeline.cpp with 99% similarity]
src/smpi/colls/bcast/bcast-ompi-split-bintree.cpp [moved from src/smpi/colls/bcast-ompi-split-bintree.cpp with 99% similarity]
src/smpi/colls/bcast/bcast-scatter-LR-allgather.cpp [moved from src/smpi/colls/bcast-scatter-LR-allgather.cpp with 99% similarity]
src/smpi/colls/bcast/bcast-scatter-rdb-allgather.cpp [moved from src/smpi/colls/bcast-scatter-rdb-allgather.cpp with 99% similarity]
src/smpi/colls/gather/gather-mvapich.cpp [moved from src/smpi/colls/gather-mvapich.cpp with 99% similarity]
src/smpi/colls/gather/gather-ompi.cpp [moved from src/smpi/colls/gather-ompi.cpp with 99% similarity]
src/smpi/colls/reduce/reduce-NTSL.cpp [moved from src/smpi/colls/reduce-NTSL.cpp with 99% similarity]
src/smpi/colls/reduce/reduce-arrival-pattern-aware.cpp [moved from src/smpi/colls/reduce-arrival-pattern-aware.cpp with 99% similarity]
src/smpi/colls/reduce/reduce-binomial.cpp [moved from src/smpi/colls/reduce-binomial.cpp with 98% similarity]
src/smpi/colls/reduce/reduce-flat-tree.cpp [moved from src/smpi/colls/reduce-flat-tree.cpp with 98% similarity]
src/smpi/colls/reduce/reduce-mvapich-knomial.cpp [moved from src/smpi/colls/reduce-mvapich-knomial.cpp with 99% similarity]
src/smpi/colls/reduce/reduce-mvapich-two-level.cpp [moved from src/smpi/colls/reduce-mvapich-two-level.cpp with 99% similarity]
src/smpi/colls/reduce/reduce-ompi.cpp [moved from src/smpi/colls/reduce-ompi.cpp with 99% similarity]
src/smpi/colls/reduce/reduce-rab.cpp [moved from src/smpi/colls/reduce-rab.cpp with 99% similarity]
src/smpi/colls/reduce/reduce-scatter-gather.cpp [moved from src/smpi/colls/reduce-scatter-gather.cpp with 99% similarity]
src/smpi/colls/reduce_scatter/reduce_scatter-mpich.cpp [moved from src/smpi/colls/reduce_scatter-mpich.cpp with 99% similarity]
src/smpi/colls/reduce_scatter/reduce_scatter-ompi.cpp [moved from src/smpi/colls/reduce_scatter-ompi.cpp with 100% similarity]
src/smpi/colls/scatter/scatter-mvapich-two-level.cpp [moved from src/smpi/colls/scatter-mvapich-two-level.cpp with 99% similarity]
src/smpi/colls/scatter/scatter-ompi.cpp [moved from src/smpi/colls/scatter-ompi.cpp with 99% similarity]
tools/cmake/DefinePackages.cmake

similarity index 99%
rename from src/smpi/colls/allgather-2dmesh.cpp
rename to src/smpi/colls/allgather/allgather-2dmesh.cpp
index 9217ab3..21be3ac 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 /*****************************************************************************
 
similarity index 99%
rename from src/smpi/colls/allgather-3dmesh.cpp
rename to src/smpi/colls/allgather/allgather-3dmesh.cpp
index 911c432..dfe154d 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 /*****************************************************************************
 
similarity index 96%
rename from src/smpi/colls/allgather-GB.cpp
rename to src/smpi/colls/allgather/allgather-GB.cpp
index 054947a..1a107b0 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 // Allgather - gather/bcast algorithm
 int smpi_coll_tuned_allgather_GB(void *send_buff, int send_count,
similarity index 98%
rename from src/smpi/colls/allgather-NTSLR-NB.cpp
rename to src/smpi/colls/allgather/allgather-NTSLR-NB.cpp
index 9b55717..dd1018a 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 // Allgather-Non-Topoloty-Scecific-Logical-Ring algorithm
 int
similarity index 98%
rename from src/smpi/colls/allgather-NTSLR.cpp
rename to src/smpi/colls/allgather/allgather-NTSLR.cpp
index 8900708..5191e85 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 // Allgather-Non-Topoloty-Scecific-Logical-Ring algorithm
 int
similarity index 99%
rename from src/smpi/colls/allgather-SMP-NTS.cpp
rename to src/smpi/colls/allgather/allgather-SMP-NTS.cpp
index 634eb21..0ea5ff7 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 int smpi_coll_tuned_allgather_SMP_NTS(void *sbuf, int scount,
                                       MPI_Datatype stype, void *rbuf,
similarity index 99%
rename from src/smpi/colls/allgather-bruck.cpp
rename to src/smpi/colls/allgather/allgather-bruck.cpp
index c674f17..68edee2 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 /*****************************************************************************
 
similarity index 99%
rename from src/smpi/colls/allgather-loosely-lr.cpp
rename to src/smpi/colls/allgather/allgather-loosely-lr.cpp
index 5bc889e..1d31885 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 int smpi_coll_tuned_allgather_loosely_lr(void *sbuf, int scount,
                                          MPI_Datatype stype, void *rbuf,
@@ -34,7 +34,7 @@
  *  (C) 2001 by Argonne National Laboratory.
  *      See COPYRIGHT in top-level directory.
  */
- #include "colls_private.h"
+ #include "../colls_private.h"
 
 
 
@@ -62,7 +62,7 @@
  *         [5]    [5]    [5]    [5]    [5]    [5]
  */
  
- #include "colls_private.h"
+ #include "../colls_private.h"
 int 
 smpi_coll_tuned_allgather_ompi_neighborexchange(void *sbuf, int scount,
                                                  MPI_Datatype sdtype,
similarity index 99%
rename from src/smpi/colls/allgather-pair.cpp
rename to src/smpi/colls/allgather/allgather-pair.cpp
index 5dd17f7..cfec7c8 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 /*****************************************************************************
 
similarity index 99%
rename from src/smpi/colls/allgather-rdb.cpp
rename to src/smpi/colls/allgather/allgather-rdb.cpp
index 93b0e77..8fb6efa 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 int
 smpi_coll_tuned_allgather_rdb(void *sbuf, int send_count,
similarity index 99%
rename from src/smpi/colls/allgather-rhv.cpp
rename to src/smpi/colls/allgather/allgather-rhv.cpp
index 4b9db92..8e7f44b 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 // now only work with power of two processes
 
similarity index 99%
rename from src/smpi/colls/allgather-ring.cpp
rename to src/smpi/colls/allgather/allgather-ring.cpp
index 01c5b13..c638b25 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 /*****************************************************************************
 
similarity index 99%
rename from src/smpi/colls/allgather-smp-simple.cpp
rename to src/smpi/colls/allgather/allgather-smp-simple.cpp
index 1796752..8d7f190 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 int smpi_coll_tuned_allgather_smp_simple(void *send_buf, int scount,
                                          MPI_Datatype stype, void *recv_buf,
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 /*****************************************************************************
 
similarity index 97%
rename from src/smpi/colls/allgatherv-GB.cpp
rename to src/smpi/colls/allgatherv/allgatherv-GB.cpp
index 7941bca..bd53450 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 // Allgather - gather/bcast algorithm
 int smpi_coll_tuned_allgatherv_GB(void *send_buff, int send_count,
similarity index 99%
rename from src/smpi/colls/allgatherv-mpich-rdb.cpp
rename to src/smpi/colls/allgatherv/allgatherv-mpich-rdb.cpp
index 384dbc2..c224fbd 100644 (file)
@@ -6,7 +6,7 @@
 
         /* Short or medium size message and power-of-two no. of processes. Use
          * recursive doubling algorithm */
-#include "colls_private.h"
+#include "../colls_private.h"
 int smpi_coll_tuned_allgatherv_mpich_rdb (
   void *sendbuf,
   int sendcount,
@@ -10,7 +10,7 @@
  *      See COPYRIGHT in top-level directory.
  */
 
-#include "colls_private.h"
+#include "../colls_private.h"
 
 /*****************************************************************************
  * Function: allgather_mpich_ring
@@ -20,7 +20,7 @@
  * Additional copyrights may follow
  */
 
-#include "colls_private.h"
+#include "../colls_private.h"
 /*
  * ompi_coll_tuned_allgatherv_intra_bruck
  *
@@ -63,7 +63,7 @@
  *         [5]    [5]    [5]    [5]    [5]    [5]
  */
  
- #include "colls_private.h"
+ #include "../colls_private.h"
  
 int 
 smpi_coll_tuned_allgatherv_ompi_neighborexchange(void *sbuf, int scount,
similarity index 99%
rename from src/smpi/colls/allgatherv-pair.cpp
rename to src/smpi/colls/allgatherv/allgatherv-pair.cpp
index 4a618c7..438c863 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 /*****************************************************************************
 
similarity index 99%
rename from src/smpi/colls/allgatherv-ring.cpp
rename to src/smpi/colls/allgatherv/allgatherv-ring.cpp
index 3b0c6cc..7d7927e 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 /*****************************************************************************
 
similarity index 99%
rename from src/smpi/colls/allreduce-lr.cpp
rename to src/smpi/colls/allreduce/allreduce-lr.cpp
index 1a56a3b..ab847ee 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 /* IMPLEMENTED BY PITCH PATARASUK 
    Non-topoloty-specific all-reduce operation designed bandwidth optimally 
similarity index 99%
rename from src/smpi/colls/allreduce-mvapich-rs.cpp
rename to src/smpi/colls/allreduce/allreduce-mvapich-rs.cpp
index e887175..e8789a1 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "colls_private.h"
+#include "../colls_private.h"
 
 int smpi_coll_tuned_allreduce_mvapich2_rs(void *sendbuf,
                             void *recvbuf,
@@ -35,7 +35,7 @@
  *      See COPYRIGHT in top-level directory.
  */
 
-#include "colls_private.h"
+#include "../colls_private.h"
 
 #define MPIR_Allreduce_pt2pt_rd_MV2 smpi_coll_tuned_allreduce_rdb
 #define MPIR_Allreduce_pt2pt_rs_MV2 smpi_coll_tuned_allreduce_mvapich2_rs
         EARLY_BLOCK_COUNT = EARLY_BLOCK_COUNT + 1;                           \
     }                                                                        \
 
-#include "colls_private.h"
+#include "../colls_private.h"
 int 
 smpi_coll_tuned_allreduce_ompi_ring_segmented(void *sbuf, void *rbuf, int count,
                                                MPI_Datatype dtype,
similarity index 99%
rename from src/smpi/colls/allreduce-rab-rdb.cpp
rename to src/smpi/colls/allreduce/allreduce-rab-rdb.cpp
index 29d727f..f72175b 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 int smpi_coll_tuned_allreduce_rab_rdb(void *sbuff, void *rbuff, int count,
                                       MPI_Datatype dtype, MPI_Op op,
similarity index 99%
rename from src/smpi/colls/allreduce-rab1.cpp
rename to src/smpi/colls/allreduce/allreduce-rab1.cpp
index 687aa7d..96c7105 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 //#include <star-reduction.c>
 
 // NP pow of 2 for now
similarity index 98%
rename from src/smpi/colls/allreduce-rab2.cpp
rename to src/smpi/colls/allreduce/allreduce-rab2.cpp
index d11b9f2..007a42b 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 //#include <star-reduction.c>
 
 // this requires that count >= NP
similarity index 99%
rename from src/smpi/colls/allreduce-rdb.cpp
rename to src/smpi/colls/allreduce/allreduce-rdb.cpp
index 5fc1f2b..cb99c01 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 //#include <star-reduction.c>
 
 int smpi_coll_tuned_allreduce_rdb(void *sbuff, void *rbuff, int count,
similarity index 95%
rename from src/smpi/colls/allreduce-redbcast.cpp
rename to src/smpi/colls/allreduce/allreduce-redbcast.cpp
index 20b4481..26b9585 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 int smpi_coll_tuned_allreduce_redbcast(void *buf, void *buf2, int count,
                                        MPI_Datatype datatype, MPI_Op op,
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 /* IMPLEMENTED BY PITCH PATARASUK 
    Non-topoloty-specific (however, number of cores/node need to be changed) 
    all-reduce operation designed for smp clusters
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 /* IMPLEMENTED BY PITCH PATARASUK 
    Non-topoloty-specific (however, number of cores/node need to be changed) 
    all-reduce operation designed for smp clusters
similarity index 99%
rename from src/smpi/colls/allreduce-smp-rdb.cpp
rename to src/smpi/colls/allreduce/allreduce-smp-rdb.cpp
index c82a3ea..a5b40f1 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 /* IMPLEMENTED BY PITCH PATARASUK 
    Non-topoloty-specific (however, number of cores/node need to be changed) 
    all-reduce operation designed for smp clusters
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 //#include <star-reduction.c>
 
 /*
@@ -7,7 +7,7 @@
 /* 
  * implemented by Pitch Patarasuk, 07/01/2007
  */
-#include "colls_private.h"
+#include "../colls_private.h"
 //#include <star-reduction.c>
 
 
similarity index 99%
rename from src/smpi/colls/allreduce-smp-rsag.cpp
rename to src/smpi/colls/allreduce/allreduce-smp-rsag.cpp
index 1af6949..4cb5d31 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 /*
 This fucntion performs all-reduce operation as follow.
similarity index 99%
rename from src/smpi/colls/alltoall-2dmesh.cpp
rename to src/smpi/colls/alltoall/alltoall-2dmesh.cpp
index 28a3c77..ca07027 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 #include <math.h>
 
 /*****************************************************************************
similarity index 99%
rename from src/smpi/colls/alltoall-3dmesh.cpp
rename to src/smpi/colls/alltoall/alltoall-3dmesh.cpp
index 10735e0..742998e 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 #include <math.h>
 
 /*****************************************************************************
@@ -41,7 +41,7 @@
 //correct on stampede
 #define MV2_ALLTOALL_THROTTLE_FACTOR         4
  
-#include "colls_private.h"
+#include "../colls_private.h"
 
 int smpi_coll_tuned_alltoall_mvapich2_scatter_dest(
                             void *sendbuf,
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 /*****************************************************************************
 
  * Function: alltoall_pair_light_barrier
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 /*****************************************************************************
 
  * Function: alltoall_pair_mpi_barrier
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 /*****************************************************************************
 
  * Function: alltoall_pair
similarity index 98%
rename from src/smpi/colls/alltoall-pair.cpp
rename to src/smpi/colls/alltoall/alltoall-pair.cpp
index 3e5c4f4..4d2956a 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 /*****************************************************************************
 
similarity index 99%
rename from src/smpi/colls/alltoall-rdb.cpp
rename to src/smpi/colls/alltoall/alltoall-rdb.cpp
index 709e454..92a0722 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 /*****************************************************************************
 
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 /*****************************************************************************
 
  * Function: alltoall_ring_light_barrier
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 /*****************************************************************************
 
  * Function: alltoall_ring_mpi_barrier
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 /*****************************************************************************
 
  * Function: alltoall_ring
similarity index 98%
rename from src/smpi/colls/alltoall-ring.cpp
rename to src/smpi/colls/alltoall/alltoall-ring.cpp
index 34138e8..dea762e 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 /*****************************************************************************
 
  * Function: alltoall_ring
similarity index 99%
rename from src/smpi/colls/alltoallv-bruck.cpp
rename to src/smpi/colls/alltoallv/alltoallv-bruck.cpp
index 3be1b0b..3a6f9e5 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 /**
  * Alltoall Bruck
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 /*  
  * Linear functions are copied from the basic coll module.  For
  * some small number of nodes and/or small data sizes they are just as
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 /*****************************************************************************
 
  * Function: alltoall_pair_light_barrier
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 /*****************************************************************************
 
  * Function: alltoall_pair_mpi_barrier
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 /*****************************************************************************
 
  * Function: alltoall_pair
similarity index 98%
rename from src/smpi/colls/alltoallv-pair.cpp
rename to src/smpi/colls/alltoallv/alltoallv-pair.cpp
index f816e7a..c8e276c 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 /*****************************************************************************
 
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 /*****************************************************************************
 
  * Function: alltoall_ring_light_barrier
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 /*****************************************************************************
 
  * Function: alltoall_ring_mpi_barrier
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 /*****************************************************************************
 
  * Function: alltoall_ring
similarity index 98%
rename from src/smpi/colls/alltoallv-ring.cpp
rename to src/smpi/colls/alltoallv/alltoallv-ring.cpp
index e64fe12..4ac6317 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 /*****************************************************************************
 
  * Function: alltoall_ring
similarity index 98%
rename from src/smpi/colls/barrier-mvapich2-pair.cpp
rename to src/smpi/colls/barrier/barrier-mvapich2-pair.cpp
index 67b3f7b..bdcb445 100644 (file)
@@ -39,8 +39,8 @@
  *
  */
 
-#include "colls_private.h"
-#include "coll_tuned_topo.h"
+#include "../colls_private.h"
+#include "../coll_tuned_topo.h"
 
 int smpi_coll_tuned_barrier_mvapich2_pair(MPI_Comm comm)
 {
similarity index 99%
rename from src/smpi/colls/barrier-ompi.cpp
rename to src/smpi/colls/barrier/barrier-ompi.cpp
index 69a9a94..2b08bdf 100644 (file)
@@ -20,8 +20,8 @@
  * Additional copyrights may follow
  */
 
-#include "colls_private.h"
-#include "coll_tuned_topo.h"
+#include "../colls_private.h"
+#include "../coll_tuned_topo.h"
 
 
 /*
similarity index 99%
rename from src/smpi/colls/bcast-NTSB.cpp
rename to src/smpi/colls/bcast/bcast-NTSB.cpp
index 6d32644..74225c1 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 int bcast_NTSB_segment_size_in_byte = 8192;
 
similarity index 99%
rename from src/smpi/colls/bcast-NTSL-Isend.cpp
rename to src/smpi/colls/bcast/bcast-NTSL-Isend.cpp
index e259cba..78cb092 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 static int bcast_NTSL_segment_size_in_byte = 8192;
 
similarity index 99%
rename from src/smpi/colls/bcast-NTSL.cpp
rename to src/smpi/colls/bcast/bcast-NTSL.cpp
index 80a1167..740efeb 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 static int bcast_NTSL_segment_size_in_byte = 8192;
 
similarity index 99%
rename from src/smpi/colls/bcast-SMP-binary.cpp
rename to src/smpi/colls/bcast/bcast-SMP-binary.cpp
index 5cdf4d5..fa9cf45 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 
 int bcast_SMP_binary_segment_byte = 8192;
similarity index 99%
rename from src/smpi/colls/bcast-SMP-binomial.cpp
rename to src/smpi/colls/bcast/bcast-SMP-binomial.cpp
index 57c0b4c..5ac33b6 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 int smpi_coll_tuned_bcast_SMP_binomial(void *buf, int count,
                                        MPI_Datatype datatype, int root,
similarity index 99%
rename from src/smpi/colls/bcast-SMP-linear.cpp
rename to src/smpi/colls/bcast/bcast-SMP-linear.cpp
index c440a11..356c53a 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 int bcast_SMP_linear_segment_byte = 8192;
 
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 int bcast_arrival_pattern_aware_wait_segment_size_in_byte = 8192;
 
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 static int bcast_NTSL_segment_size_in_byte = 8192;
 
similarity index 99%
rename from src/smpi/colls/bcast-arrival-scatter.cpp
rename to src/smpi/colls/bcast/bcast-arrival-scatter.cpp
index 7ca4fd6..2f0ab21 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 #ifndef BCAST_ARRIVAL_PATTERN_AWARE_HEADER_SIZE
 #define BCAST_ARRIVAL_PATTERN_AWARE_HEADER_SIZE 128
similarity index 99%
rename from src/smpi/colls/bcast-binomial-tree.cpp
rename to src/smpi/colls/bcast/bcast-binomial-tree.cpp
index 9e729da..0ab2538 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 /*****************************************************************************
 
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 int flattree_segment_in_byte = 8192;
 
similarity index 97%
rename from src/smpi/colls/bcast-flattree.cpp
rename to src/smpi/colls/bcast/bcast-flattree.cpp
index 5fe60c1..2a307f5 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 int
 smpi_coll_tuned_bcast_flattree(void *buff, int count, MPI_Datatype data_type,
similarity index 99%
rename from src/smpi/colls/bcast-mvapich-smp.cpp
rename to src/smpi/colls/bcast/bcast-mvapich-smp.cpp
index 084bc40..af641ac 100644 (file)
@@ -34,7 +34,7 @@
  *  (C) 2001 by Argonne National Laboratory.
  *      See COPYRIGHT in top-level directory.
  */
-#include "colls_private.h"
+#include "../colls_private.h"
 
 
 extern int (*MV2_Bcast_function) (void *buffer, int count, MPI_Datatype datatype,
similarity index 99%
rename from src/smpi/colls/bcast-ompi-pipeline.cpp
rename to src/smpi/colls/bcast/bcast-ompi-pipeline.cpp
index 7701fce..7f7893b 100644 (file)
@@ -4,8 +4,8 @@
 /* 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 "colls_private.h"
- #include "coll_tuned_topo.h"
+ #include "../colls_private.h"
+ #include "../coll_tuned_topo.h"
 
 #define MAXTREEFANOUT 32
 
@@ -55,8 +55,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-  #include "colls_private.h"
-  #include "coll_tuned_topo.h"
+  #include "../colls_private.h"
+  #include "../coll_tuned_topo.h"
   #define MAXTREEFANOUT 32
  
 int
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 /*****************************************************************************
 
@@ -1,4 +1,4 @@
-#include "colls_private.h"
+#include "../colls_private.h"
 
 static int scatter_for_bcast(
     int root,
similarity index 99%
rename from src/smpi/colls/gather-mvapich.cpp
rename to src/smpi/colls/gather/gather-mvapich.cpp
index b7574c1..97e1411 100644 (file)
@@ -35,7 +35,7 @@
  *      See COPYRIGHT in top-level directory.
  */
 
-#include "colls_private.h"
+#include "../colls_private.h"
 
 #define MPIR_Gather_MV2_Direct smpi_coll_tuned_gather_ompi_basic_linear
 #define MPIR_Gather_MV2_two_level_Direct smpi_coll_tuned_gather_ompi_basic_linear
similarity index 99%
rename from src/smpi/colls/gather-ompi.cpp
rename to src/smpi/colls/gather/gather-ompi.cpp
index c6c8f5e..e5133fd 100644 (file)
@@ -19,8 +19,8 @@
  * Additional copyrights may follow
  */
 
-#include "colls_private.h"
-#include "coll_tuned_topo.h"
+#include "../colls_private.h"
+#include "../coll_tuned_topo.h"
 
 /* Todo: gather_intra_generic, gather_intra_binary, gather_intra_chain,
  * gather_intra_pipeline, segmentation? */
similarity index 99%
rename from src/smpi/colls/reduce-NTSL.cpp
rename to src/smpi/colls/reduce/reduce-NTSL.cpp
index 1de7678..2282312 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 //#include <star-reduction.c>
 
 int reduce_NTSL_segment_size_in_byte = 8192;
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 //#include <star-reduction.c>
 
 int reduce_arrival_pattern_aware_segment_size_in_byte = 8192;
similarity index 98%
rename from src/smpi/colls/reduce-binomial.cpp
rename to src/smpi/colls/reduce/reduce-binomial.cpp
index ebf0c1e..05105b2 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 //#include <star-reduction.c>
 
similarity index 98%
rename from src/smpi/colls/reduce-flat-tree.cpp
rename to src/smpi/colls/reduce/reduce-flat-tree.cpp
index c556f9b..66e5ebe 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 //#include <star-reduction.c>
 
 int
similarity index 99%
rename from src/smpi/colls/reduce-mvapich-knomial.cpp
rename to src/smpi/colls/reduce/reduce-mvapich-knomial.cpp
index 3af0007..c23f094 100644 (file)
@@ -38,7 +38,7 @@
  *
  */
  
-#include "colls_private.h"
+#include "../colls_private.h"
 extern int mv2_reduce_intra_knomial_factor;
 extern int mv2_reduce_inter_knomial_factor;
 
@@ -35,7 +35,7 @@
  *      See COPYRIGHT in top-level directory.
  */
 
-#include "colls_private.h"
+#include "../colls_private.h"
 #define MV2_INTRA_SHMEM_REDUCE_MSG 2048
 
 #define mv2_g_shmem_coll_max_msg_size (1 << 17)
similarity index 99%
rename from src/smpi/colls/reduce-ompi.cpp
rename to src/smpi/colls/reduce/reduce-ompi.cpp
index 32bd615..da244bc 100644 (file)
@@ -19,8 +19,8 @@
  * Additional copyrights may follow
  */
 
-#include "colls_private.h"
-#include "coll_tuned_topo.h"
+#include "../colls_private.h"
+#include "../coll_tuned_topo.h"
 
 
 
similarity index 99%
rename from src/smpi/colls/reduce-rab.cpp
rename to src/smpi/colls/reduce/reduce-rab.cpp
index 46ac70b..3a0c2c0 100644 (file)
@@ -9,7 +9,7 @@
  * but this header must not be removed.
  */
 
-#include "colls_private.h"
+#include "../colls_private.h"
 #include <stdio.h>
 #include <stdlib.h>
 
similarity index 99%
rename from src/smpi/colls/reduce-scatter-gather.cpp
rename to src/smpi/colls/reduce/reduce-scatter-gather.cpp
index ab769b8..105a490 100644 (file)
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 /*
   reduce
@@ -4,7 +4,7 @@
 /* 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 "colls_private.h"
+#include "../colls_private.h"
 
 static inline int MPIU_Mirror_permutation(unsigned int x, int bits)
 {
@@ -34,7 +34,7 @@
  *  (C) 2001 by Argonne National Laboratory.
  *      See COPYRIGHT in top-level directory.
  */
-#include "colls_private.h"
+#include "../colls_private.h"
 
 #define MPIR_Scatter_MV2_Binomial smpi_coll_tuned_scatter_ompi_binomial
 #define MPIR_Scatter_MV2_Direct smpi_coll_tuned_scatter_ompi_basic_linear
similarity index 99%
rename from src/smpi/colls/scatter-ompi.cpp
rename to src/smpi/colls/scatter/scatter-ompi.cpp
index e8391e0..1aee0d7 100644 (file)
@@ -20,8 +20,8 @@
  */
 
 
-#include "colls_private.h"
-#include "coll_tuned_topo.h"
+#include "../colls_private.h"
+#include "../coll_tuned_topo.h"
 
 
 int
index d8e0974..8b9365b 100644 (file)
@@ -102,103 +102,103 @@ set(EXTRA_DIST
   )
 
 set(SMPI_SRC
-  src/smpi/colls/allgather-2dmesh.cpp
-  src/smpi/colls/allgather-3dmesh.cpp
-  src/smpi/colls/allgather-GB.cpp
-  src/smpi/colls/allgather-NTSLR-NB.cpp
-  src/smpi/colls/allgather-NTSLR.cpp
-  src/smpi/colls/allgather-SMP-NTS.cpp
-  src/smpi/colls/allgather-bruck.cpp
-  src/smpi/colls/allgather-loosely-lr.cpp
-  src/smpi/colls/allgather-ompi-neighborexchange.cpp
-  src/smpi/colls/allgather-pair.cpp
-  src/smpi/colls/allgather-mvapich-smp.cpp
-  src/smpi/colls/allgather-rdb.cpp
-  src/smpi/colls/allgather-rhv.cpp
-  src/smpi/colls/allgather-ring.cpp
-  src/smpi/colls/allgather-smp-simple.cpp
-  src/smpi/colls/allgather-spreading-simple.cpp
-  src/smpi/colls/allgatherv-GB.cpp
-  src/smpi/colls/allgatherv-mpich-rdb.cpp
-  src/smpi/colls/allgatherv-mpich-ring.cpp
-  src/smpi/colls/allgatherv-ompi-bruck.cpp
-  src/smpi/colls/allgatherv-ompi-neighborexchange.cpp
-  src/smpi/colls/allgatherv-pair.cpp
-  src/smpi/colls/allgatherv-ring.cpp
-  src/smpi/colls/allreduce-lr.cpp
-  src/smpi/colls/allreduce-ompi-ring-segmented.cpp
-  src/smpi/colls/allreduce-rab-rdb.cpp
-  src/smpi/colls/allreduce-rab1.cpp
-  src/smpi/colls/allreduce-rab2.cpp
-  src/smpi/colls/allreduce-rdb.cpp
-  src/smpi/colls/allreduce-redbcast.cpp
-  src/smpi/colls/allreduce-smp-binomial-pipeline.cpp
-  src/smpi/colls/allreduce-smp-binomial.cpp
-  src/smpi/colls/allreduce-smp-rdb.cpp
-  src/smpi/colls/allreduce-smp-rsag-lr.cpp
-  src/smpi/colls/allreduce-smp-rsag-rab.cpp
-  src/smpi/colls/allreduce-smp-rsag.cpp
-  src/smpi/colls/allreduce-mvapich-rs.cpp
-  src/smpi/colls/allreduce-mvapich-two-level.cpp
-  src/smpi/colls/alltoall-2dmesh.cpp
-  src/smpi/colls/alltoall-3dmesh.cpp
-#  src/smpi/colls/alltoall-bruck.cpp
-  src/smpi/colls/alltoall-pair-light-barrier.cpp
-  src/smpi/colls/alltoall-pair-mpi-barrier.cpp
-  src/smpi/colls/alltoall-pair-one-barrier.cpp
-  src/smpi/colls/alltoall-pair.cpp
-  src/smpi/colls/alltoall-rdb.cpp
-  src/smpi/colls/alltoall-ring-light-barrier.cpp
-  src/smpi/colls/alltoall-ring-mpi-barrier.cpp
-  src/smpi/colls/alltoall-ring-one-barrier.cpp
-  src/smpi/colls/alltoall-ring.cpp
-  src/smpi/colls/alltoall-mvapich-scatter-dest.cpp
-  src/smpi/colls/alltoallv-bruck.cpp
-  src/smpi/colls/alltoallv-ompi-basic-linear.cpp
-  src/smpi/colls/alltoallv-pair-light-barrier.cpp
-  src/smpi/colls/alltoallv-pair-mpi-barrier.cpp
-  src/smpi/colls/alltoallv-pair-one-barrier.cpp
-  src/smpi/colls/alltoallv-pair.cpp
-  src/smpi/colls/alltoallv-ring-light-barrier.cpp
-  src/smpi/colls/alltoallv-ring-mpi-barrier.cpp
-  src/smpi/colls/alltoallv-ring-one-barrier.cpp
-  src/smpi/colls/alltoallv-ring.cpp
-  src/smpi/colls/barrier-ompi.cpp
-  src/smpi/colls/barrier-mvapich2-pair.cpp
-  src/smpi/colls/bcast-NTSB.cpp
-  src/smpi/colls/bcast-NTSL-Isend.cpp
-  src/smpi/colls/bcast-NTSL.cpp
-  src/smpi/colls/bcast-SMP-binary.cpp
-  src/smpi/colls/bcast-SMP-binomial.cpp
-  src/smpi/colls/bcast-SMP-linear.cpp
-  src/smpi/colls/bcast-arrival-pattern-aware-wait.cpp
-  src/smpi/colls/bcast-arrival-pattern-aware.cpp
-  src/smpi/colls/bcast-arrival-scatter.cpp
-  src/smpi/colls/bcast-binomial-tree.cpp
-  src/smpi/colls/bcast-flattree-pipeline.cpp
-  src/smpi/colls/bcast-flattree.cpp
-  src/smpi/colls/bcast-ompi-pipeline.cpp
-  src/smpi/colls/bcast-ompi-split-bintree.cpp
-  src/smpi/colls/bcast-mvapich-smp.cpp
-  src/smpi/colls/bcast-scatter-LR-allgather.cpp
-  src/smpi/colls/bcast-scatter-rdb-allgather.cpp
+  src/smpi/colls/allgather/allgather-2dmesh.cpp
+  src/smpi/colls/allgather/allgather-3dmesh.cpp
+  src/smpi/colls/allgather/allgather-GB.cpp
+  src/smpi/colls/allgather/allgather-NTSLR-NB.cpp
+  src/smpi/colls/allgather/allgather-NTSLR.cpp
+  src/smpi/colls/allgather/allgather-SMP-NTS.cpp
+  src/smpi/colls/allgather/allgather-bruck.cpp
+  src/smpi/colls/allgather/allgather-loosely-lr.cpp
+  src/smpi/colls/allgather/allgather-ompi-neighborexchange.cpp
+  src/smpi/colls/allgather/allgather-pair.cpp
+  src/smpi/colls/allgather/allgather-mvapich-smp.cpp
+  src/smpi/colls/allgather/allgather-rdb.cpp
+  src/smpi/colls/allgather/allgather-rhv.cpp
+  src/smpi/colls/allgather/allgather-ring.cpp
+  src/smpi/colls/allgather/allgather-smp-simple.cpp
+  src/smpi/colls/allgather/allgather-spreading-simple.cpp
+  src/smpi/colls/allgatherv/allgatherv-GB.cpp
+  src/smpi/colls/allgatherv/allgatherv-mpich-rdb.cpp
+  src/smpi/colls/allgatherv/allgatherv-mpich-ring.cpp
+  src/smpi/colls/allgatherv/allgatherv-ompi-bruck.cpp
+  src/smpi/colls/allgatherv/allgatherv-ompi-neighborexchange.cpp
+  src/smpi/colls/allgatherv/allgatherv-pair.cpp
+  src/smpi/colls/allgatherv/allgatherv-ring.cpp
+  src/smpi/colls/allreduce/allreduce-lr.cpp
+  src/smpi/colls/allreduce/allreduce-ompi-ring-segmented.cpp
+  src/smpi/colls/allreduce/allreduce-rab-rdb.cpp
+  src/smpi/colls/allreduce/allreduce-rab1.cpp
+  src/smpi/colls/allreduce/allreduce-rab2.cpp
+  src/smpi/colls/allreduce/allreduce-rdb.cpp
+  src/smpi/colls/allreduce/allreduce-redbcast.cpp
+  src/smpi/colls/allreduce/allreduce-smp-binomial-pipeline.cpp
+  src/smpi/colls/allreduce/allreduce-smp-binomial.cpp
+  src/smpi/colls/allreduce/allreduce-smp-rdb.cpp
+  src/smpi/colls/allreduce/allreduce-smp-rsag-lr.cpp
+  src/smpi/colls/allreduce/allreduce-smp-rsag-rab.cpp
+  src/smpi/colls/allreduce/allreduce-smp-rsag.cpp
+  src/smpi/colls/allreduce/allreduce-mvapich-rs.cpp
+  src/smpi/colls/allreduce/allreduce-mvapich-two-level.cpp
+  src/smpi/colls/alltoall/alltoall-2dmesh.cpp
+  src/smpi/colls/alltoall/alltoall-3dmesh.cpp
+#  src/smpi/colls/alltoall/alltoall-bruck.cpp
+  src/smpi/colls/alltoall/alltoall-pair-light-barrier.cpp
+  src/smpi/colls/alltoall/alltoall-pair-mpi-barrier.cpp
+  src/smpi/colls/alltoall/alltoall-pair-one-barrier.cpp
+  src/smpi/colls/alltoall/alltoall-pair.cpp
+  src/smpi/colls/alltoall/alltoall-rdb.cpp
+  src/smpi/colls/alltoall/alltoall-ring-light-barrier.cpp
+  src/smpi/colls/alltoall/alltoall-ring-mpi-barrier.cpp
+  src/smpi/colls/alltoall/alltoall-ring-one-barrier.cpp
+  src/smpi/colls/alltoall/alltoall-ring.cpp
+  src/smpi/colls/alltoall/alltoall-mvapich-scatter-dest.cpp
+  src/smpi/colls/alltoallv/alltoallv-bruck.cpp
+  src/smpi/colls/alltoallv/alltoallv-ompi-basic-linear.cpp
+  src/smpi/colls/alltoallv/alltoallv-pair-light-barrier.cpp
+  src/smpi/colls/alltoallv/alltoallv-pair-mpi-barrier.cpp
+  src/smpi/colls/alltoallv/alltoallv-pair-one-barrier.cpp
+  src/smpi/colls/alltoallv/alltoallv-pair.cpp
+  src/smpi/colls/alltoallv/alltoallv-ring-light-barrier.cpp
+  src/smpi/colls/alltoallv/alltoallv-ring-mpi-barrier.cpp
+  src/smpi/colls/alltoallv/alltoallv-ring-one-barrier.cpp
+  src/smpi/colls/alltoallv/alltoallv-ring.cpp
+  src/smpi/colls/barrier/barrier-ompi.cpp
+  src/smpi/colls/barrier/barrier-mvapich2-pair.cpp
+  src/smpi/colls/bcast/bcast-NTSB.cpp
+  src/smpi/colls/bcast/bcast-NTSL-Isend.cpp
+  src/smpi/colls/bcast/bcast-NTSL.cpp
+  src/smpi/colls/bcast/bcast-SMP-binary.cpp
+  src/smpi/colls/bcast/bcast-SMP-binomial.cpp
+  src/smpi/colls/bcast/bcast-SMP-linear.cpp
+  src/smpi/colls/bcast/bcast-arrival-pattern-aware-wait.cpp
+  src/smpi/colls/bcast/bcast-arrival-pattern-aware.cpp
+  src/smpi/colls/bcast/bcast-arrival-scatter.cpp
+  src/smpi/colls/bcast/bcast-binomial-tree.cpp
+  src/smpi/colls/bcast/bcast-flattree-pipeline.cpp
+  src/smpi/colls/bcast/bcast-flattree.cpp
+  src/smpi/colls/bcast/bcast-ompi-pipeline.cpp
+  src/smpi/colls/bcast/bcast-ompi-split-bintree.cpp
+  src/smpi/colls/bcast/bcast-mvapich-smp.cpp
+  src/smpi/colls/bcast/bcast-scatter-LR-allgather.cpp
+  src/smpi/colls/bcast/bcast-scatter-rdb-allgather.cpp
   src/smpi/colls/coll_tuned_topo.cpp
   src/smpi/colls/colls_global.cpp
-  src/smpi/colls/gather-ompi.cpp
-  src/smpi/colls/gather-mvapich.cpp
-  src/smpi/colls/reduce-NTSL.cpp
-  src/smpi/colls/reduce-arrival-pattern-aware.cpp
-  src/smpi/colls/reduce-binomial.cpp
-  src/smpi/colls/reduce-flat-tree.cpp
-  src/smpi/colls/reduce-ompi.cpp
-  src/smpi/colls/reduce-scatter-gather.cpp
-  src/smpi/colls/reduce_scatter-mpich.cpp
-  src/smpi/colls/reduce_scatter-ompi.cpp
-  src/smpi/colls/reduce-mvapich-knomial.cpp
-  src/smpi/colls/reduce-mvapich-two-level.cpp
-  src/smpi/colls/reduce-rab.cpp
-  src/smpi/colls/scatter-ompi.cpp
-  src/smpi/colls/scatter-mvapich-two-level.cpp
+  src/smpi/colls/gather/gather-ompi.cpp
+  src/smpi/colls/gather/gather-mvapich.cpp
+  src/smpi/colls/reduce/reduce-NTSL.cpp
+  src/smpi/colls/reduce/reduce-arrival-pattern-aware.cpp
+  src/smpi/colls/reduce/reduce-binomial.cpp
+  src/smpi/colls/reduce/reduce-flat-tree.cpp
+  src/smpi/colls/reduce/reduce-ompi.cpp
+  src/smpi/colls/reduce/reduce-scatter-gather.cpp
+  src/smpi/colls/reduce_scatter/reduce_scatter-mpich.cpp
+  src/smpi/colls/reduce_scatter/reduce_scatter-ompi.cpp
+  src/smpi/colls/reduce/reduce-mvapich-knomial.cpp
+  src/smpi/colls/reduce/reduce-mvapich-two-level.cpp
+  src/smpi/colls/reduce/reduce-rab.cpp
+  src/smpi/colls/scatter/scatter-ompi.cpp
+  src/smpi/colls/scatter/scatter-mvapich-two-level.cpp
   src/smpi/colls/smpi_automatic_selector.cpp
   src/smpi/colls/smpi_mpich_selector.cpp
   src/smpi/colls/smpi_intel_mpi_selector.cpp