Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI/CHANGELOG] Deprecate smpi_process_index()
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Wed, 17 Jan 2018 20:03:38 +0000 (21:03 +0100)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Wed, 24 Jan 2018 14:58:20 +0000 (15:58 +0100)
ChangeLog
include/smpi/smpi.h

index aaf3f99..40a792c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,6 +17,8 @@ SimGrid (3.19) NOT RELEASED YET (target: March 20 2018, 16:15:27 UTC)
    This also means that the trace files
    now contain actors called rank-<PROCESS-ID>. These are NOT the real
    ranks, because tracing several communicators right now is not supported.
+ - Because of this, smpi_process_index() has now been deprecated and will
+   be removed in 3.21
 
  Fixed bugs:
  - #245: migrating an actor does not migrate its execution
index cd2ee94..f5c2f86 100644 (file)
@@ -942,7 +942,7 @@ XBT_PUBLIC(void*) smpi_shared_set_call(const char* func, const char* input, void
 /* Fortran specific stuff */
 
 XBT_PUBLIC(int) smpi_main(const char* program, int argc, char *argv[]);
-XBT_PUBLIC(int) smpi_process_index();
+XBT_ATTRIB_DEPRECATED_v321("Use Actor::self()->getPid(): v3.21 will turn this warning into an error.") XBT_PUBLIC(int) smpi_process_index();
 XBT_PUBLIC(void) smpi_process_init(int *argc, char ***argv);
 
 /* Trace replay specific stuff */