Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Big move of all SMPI files in subfolders because it was a mess.
authordegomme <augustin.degomme@unibas.ch>
Mon, 17 Jul 2017 13:14:13 +0000 (15:14 +0200)
committerdegomme <augustin.degomme@unibas.ch>
Mon, 17 Jul 2017 13:17:42 +0000 (15:17 +0200)
bindings : all C/F77 bindings + PMPI_* entry functions, which will be split up into several files next
mpi : all MPI structures (Request, Op, Info, Datatype, ...) implementation.
colls : untouched, collective comms folder
internals : all SMPI specifics (sharing, dvfs, instr, privatization, processes...)
include : all *.hpp and .h files (should it be moved ? it's added by default in the include path now)

66 files changed:
CMakeLists.txt
src/instr/instr_paje_trace.cpp
src/mc/ObjectInformation.hpp
src/mc/Session.cpp
src/mc/checker/CommunicationDeterminismChecker.cpp
src/mc/compare.cpp
src/mc/mc_checkpoint.cpp
src/mc/mc_snapshot.cpp
src/mc/remote/Client.cpp
src/simix/ActorImpl.cpp
src/simix/smx_global.cpp
src/smpi/bindings/smpi_f77.cpp [moved from src/smpi/smpi_f77.cpp with 99% similarity]
src/smpi/bindings/smpi_mpi.cpp [moved from src/smpi/smpi_mpi.cpp with 100% similarity]
src/smpi/bindings/smpi_pmpi.cpp [moved from src/smpi/smpi_pmpi.cpp with 99% similarity]
src/smpi/colls/allgather/allgather-rdb.cpp
src/smpi/colls/allgatherv/allgatherv-mpich-rdb.cpp
src/smpi/colls/alltoall/alltoall-pair.cpp
src/smpi/colls/alltoall/alltoall-rdb.cpp
src/smpi/colls/bcast/bcast-scatter-LR-allgather.cpp
src/smpi/colls/bcast/bcast-scatter-rdb-allgather.cpp
src/smpi/colls/colls_private.h
src/smpi/colls/smpi_automatic_selector.cpp
src/smpi/colls/smpi_coll.cpp [moved from src/smpi/smpi_coll.cpp with 98% similarity]
src/smpi/colls/smpi_default_selector.cpp
src/smpi/include/SmpiHost.hpp [moved from src/smpi/SmpiHost.hpp with 100% similarity]
src/smpi/include/private.h [moved from src/smpi/private.h with 100% similarity]
src/smpi/include/private.hpp [moved from src/smpi/private.hpp with 100% similarity]
src/smpi/include/smpi_coll.hpp [moved from src/smpi/smpi_coll.hpp with 100% similarity]
src/smpi/include/smpi_comm.hpp [moved from src/smpi/smpi_comm.hpp with 95% similarity]
src/smpi/include/smpi_datatype.hpp [moved from src/smpi/smpi_datatype.hpp with 98% similarity]
src/smpi/include/smpi_datatype_derived.hpp [moved from src/smpi/smpi_datatype_derived.hpp with 98% similarity]
src/smpi/include/smpi_f2c.hpp [moved from src/smpi/smpi_f2c.hpp with 100% similarity]
src/smpi/include/smpi_group.hpp [moved from src/smpi/smpi_group.hpp with 97% similarity]
src/smpi/include/smpi_info.hpp [moved from src/smpi/smpi_info.hpp with 96% similarity]
src/smpi/include/smpi_keyvals.hpp [moved from src/smpi/smpi_keyvals.hpp with 100% similarity]
src/smpi/include/smpi_op.hpp [moved from src/smpi/smpi_op.hpp with 95% similarity]
src/smpi/include/smpi_process.hpp [moved from src/smpi/smpi_process.hpp with 100% similarity]
src/smpi/include/smpi_request.hpp [moved from src/smpi/smpi_request.hpp with 99% similarity]
src/smpi/include/smpi_status.hpp [moved from src/smpi/smpi_status.hpp with 100% similarity]
src/smpi/include/smpi_topo.hpp [moved from src/smpi/smpi_topo.hpp with 95% similarity]
src/smpi/include/smpi_win.hpp [moved from src/smpi/smpi_win.hpp with 98% similarity]
src/smpi/internals/SmpiHost.cpp [moved from src/smpi/SmpiHost.cpp with 99% similarity]
src/smpi/internals/instr_smpi.cpp [moved from src/smpi/instr_smpi.cpp with 100% similarity]
src/smpi/internals/smpi_bench.cpp [moved from src/smpi/smpi_bench.cpp with 99% similarity]
src/smpi/internals/smpi_deployment.cpp [moved from src/smpi/smpi_deployment.cpp with 97% similarity]
src/smpi/internals/smpi_dvfs.cpp [moved from src/smpi/smpi_dvfs.cpp with 100% similarity]
src/smpi/internals/smpi_global.cpp [moved from src/smpi/smpi_global.cpp with 98% similarity]
src/smpi/internals/smpi_memory.cpp [moved from src/smpi/smpi_memory.cpp with 99% similarity]
src/smpi/internals/smpi_process.cpp [moved from src/smpi/smpi_process.cpp with 97% similarity]
src/smpi/internals/smpi_replay.cpp [moved from src/smpi/smpi_replay.cpp with 99% similarity]
src/smpi/internals/smpi_shared.cpp [moved from src/smpi/smpi_shared.cpp with 100% similarity]
src/smpi/internals/smpi_static_variables.cpp [moved from src/smpi/smpi_static_variables.cpp with 100% similarity]
src/smpi/internals/smpi_utils.cpp [moved from src/smpi/smpi_utils.cpp with 100% similarity]
src/smpi/mpi/smpi_comm.cpp [moved from src/smpi/smpi_comm.cpp with 97% similarity]
src/smpi/mpi/smpi_datatype.cpp [moved from src/smpi/smpi_datatype.cpp with 98% similarity]
src/smpi/mpi/smpi_datatype_derived.cpp [moved from src/smpi/smpi_datatype_derived.cpp with 99% similarity]
src/smpi/mpi/smpi_f2c.cpp [moved from src/smpi/smpi_f2c.cpp with 94% similarity]
src/smpi/mpi/smpi_group.cpp [moved from src/smpi/smpi_group.cpp with 99% similarity]
src/smpi/mpi/smpi_info.cpp [moved from src/smpi/smpi_info.cpp with 98% similarity]
src/smpi/mpi/smpi_keyvals.cpp [moved from src/smpi/smpi_keyvals.cpp with 97% similarity]
src/smpi/mpi/smpi_op.cpp [moved from src/smpi/smpi_op.cpp with 97% similarity]
src/smpi/mpi/smpi_request.cpp [moved from src/smpi/smpi_request.cpp with 99% similarity]
src/smpi/mpi/smpi_status.cpp [moved from src/smpi/smpi_status.cpp with 89% similarity]
src/smpi/mpi/smpi_topo.cpp [moved from src/smpi/smpi_topo.cpp with 99% similarity]
src/smpi/mpi/smpi_win.cpp [moved from src/smpi/smpi_win.cpp with 98% similarity]
tools/cmake/DefinePackages.cmake

index 7dea4f7..19a9267 100644 (file)
@@ -167,6 +167,10 @@ set(INCLUDES
   ${CMAKE_HOME_DIRECTORY}/src/include
   )
 
   ${CMAKE_HOME_DIRECTORY}/src/include
   )
 
+if(enable_smpi)
+  set (INCLUDES ${INCLUDES} ${CMAKE_HOME_DIRECTORY}/src/smpi/include)
+endif()
+
 if(NOT CMAKE_CROSSCOMPILING AND EXISTS /usr/include/)
   set(INCLUDES ${INCLUDES} /usr/include/)
 endif()
 if(NOT CMAKE_CROSSCOMPILING AND EXISTS /usr/include/)
   set(INCLUDES ${INCLUDES} /usr/include/)
 endif()
index a9761ba..c63641c 100644 (file)
@@ -6,7 +6,7 @@
 
 #include "src/instr/instr_private.h"
 #include "src/instr/instr_smpi.h"
 
 #include "src/instr/instr_private.h"
 #include "src/instr/instr_smpi.h"
-#include "src/smpi/private.hpp"
+#include "src/smpi/include/private.hpp"
 #include "typeinfo"
 #include "xbt/virtu.h" /* sg_cmdline */
 #include "simgrid/sg_config.h"
 #include "typeinfo"
 #include "xbt/virtu.h" /* sg_cmdline */
 #include "simgrid/sg_config.h"
index 21ed471..019e75b 100644 (file)
@@ -19,7 +19,7 @@
 #include "src/mc/Type.hpp"
 #include "src/mc/Frame.hpp"
 
 #include "src/mc/Type.hpp"
 #include "src/mc/Frame.hpp"
 
-#include "src/smpi/private.h"
+#include "src/smpi/include/private.h"
 
 namespace simgrid {
 namespace mc {
 
 namespace simgrid {
 namespace mc {
index 566858b..d38c528 100644 (file)
@@ -20,7 +20,7 @@
 #include "src/mc/mc_private.h"
 #include "src/mc/checker/Checker.hpp"
 
 #include "src/mc/mc_private.h"
 #include "src/mc/checker/Checker.hpp"
 
-#include "src/smpi/private.hpp"
+#include "src/smpi/include/private.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_Session, mc, "Model-checker session");
 
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_Session, mc, "Model-checker session");
 
index cb723fb..fad3f3a 100644 (file)
@@ -21,7 +21,7 @@
 #include "src/mc/mc_state.h"
 #include "src/mc/remote/Client.hpp"
 
 #include "src/mc/mc_state.h"
 #include "src/mc/remote/Client.hpp"
 
-#include "src/smpi/smpi_request.hpp"
+#include "smpi_request.hpp"
 
 using simgrid::mc::remote;
 
 
 using simgrid::mc::remote;
 
index 1fe48f4..fabd66b 100644 (file)
@@ -25,8 +25,8 @@
 #include "src/xbt/mmalloc/mmprivate.h"
 
 #if HAVE_SMPI
 #include "src/xbt/mmalloc/mmprivate.h"
 
 #if HAVE_SMPI
-#include "src/smpi/private.h"
-#include "src/smpi/private.hpp"
+#include "src/smpi/include/private.h"
+#include "src/smpi/include/private.hpp"
 #endif
 
 #include "src/mc/mc_forward.hpp"
 #endif
 
 #include "src/mc/mc_forward.hpp"
index be90588..9f7775c 100644 (file)
@@ -17,7 +17,7 @@
 
 #include "src/internal_config.h"
 #include "src/mc/mc_private.h"
 
 #include "src/internal_config.h"
 #include "src/mc/mc_private.h"
-#include "src/smpi/private.h"
+#include "src/smpi/include/private.h"
 #include "xbt/mmalloc.h"
 #include "xbt/module.h"
 
 #include "xbt/mmalloc.h"
 #include "xbt/module.h"
 
index a79de0e..e365f98 100644 (file)
@@ -13,7 +13,7 @@
 #include "xbt/sysdep.h"
 
 #include "src/internal_config.h"
 #include "xbt/sysdep.h"
 
 #include "src/internal_config.h"
-#include "src/smpi/private.h"
+#include "src/smpi/include/private.h"
 
 #include "src/mc/mc_snapshot.h"
 #include "src/mc/mc_private.h"
 
 #include "src/mc/mc_snapshot.h"
 #include "src/mc/mc_private.h"
index dae03e7..e82f142 100644 (file)
@@ -23,7 +23,7 @@
 #include "src/mc/remote/Client.hpp"
 #include "src/mc/remote/mc_protocol.h"
 
 #include "src/mc/remote/Client.hpp"
 #include "src/mc/remote/mc_protocol.h"
 
-#include "src/smpi/private.hpp"
+#include "src/smpi/include/private.hpp"
 
 // We won't need those once the separation MCer/MCed is complete:
 #include "src/mc/mc_smx.h"
 
 // We won't need those once the separation MCer/MCed is complete:
 #include "src/mc/mc_smx.h"
index 4d2b7ba..f9b0f73 100644 (file)
@@ -31,7 +31,7 @@
 #include "src/surf/surf_interface.hpp"
 
 #ifdef HAVE_SMPI
 #include "src/surf/surf_interface.hpp"
 
 #ifdef HAVE_SMPI
-#include "src/smpi/private.hpp"
+#include "src/smpi/include/private.hpp"
 #endif
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_process, simix, "Logging specific to SIMIX (process)");
 #endif
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_process, simix, "Logging specific to SIMIX (process)");
index 68d6465..f0f8268 100644 (file)
@@ -25,7 +25,7 @@
 #include "src/mc/mc_replay.h"
 #include "src/surf/StorageImpl.hpp"
 
 #include "src/mc/mc_replay.h"
 #include "src/surf/StorageImpl.hpp"
 
-#include "src/smpi/smpi_process.hpp"
+#include "src/smpi/include/smpi_process.hpp"
 
 #include "src/kernel/activity/CommImpl.hpp"
 #include "src/kernel/activity/ExecImpl.hpp"
 
 #include "src/kernel/activity/CommImpl.hpp"
 #include "src/kernel/activity/ExecImpl.hpp"
@@ -43,8 +43,8 @@
 #include "src/mc/mc_record.h"
 
 #if HAVE_SMPI
 #include "src/mc/mc_record.h"
 
 #if HAVE_SMPI
-#include "src/smpi/private.h"
-#include "src/smpi/private.hpp"
+#include "src/smpi/include/private.h"
+#include "src/smpi/include/private.hpp"
 #endif
 
 XBT_LOG_NEW_CATEGORY(simix, "All SIMIX categories");
 #endif
 
 XBT_LOG_NEW_CATEGORY(simix, "All SIMIX categories");
similarity index 99%
rename from src/smpi/smpi_f77.cpp
rename to src/smpi/bindings/smpi_f77.cpp
index ffaad7c..c0e6559 100644 (file)
@@ -3,13 +3,13 @@
 /* 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. */
 
 /* 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 "src/smpi/private.h"
-#include "src/smpi/smpi_comm.hpp"
-#include "src/smpi/smpi_datatype.hpp"
-#include "src/smpi/smpi_op.hpp"
-#include "src/smpi/smpi_process.hpp"
-#include "src/smpi/smpi_request.hpp"
-#include "src/smpi/smpi_win.hpp"
+#include "private.h"
+#include "smpi_comm.hpp"
+#include "smpi_datatype.hpp"
+#include "smpi_op.hpp"
+#include "smpi_process.hpp"
+#include "smpi_request.hpp"
+#include "smpi_win.hpp"
 
 static int running_processes = 0;
 
 
 static int running_processes = 0;
 
similarity index 99%
rename from src/smpi/smpi_pmpi.cpp
rename to src/smpi/bindings/smpi_pmpi.cpp
index c48bdcf..fd2a840 100644 (file)
@@ -7,15 +7,15 @@
 
 #include "simgrid/s4u/Engine.hpp"
 #include "simgrid/s4u/Host.hpp"
 
 #include "simgrid/s4u/Engine.hpp"
 #include "simgrid/s4u/Host.hpp"
-#include "src/smpi/private.h"
-#include "src/smpi/smpi_comm.hpp"
-#include "src/smpi/smpi_coll.hpp"
-#include "src/smpi/smpi_datatype_derived.hpp"
-#include "src/smpi/smpi_op.hpp"
-#include "src/smpi/smpi_process.hpp"
-#include "src/smpi/smpi_request.hpp"
-#include "src/smpi/smpi_status.hpp"
-#include "src/smpi/smpi_win.hpp"
+#include "private.h"
+#include "smpi_comm.hpp"
+#include "smpi_coll.hpp"
+#include "smpi_datatype_derived.hpp"
+#include "smpi_op.hpp"
+#include "smpi_process.hpp"
+#include "smpi_request.hpp"
+#include "smpi_status.hpp"
+#include "smpi_win.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_pmpi, smpi, "Logging specific to SMPI (pmpi)");
 
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_pmpi, smpi, "Logging specific to SMPI (pmpi)");
 
index 1c028e8..5e1d47b 100644 (file)
@@ -4,7 +4,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "../colls_private.h"
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "../colls_private.h"
-#include "src/smpi/smpi_status.hpp"
+#include "smpi_status.hpp"
 
 namespace simgrid{
 namespace smpi{
 
 namespace simgrid{
 namespace smpi{
index fb374b9..9226be1 100644 (file)
@@ -7,7 +7,7 @@
  * recursive doubling algorithm */
 
 #include "../colls_private.h"
  * recursive doubling algorithm */
 
 #include "../colls_private.h"
-#include "src/smpi/smpi_status.hpp"
+#include "smpi_status.hpp"
 
 namespace simgrid{
 namespace smpi{
 
 namespace simgrid{
 namespace smpi{
index 24b1a75..2dd6e00 100644 (file)
@@ -5,7 +5,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "../colls_private.h"
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "../colls_private.h"
-#include "src/smpi/smpi_win.hpp"
+#include "smpi_win.hpp"
 
 /*****************************************************************************
 
 
 /*****************************************************************************
 
index be4860d..5067aa7 100644 (file)
@@ -5,7 +5,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "../colls_private.h"
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "../colls_private.h"
-#include "src/smpi/smpi_status.hpp"
+#include "smpi_status.hpp"
 
 /*****************************************************************************
 
 
 /*****************************************************************************
 
index 3466fdf..6b304ad 100644 (file)
@@ -4,7 +4,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "../colls_private.h"
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "../colls_private.h"
-#include "src/smpi/smpi_status.hpp"
+#include "smpi_status.hpp"
 
 /*****************************************************************************
 
 
 /*****************************************************************************
 
index f81694d..f48e31a 100644 (file)
@@ -4,7 +4,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "../colls_private.h"
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "../colls_private.h"
-#include "src/smpi/smpi_status.hpp"
+#include "smpi_status.hpp"
 
 namespace simgrid{
 namespace smpi{
 
 namespace simgrid{
 namespace smpi{
index c621957..fc28459 100644 (file)
@@ -8,12 +8,12 @@
 
 #include <math.h>
 #include "smpi/mpi.h"
 
 #include <math.h>
 #include "smpi/mpi.h"
-#include "src/smpi/private.h"
-#include "src/smpi/smpi_coll.hpp"
-#include "src/smpi/smpi_comm.hpp"
-#include "src/smpi/smpi_datatype.hpp"
-#include "src/smpi/smpi_op.hpp"
-#include "src/smpi/smpi_request.hpp"
+#include "private.h"
+#include "smpi_coll.hpp"
+#include "smpi_comm.hpp"
+#include "smpi_datatype.hpp"
+#include "smpi_op.hpp"
+#include "smpi_request.hpp"
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(smpi_colls);
 
 
 XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(smpi_colls);
 
index 9afee14..b69b56c 100644 (file)
@@ -9,7 +9,7 @@
 #include <exception>
 
 #include "colls_private.h"
 #include <exception>
 
 #include "colls_private.h"
-#include "src/smpi/smpi_process.hpp"
+#include "smpi_process.hpp"
 
 
 //attempt to do a quick autotuning version of the collective,
 
 
 //attempt to do a quick autotuning version of the collective,
similarity index 98%
rename from src/smpi/smpi_coll.cpp
rename to src/smpi/colls/smpi_coll.cpp
index a26b1f7..a0760fe 100644 (file)
@@ -5,12 +5,12 @@
 /* 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. */
 
 /* 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 "src/smpi/private.h"
-#include "src/smpi/smpi_coll.hpp"
-#include "src/smpi/smpi_comm.hpp"
-#include "src/smpi/smpi_datatype.hpp"
-#include "src/smpi/smpi_op.hpp"
-#include "src/smpi/smpi_request.hpp"
+#include "private.h"
+#include "smpi_coll.hpp"
+#include "smpi_comm.hpp"
+#include "smpi_datatype.hpp"
+#include "smpi_op.hpp"
+#include "smpi_request.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_coll, smpi, "Logging specific to SMPI (coll)");
 
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_coll, smpi, "Logging specific to SMPI (coll)");
 
index d674e4a..d3736cc 100644 (file)
@@ -7,7 +7,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "colls_private.h"
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "colls_private.h"
-#include "src/smpi/smpi_process.hpp"
+#include "smpi_process.hpp"
 
 namespace simgrid{
 namespace smpi{
 
 namespace simgrid{
 namespace smpi{
similarity index 95%
rename from src/smpi/smpi_comm.hpp
rename to src/smpi/include/smpi_comm.hpp
index d31a50a..ed621f1 100644 (file)
@@ -7,9 +7,9 @@
 #define SMPI_COMM_HPP_INCLUDED
 
 #include <list>
 #define SMPI_COMM_HPP_INCLUDED
 
 #include <list>
-#include "src/smpi/smpi_keyvals.hpp"
-#include "src/smpi/smpi_group.hpp"
-#include "src/smpi/smpi_topo.hpp"
+#include "smpi_keyvals.hpp"
+#include "smpi_group.hpp"
+#include "smpi_topo.hpp"
 
 namespace simgrid{
 namespace smpi{
 
 namespace simgrid{
 namespace smpi{
similarity index 98%
rename from src/smpi/smpi_datatype.hpp
rename to src/smpi/include/smpi_datatype.hpp
index 51978b5..3b1fd7d 100644 (file)
@@ -6,8 +6,8 @@
 #ifndef SMPI_DATATYPE_HPP
 #define SMPI_DATATYPE_HPP
 
 #ifndef SMPI_DATATYPE_HPP
 #define SMPI_DATATYPE_HPP
 
-#include "src/smpi/smpi_f2c.hpp"
-#include "src/smpi/smpi_keyvals.hpp"
+#include "smpi_f2c.hpp"
+#include "smpi_keyvals.hpp"
 
 #define DT_FLAG_DESTROYED     0x0001  /**< user destroyed but some other layers still have a reference */
 #define DT_FLAG_COMMITED      0x0002  /**< ready to be used for a send/recv operation */
 
 #define DT_FLAG_DESTROYED     0x0001  /**< user destroyed but some other layers still have a reference */
 #define DT_FLAG_COMMITED      0x0002  /**< ready to be used for a send/recv operation */
similarity index 98%
rename from src/smpi/smpi_datatype_derived.hpp
rename to src/smpi/include/smpi_datatype_derived.hpp
index 4ed9f73..b450bd9 100644 (file)
@@ -7,7 +7,7 @@
 #ifndef SMPI_DATATYPE_DERIVED_HPP
 #define SMPI_DATATYPE_DERIVED_HPP
 
 #ifndef SMPI_DATATYPE_DERIVED_HPP
 #define SMPI_DATATYPE_DERIVED_HPP
 
-#include "src/smpi/smpi_datatype.hpp"
+#include "smpi_datatype.hpp"
 
 namespace simgrid{
 namespace smpi{
 
 namespace simgrid{
 namespace smpi{
similarity index 97%
rename from src/smpi/smpi_group.hpp
rename to src/smpi/include/smpi_group.hpp
index 9c40f5e..64812ca 100644 (file)
@@ -7,7 +7,7 @@
 #ifndef SMPI_GROUP_HPP_INCLUDED
 #define SMPI_GROUP_HPP_INCLUDED
 
 #ifndef SMPI_GROUP_HPP_INCLUDED
 #define SMPI_GROUP_HPP_INCLUDED
 
-#include "src/smpi/smpi_f2c.hpp"
+#include "smpi_f2c.hpp"
 
 namespace simgrid{
 namespace smpi{
 
 namespace simgrid{
 namespace smpi{
similarity index 96%
rename from src/smpi/smpi_info.hpp
rename to src/smpi/include/smpi_info.hpp
index 5eb096d..c8f049b 100644 (file)
@@ -7,7 +7,7 @@
 #ifndef SMPI_INFO_HPP
 #define SMPI_INFO_HPP
 
 #ifndef SMPI_INFO_HPP
 #define SMPI_INFO_HPP
 
-#include "src/smpi/smpi_f2c.hpp"
+#include "smpi_f2c.hpp"
 #include "smpi/smpi.h"
 #include "xbt/dict.h"
 
 #include "smpi/smpi.h"
 #include "xbt/dict.h"
 
similarity index 95%
rename from src/smpi/smpi_op.hpp
rename to src/smpi/include/smpi_op.hpp
index 167a346..f884189 100644 (file)
@@ -7,7 +7,7 @@
 #ifndef SMPI_OP_HPP
 #define SMPI_OP_HPP
 
 #ifndef SMPI_OP_HPP
 #define SMPI_OP_HPP
 
-#include "src/smpi/smpi_info.hpp"
+#include "smpi_info.hpp"
 
 namespace simgrid{
 namespace smpi{
 
 namespace simgrid{
 namespace smpi{
similarity index 99%
rename from src/smpi/smpi_request.hpp
rename to src/smpi/include/smpi_request.hpp
index 535ebab..5a11b2d 100644 (file)
@@ -7,7 +7,7 @@
 #define SMPI_REQUEST_HPP_INCLUDED
 
 #include "smpi/smpi.h"
 #define SMPI_REQUEST_HPP_INCLUDED
 
 #include "smpi/smpi.h"
-#include "src/smpi/smpi_f2c.hpp"
+#include "smpi_f2c.hpp"
 
 namespace simgrid{
 namespace smpi{
 
 namespace simgrid{
 namespace smpi{
similarity index 95%
rename from src/smpi/smpi_topo.hpp
rename to src/smpi/include/smpi_topo.hpp
index a884931..d0cb570 100644 (file)
@@ -6,8 +6,8 @@
 #ifndef SMPI_TOPO_HPP_INCLUDED
 #define SMPI_TOPO_HPP_INCLUDED
 
 #ifndef SMPI_TOPO_HPP_INCLUDED
 #define SMPI_TOPO_HPP_INCLUDED
 
-#include "src/smpi/smpi_comm.hpp"
-#include "src/smpi/smpi_status.hpp"
+#include "smpi_comm.hpp"
+#include "smpi_status.hpp"
 
 typedef SMPI_Topology *MPI_Topology;
 
 
 typedef SMPI_Topology *MPI_Topology;
 
similarity index 98%
rename from src/smpi/smpi_win.hpp
rename to src/smpi/include/smpi_win.hpp
index e219be5..ea49c12 100644 (file)
@@ -7,7 +7,7 @@
 #ifndef SMPI_WIN_HPP_INCLUDED
 #define SMPI_WIN_HPP_INCLUDED
 
 #ifndef SMPI_WIN_HPP_INCLUDED
 #define SMPI_WIN_HPP_INCLUDED
 
-#include "src/smpi/smpi_keyvals.hpp"
+#include "smpi_keyvals.hpp"
 #include "xbt/synchro.h"
 
 #include <vector>
 #include "xbt/synchro.h"
 
 #include <vector>
similarity index 99%
rename from src/smpi/SmpiHost.cpp
rename to src/smpi/internals/SmpiHost.cpp
index cc9a814..6f71391 100644 (file)
@@ -3,7 +3,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. */
 
 /* 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 "src/smpi/SmpiHost.hpp"
+#include "SmpiHost.hpp"
 #include "simgrid/s4u/VirtualMachine.hpp"
 #include "smpi/smpi_utils.hpp"
 
 #include "simgrid/s4u/VirtualMachine.hpp"
 #include "smpi/smpi_utils.hpp"
 
similarity index 99%
rename from src/smpi/smpi_bench.cpp
rename to src/smpi/internals/smpi_bench.cpp
index ce3502d..b570e7b 100644 (file)
@@ -8,8 +8,8 @@
 #include "private.hpp"
 #include "simgrid/modelchecker.h"
 #include "src/mc/mc_replay.h"
 #include "private.hpp"
 #include "simgrid/modelchecker.h"
 #include "src/mc/mc_replay.h"
-#include "src/smpi/smpi_process.hpp"
-#include "src/smpi/smpi_comm.hpp"
+#include "smpi_process.hpp"
+#include "smpi_comm.hpp"
 
 #ifndef WIN32
 #include <sys/mman.h>
 
 #ifndef WIN32
 #include <sys/mman.h>
similarity index 97%
rename from src/smpi/smpi_deployment.cpp
rename to src/smpi/internals/smpi_deployment.cpp
index 1abaa45..3d88598 100644 (file)
@@ -5,9 +5,9 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "simgrid/msg.h" /* barrier */
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "simgrid/msg.h" /* barrier */
-#include "src/smpi/SmpiHost.hpp"
-#include "src/smpi/private.h"
-#include "src/smpi/smpi_comm.hpp"
+#include "SmpiHost.hpp"
+#include "private.h"
+#include "smpi_comm.hpp"
 #include <map>
 
 namespace simgrid {
 #include <map>
 
 namespace simgrid {
similarity index 98%
rename from src/smpi/smpi_global.cpp
rename to src/smpi/internals/smpi_global.cpp
index afa8e58..1504bd2 100644 (file)
@@ -9,15 +9,15 @@
 #include "src/msg/msg_private.h"
 #include "src/simix/smx_private.h"
 #include "src/surf/surf_interface.hpp"
 #include "src/msg/msg_private.h"
 #include "src/simix/smx_private.h"
 #include "src/surf/surf_interface.hpp"
-#include "src/smpi/SmpiHost.hpp"
+#include "SmpiHost.hpp"
 #include "xbt/config.hpp"
 #include "xbt/config.hpp"
-#include "src/smpi/private.h"
-#include "src/smpi/private.hpp"
-#include "src/smpi/smpi_coll.hpp"
-#include "src/smpi/smpi_comm.hpp"
-#include "src/smpi/smpi_group.hpp"
-#include "src/smpi/smpi_info.hpp"
-#include "src/smpi/smpi_process.hpp"
+#include "private.h"
+#include "private.hpp"
+#include "smpi_coll.hpp"
+#include "smpi_comm.hpp"
+#include "smpi_group.hpp"
+#include "smpi_info.hpp"
+#include "smpi_process.hpp"
 
 #include <dlfcn.h>
 #include <fcntl.h>
 
 #include <dlfcn.h>
 #include <fcntl.h>
similarity index 99%
rename from src/smpi/smpi_memory.cpp
rename to src/smpi/internals/smpi_memory.cpp
index e071be3..719b28b 100644 (file)
@@ -23,8 +23,8 @@
 
 #include "src/xbt/memory_map.hpp"
 
 
 #include "src/xbt/memory_map.hpp"
 
-#include "src/smpi/private.h"
-#include "src/smpi/private.hpp"
+#include "private.h"
+#include "private.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_memory, smpi, "Memory layout support for SMPI");
 
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_memory, smpi, "Memory layout support for SMPI");
 
similarity index 97%
rename from src/smpi/smpi_process.cpp
rename to src/smpi/internals/smpi_process.cpp
index a7da2c8..451f3cf 100644 (file)
@@ -7,11 +7,11 @@
 #include "src/mc/mc_replay.h"
 #include "src/msg/msg_private.h"
 #include "src/simix/smx_private.h"
 #include "src/mc/mc_replay.h"
 #include "src/msg/msg_private.h"
 #include "src/simix/smx_private.h"
-#include "src/smpi/private.h"
-#include "src/smpi/private.hpp"
-#include "src/smpi/smpi_process.hpp"
-#include "src/smpi/smpi_group.hpp"
-#include "src/smpi/smpi_comm.hpp"
+#include "private.h"
+#include "private.hpp"
+#include "smpi_process.hpp"
+#include "smpi_group.hpp"
+#include "smpi_comm.hpp"
 
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_process, smpi, "Logging specific to SMPI (kernel)");
 
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_process, smpi, "Logging specific to SMPI (kernel)");
similarity index 99%
rename from src/smpi/smpi_replay.cpp
rename to src/smpi/internals/smpi_replay.cpp
index 9ba7295..c41904e 100644 (file)
@@ -3,13 +3,13 @@
 /* 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. */
 
 /* 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 "src/smpi/private.h"
-#include "src/smpi/smpi_coll.hpp"
-#include "src/smpi/smpi_comm.hpp"
-#include "src/smpi/smpi_datatype.hpp"
-#include "src/smpi/smpi_group.hpp"
-#include "src/smpi/smpi_process.hpp"
-#include "src/smpi/smpi_request.hpp"
+#include "private.h"
+#include "smpi_coll.hpp"
+#include "smpi_comm.hpp"
+#include "smpi_datatype.hpp"
+#include "smpi_group.hpp"
+#include "smpi_process.hpp"
+#include "smpi_request.hpp"
 #include "xbt/replay.hpp"
 
 #include <unordered_map>
 #include "xbt/replay.hpp"
 
 #include <unordered_map>
similarity index 97%
rename from src/smpi/smpi_comm.cpp
rename to src/smpi/mpi/smpi_comm.cpp
index 23de66f..ee0747f 100644 (file)
@@ -7,15 +7,15 @@
 #include <climits>
 
 #include "src/simix/smx_private.h"
 #include <climits>
 
 #include "src/simix/smx_private.h"
-#include "src/smpi/private.h"
-#include "src/smpi/private.hpp"
-#include "src/smpi/smpi_comm.hpp"
-#include "src/smpi/smpi_coll.hpp"
-#include "src/smpi/smpi_datatype.hpp"
-#include "src/smpi/smpi_process.hpp"
-#include "src/smpi/smpi_request.hpp"
-#include "src/smpi/smpi_status.hpp"
-#include "src/smpi/smpi_win.hpp"
+#include "private.h"
+#include "private.hpp"
+#include "smpi_comm.hpp"
+#include "smpi_coll.hpp"
+#include "smpi_datatype.hpp"
+#include "smpi_process.hpp"
+#include "smpi_request.hpp"
+#include "smpi_status.hpp"
+#include "smpi_win.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_comm, smpi, "Logging specific to SMPI (comm)");
 
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_comm, smpi, "Logging specific to SMPI (comm)");
 
similarity index 98%
rename from src/smpi/smpi_datatype.cpp
rename to src/smpi/mpi/smpi_datatype.cpp
index de74190..565ec99 100644 (file)
@@ -5,11 +5,11 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "simgrid/modelchecker.h"
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "simgrid/modelchecker.h"
-#include "src/smpi/private.h"
-#include "src/smpi/private.hpp"
-#include "src/smpi/smpi_datatype_derived.hpp"
-#include "src/smpi/smpi_op.hpp"
-#include "src/smpi/smpi_process.hpp"
+#include "private.h"
+#include "private.hpp"
+#include "smpi_datatype_derived.hpp"
+#include "smpi_op.hpp"
+#include "smpi_process.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_datatype, smpi, "Logging specific to SMPI (datatype)");
 
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_datatype, smpi, "Logging specific to SMPI (datatype)");
 
similarity index 99%
rename from src/smpi/smpi_datatype_derived.cpp
rename to src/smpi/mpi/smpi_datatype_derived.cpp
index 4551048..ba77e82 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. */
 
 /* 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 "src/smpi/smpi_datatype_derived.hpp"
-#include "src/smpi/smpi_op.hpp"
+#include "smpi_datatype_derived.hpp"
+#include "smpi_op.hpp"
 
 XBT_LOG_EXTERNAL_CATEGORY(smpi_datatype);
 
 
 XBT_LOG_EXTERNAL_CATEGORY(smpi_datatype);
 
similarity index 94%
rename from src/smpi/smpi_f2c.cpp
rename to src/smpi/mpi/smpi_f2c.cpp
index df584b4..e5a5706 100644 (file)
@@ -3,9 +3,9 @@
 /* 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. */
 
 /* 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 "src/smpi/private.h"
-#include "src/smpi/smpi_f2c.hpp"
-#include "src/smpi/smpi_process.hpp"
+#include "private.h"
+#include "smpi_f2c.hpp"
+#include "smpi_process.hpp"
 
 #include <cstdio>
 
 
 #include <cstdio>
 
similarity index 99%
rename from src/smpi/smpi_group.cpp
rename to src/smpi/mpi/smpi_group.cpp
index a7e56ba..115cf49 100644 (file)
@@ -3,8 +3,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. */
 
 /* 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 "src/smpi/smpi_comm.hpp"
-#include "src/smpi/smpi_group.hpp"
+#include "smpi_comm.hpp"
+#include "smpi_group.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_group, smpi, "Logging specific to SMPI (group)");
 
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_group, smpi, "Logging specific to SMPI (group)");
 
similarity index 98%
rename from src/smpi/smpi_info.cpp
rename to src/smpi/mpi/smpi_info.cpp
index 584ab1f..093da59 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. */
 
 /* 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 "src/smpi/smpi_info.hpp"
+#include "smpi_info.hpp"
 #include "xbt/ex.hpp"
 #include "xbt/sysdep.h"
 
 #include "xbt/ex.hpp"
 #include "xbt/sysdep.h"
 
similarity index 97%
rename from src/smpi/smpi_keyvals.cpp
rename to src/smpi/mpi/smpi_keyvals.cpp
index 25aafe4..559ef5c 100644 (file)
@@ -5,7 +5,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 //#include "private.h"
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 //#include "private.h"
-#include "src/smpi/smpi_keyvals.hpp"
+#include "smpi_keyvals.hpp"
 
 namespace simgrid{
 namespace smpi{
 
 namespace simgrid{
 namespace smpi{
similarity index 97%
rename from src/smpi/smpi_op.cpp
rename to src/smpi/mpi/smpi_op.cpp
index 4f52efe..67d6ae8 100644 (file)
@@ -3,11 +3,11 @@
 /* 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. */
 
 /* 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 "src/smpi/private.h"
-#include "src/smpi/private.hpp"
-#include "src/smpi/smpi_datatype.hpp"
-#include "src/smpi/smpi_op.hpp"
-#include "src/smpi/smpi_process.hpp"
+#include "private.h"
+#include "private.hpp"
+#include "smpi_datatype.hpp"
+#include "smpi_op.hpp"
+#include "smpi_process.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_op, smpi, "Logging specific to SMPI (op)");
 
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_op, smpi, "Logging specific to SMPI (op)");
 
similarity index 99%
rename from src/smpi/smpi_request.cpp
rename to src/smpi/mpi/smpi_request.cpp
index 19c5497..a4c0a36 100644 (file)
@@ -3,18 +3,18 @@
 /* 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. */
 
 /* 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 "src/smpi/smpi_request.hpp"
+#include "smpi_request.hpp"
 
 #include "mc/mc.h"
 #include "src/kernel/activity/CommImpl.hpp"
 #include "src/mc/mc_replay.h"
 
 #include "mc/mc.h"
 #include "src/kernel/activity/CommImpl.hpp"
 #include "src/mc/mc_replay.h"
-#include "src/smpi/SmpiHost.hpp"
-#include "src/smpi/private.h"
-#include "src/smpi/private.hpp"
-#include "src/smpi/smpi_comm.hpp"
-#include "src/smpi/smpi_datatype.hpp"
-#include "src/smpi/smpi_op.hpp"
-#include "src/smpi/smpi_process.hpp"
+#include "SmpiHost.hpp"
+#include "private.h"
+#include "private.hpp"
+#include "smpi_comm.hpp"
+#include "smpi_datatype.hpp"
+#include "smpi_op.hpp"
+#include "smpi_process.hpp"
 
 #include <algorithm>
 
 
 #include <algorithm>
 
similarity index 89%
rename from src/smpi/smpi_status.cpp
rename to src/smpi/mpi/smpi_status.cpp
index 22c84bb..5750465 100644 (file)
@@ -5,8 +5,8 @@
 
 #include "private.h"
 #include "src/simix/smx_private.h"
 
 #include "private.h"
 #include "src/simix/smx_private.h"
-#include "src/smpi/smpi_datatype.hpp"
-#include "src/smpi/smpi_status.hpp"
+#include "smpi_datatype.hpp"
+#include "smpi_status.hpp"
 
 namespace simgrid{
 namespace smpi{
 
 namespace simgrid{
 namespace smpi{
similarity index 99%
rename from src/smpi/smpi_topo.cpp
rename to src/smpi/mpi/smpi_topo.cpp
index 432174e..fa3701d 100644 (file)
@@ -8,8 +8,8 @@
 #include "private.h"
 #include <vector>
 #include <math.h>
 #include "private.h"
 #include <vector>
 #include <math.h>
-#include "src/smpi/smpi_comm.hpp"
-#include "src/smpi/smpi_topo.hpp"
+#include "smpi_comm.hpp"
+#include "smpi_topo.hpp"
 
 /* static functions */
 static int assignnodes(int ndim, int nfactor, int *pfacts,int **pdims);
 
 /* static functions */
 static int assignnodes(int ndim, int nfactor, int *pfacts,int **pdims);
similarity index 98%
rename from src/smpi/smpi_win.cpp
rename to src/smpi/mpi/smpi_win.cpp
index 5d83d8c..f2782d1 100644 (file)
@@ -3,15 +3,15 @@
 /* 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. */
 
 /* 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 "src/smpi/private.h"
-#include "src/smpi/smpi_coll.hpp"
-#include "src/smpi/smpi_comm.hpp"
-#include "src/smpi/smpi_datatype.hpp"
-#include "src/smpi/smpi_info.hpp"
-#include "src/smpi/smpi_keyvals.hpp"
-#include "src/smpi/smpi_process.hpp"
-#include "src/smpi/smpi_request.hpp"
-#include "src/smpi/smpi_win.hpp"
+#include "private.h"
+#include "smpi_coll.hpp"
+#include "smpi_comm.hpp"
+#include "smpi_datatype.hpp"
+#include "smpi_info.hpp"
+#include "smpi_keyvals.hpp"
+#include "smpi_process.hpp"
+#include "smpi_request.hpp"
+#include "smpi_win.hpp"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_rma, smpi, "Logging specific to SMPI (RMA operations)");
 
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_rma, smpi, "Logging specific to SMPI (RMA operations)");
 
index ca88375..bc9f005 100644 (file)
@@ -33,8 +33,8 @@ set(EXTRA_DIST
   src/smpi/colls/coll_tuned_topo.h
   src/smpi/colls/colls_private.h
   src/smpi/colls/smpi_mvapich2_selector_stampede.h
   src/smpi/colls/coll_tuned_topo.h
   src/smpi/colls/colls_private.h
   src/smpi/colls/smpi_mvapich2_selector_stampede.h
-  src/smpi/private.h
-  src/smpi/private.hpp
+  src/smpi/include/private.h
+  src/smpi/include/private.hpp
   src/surf/cpu_cas01.hpp
   src/surf/cpu_interface.hpp
   src/surf/cpu_ti.hpp
   src/surf/cpu_cas01.hpp
   src/surf/cpu_interface.hpp
   src/surf/cpu_ti.hpp
@@ -96,6 +96,10 @@ set(EXTRA_DIST
   )
 
 set(SMPI_SRC
   )
 
 set(SMPI_SRC
+  src/smpi/smpi_main.c
+  src/smpi/bindings/smpi_mpi.cpp
+  src/smpi/bindings/smpi_pmpi.cpp
+  src/smpi/bindings/smpi_f77.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-2dmesh.cpp
   src/smpi/colls/allgather/allgather-3dmesh.cpp
   src/smpi/colls/allgather/allgather-GB.cpp
@@ -200,51 +204,46 @@ set(SMPI_SRC
   src/smpi/colls/smpi_intel_mpi_selector.cpp
   src/smpi/colls/smpi_openmpi_selector.cpp
   src/smpi/colls/smpi_mvapich2_selector.cpp
   src/smpi/colls/smpi_intel_mpi_selector.cpp
   src/smpi/colls/smpi_openmpi_selector.cpp
   src/smpi/colls/smpi_mvapich2_selector.cpp
-  src/smpi/instr_smpi.cpp
-  src/smpi/smpi_bench.cpp
-  src/smpi/smpi_memory.cpp
-  src/smpi/smpi_shared.cpp
-  src/smpi/smpi_static_variables.cpp
-  src/smpi/smpi_coll.cpp
-  src/smpi/smpi_coll.hpp
-  src/smpi/smpi_comm.cpp
-  src/smpi/smpi_comm.hpp
-  src/smpi/smpi_deployment.cpp
-  src/smpi/smpi_dvfs.cpp
-  src/smpi/smpi_global.cpp
-  src/smpi/smpi_f2c.cpp
-  src/smpi/smpi_f2c.hpp
-  src/smpi/smpi_group.cpp
-  src/smpi/smpi_group.hpp
-  src/smpi/SmpiHost.cpp
-  src/smpi/SmpiHost.hpp
-  src/smpi/smpi_mpi.cpp
-  src/smpi/smpi_datatype.cpp
-  src/smpi/smpi_datatype.hpp
-  src/smpi/smpi_info.cpp
-  src/smpi/smpi_info.hpp
-  src/smpi/smpi_keyvals.cpp
-  src/smpi/smpi_keyvals.hpp
-  src/smpi/smpi_datatype_derived.cpp
-  src/smpi/smpi_datatype_derived.hpp
-  src/smpi/smpi_main.c
-  src/smpi/smpi_op.cpp
-  src/smpi/smpi_op.hpp
-  src/smpi/smpi_process.cpp
-  src/smpi/smpi_process.hpp
-  src/smpi/smpi_pmpi.cpp
-  src/smpi/smpi_replay.cpp
-  src/smpi/smpi_request.cpp
-  src/smpi/smpi_request.hpp
-  src/smpi/smpi_status.cpp
-  src/smpi/smpi_status.hpp
-  src/smpi/smpi_win.cpp
-  src/smpi/smpi_win.hpp
-  src/smpi/smpi_topo.cpp
-  src/smpi/smpi_topo.hpp
-  src/smpi/smpi_utils.cpp
-  src/smpi/smpi_f77.cpp
-  
+  src/smpi/colls/smpi_coll.cpp
+  src/smpi/internals/instr_smpi.cpp
+  src/smpi/internals/smpi_bench.cpp
+  src/smpi/internals/smpi_memory.cpp
+  src/smpi/internals/smpi_shared.cpp
+  src/smpi/internals/smpi_static_variables.cpp
+  src/smpi/internals/smpi_deployment.cpp
+  src/smpi/internals/smpi_dvfs.cpp
+  src/smpi/internals/smpi_global.cpp
+  src/smpi/internals/SmpiHost.cpp
+  src/smpi/internals/smpi_replay.cpp
+  src/smpi/internals/smpi_process.cpp
+  src/smpi/internals/smpi_utils.cpp
+  src/smpi/mpi/smpi_comm.cpp
+  src/smpi/mpi/smpi_datatype.cpp
+  src/smpi/mpi/smpi_datatype_derived.cpp
+  src/smpi/mpi/smpi_f2c.cpp
+  src/smpi/mpi/smpi_group.cpp
+  src/smpi/mpi/smpi_info.cpp
+  src/smpi/mpi/smpi_keyvals.cpp
+  src/smpi/mpi/smpi_op.cpp
+  src/smpi/mpi/smpi_request.cpp
+  src/smpi/mpi/smpi_status.cpp
+  src/smpi/mpi/smpi_topo.cpp
+  src/smpi/mpi/smpi_win.cpp
+  src/smpi/include/smpi_coll.hpp
+  src/smpi/include/smpi_comm.hpp
+  src/smpi/include/smpi_f2c.hpp
+  src/smpi/include/smpi_group.hpp
+  src/smpi/include/SmpiHost.hpp
+  src/smpi/include/smpi_datatype.hpp
+  src/smpi/include/smpi_info.hpp
+  src/smpi/include/smpi_keyvals.hpp
+  src/smpi/include/smpi_datatype_derived.hpp
+  src/smpi/include/smpi_op.hpp
+  src/smpi/include/smpi_process.hpp
+  src/smpi/include/smpi_request.hpp
+  src/smpi/include/smpi_status.hpp
+  src/smpi/include/smpi_win.hpp
+  src/smpi/include/smpi_topo.hpp
   src/surf/network_smpi.cpp
   src/surf/network_ib.cpp
   )
   src/surf/network_smpi.cpp
   src/surf/network_ib.cpp
   )