Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Removed some old and unused filed from SMPI.
authorpini <pini@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 7 Dec 2010 10:13:47 +0000 (10:13 +0000)
committerpini <pini@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 7 Dec 2010 10:13:47 +0000 (10:13 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9049 48e7efb5-ca39-0410-a469-dd3cf9ba447f

buildtools/Cmake/DefinePackages.cmake
src/smpi/smpi_coll.c
src/smpi/smpi_coll_private.h [deleted file]
src/smpi/smpi_pmpi.c
src/smpi/smpi_util.c [deleted file]

index 1c8f54c..5738bc2 100644 (file)
@@ -87,7 +87,6 @@ set(EXTRA_DIST
        src/simix/synchro_private.h
        
        src/smpi/private.h
-       src/smpi/smpi_coll_private.h
        src/smpi/smpi_mpi_dt_private.h
        src/smpi/README
        src/mk_supernovae.pl
@@ -112,7 +111,6 @@ set(SMPI_SRC
        src/smpi/smpi_f77.c
        src/smpi/smpi_comm.c
        src/smpi/smpi_group.c
-       src/smpi/smpi_util.c
        src/smpi/smpi_coll.c
        src/smpi/smpi_mpi_dt.c
 )
index b3c9b3a..57c3600 100644 (file)
@@ -11,7 +11,6 @@
 #include <assert.h>
 
 #include "private.h"
-#include "smpi_coll_private.h"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_coll, smpi,
                                 "Logging specific to SMPI (coll)");
diff --git a/src/smpi/smpi_coll_private.h b/src/smpi/smpi_coll_private.h
deleted file mode 100644 (file)
index d0c3022..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-/* smpi_coll_private.h -- functions of smpi_coll.c that are exported to other SMPI modules. */
-
-/* Copyright (c) 2009, 2010. The SimGrid Team.
- * All rights reserved.                                                     */
-
-/* This program is free software; you can redistribute it and/or modify it
-  * under the terms of the license (GNU LGPL) which comes with this package. */
-
-#include "private.h"
index 6749928..b8d53b5 100644 (file)
@@ -5,7 +5,6 @@
   * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "private.h"
-#include "smpi_coll_private.h"
 #include "smpi_mpi_dt_private.h"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_pmpi, smpi,
diff --git a/src/smpi/smpi_util.c b/src/smpi/smpi_util.c
deleted file mode 100644 (file)
index 16b7117..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/* Copyright (c) 2007, 2009, 2010. The SimGrid Team.
- * All rights reserved.                                                     */
-
-/* This program is free software; you can redistribute it and/or modify it
-  * under the terms of the license (GNU LGPL) which comes with this package. */
-
-#include "private.h"
-
-XBT_LOG_NEW_DEFAULT_SUBCATEGORY(smpi_util, smpi,
-                                "Logging specific to SMPI (utilities)");
-
-/*
-int smpi_gettimeofday(struct timeval *tv, struct timezone *tz)
-{
-  double now;
-  int retval;
-  smpi_bench_end();
-  retval = 0;
-  if (NULL == tv) {
-    retval = -1;
-  } else {
-    now = SIMIX_get_clock();
-    tv->tv_sec = now;
-    tv->tv_usec = ((now - (double) tv->tv_sec) * 1000000.0);
-  }
-  smpi_bench_begin();
-  return retval;
-}
-
-unsigned int smpi_sleep(unsigned int seconds)
-{
-  smx_host_t host;
-  smx_action_t action;
-
-  smpi_bench_end();
-  host = SIMIX_host_self();
-  action = SIMIX_req_action_sleep(host, (double)seconds);
-  smpi_process_wait_action(action);
-  SIMIX_req_action_destroy(action);
-  smpi_bench_begin();
-  return 0;
-}
-
-void smpi_exit(int status)
-{
-  smpi_bench_end();
-  smpi_process_finalize();
-  SIMIX_req_process_kill(SIMIX_process_self());
-  return;
-}
-*/