Skip to content
Snippets Groups Projects
Commit 6e564433 authored by Danny Auble's avatar Danny Auble
Browse files

Print message about why compilation fails when dealing with

conflicting pmix versions.
parent d25b6e58
No related branches found
No related tags found
No related merge requests found
...@@ -48,6 +48,13 @@ ...@@ -48,6 +48,13 @@
#include <sys/types.h> #include <sys/types.h>
#include <pmix_server.h> #include <pmix_server.h>
/* Check PMIx version */
#if (HAVE_PMIX_VER != PMIX_VERSION_MAJOR)
#define VALUE_TO_STRING(x) #x
#define VALUE(x) VALUE_TO_STRING(x)
#pragma message "PMIx version mismatch: the major version seen during configuration was " VALUE(HAVE_PMIX_VER) "L but found " VALUE(PMIX_VERSION_MAJOR) " compilation will most likely fail. Please reconfigure against the new version."
#endif
#define PMIXP_ALLOC_KEY(kvp, key_str) \ #define PMIXP_ALLOC_KEY(kvp, key_str) \
{ \ { \
char *key = key_str; \ char *key = key_str; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment