From 95c32964e5c576ccf90242c5ede43f2a4a016e85 Mon Sep 17 00:00:00 2001 From: Christian Heinrich Date: Wed, 17 Jan 2018 21:03:38 +0100 Subject: [PATCH] [SMPI/CHANGELOG] Deprecate smpi_process_index() --- ChangeLog | 2 ++ include/smpi/smpi.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index aaf3f99d84..40a792ced9 100644 --- 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-. 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 diff --git a/include/smpi/smpi.h b/include/smpi/smpi.h index cd2ee94e40..f5c2f86495 100644 --- a/include/smpi/smpi.h +++ b/include/smpi/smpi.h @@ -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 */ -- 2.20.1