-
Notifications
You must be signed in to change notification settings - Fork 900
PMIX linking error when building --enable-static --disable-shared #1281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I believe you just need to remove that -lpmix from the args - does it then work? |
Yes -- if I manually remove Is this all that is necessary? diff --git a/opal/mca/pmix/pmix112/configure.m4 b/opal/mca/pmix/pmix112/configur
index b03c54d..59b2950 100644
--- a/opal/mca/pmix/pmix112/configure.m4
+++ b/opal/mca/pmix/pmix112/configure.m4
@@ -61,9 +61,6 @@ AC_DEFUN([MCA_opal_pmix_pmix112_CONFIG],[
AC_SUBST([opal_pmix_pmix112_LIBS])
AC_SUBST([opal_pmix_pmix112_CPPFLAGS])])
- # Finally, add a flag to support static builds
- pmix_pmix112_WRAPPER_EXTRA_LIBS=-lpmix
-
CFLAGS=$opal_pmix_pmix112_save_CFLAGS
CPPFLAGS=$opal_pmix_pmix112_save_CPPFLAGS
LDFLAGS=$opal_pmix_pmix112_save_LDFLAGS
diff --git a/opal/mca/pmix/pmix120/configure.m4 b/opal/mca/pmix/pmix120/configur
index c5f94af..4053632 100644
--- a/opal/mca/pmix/pmix120/configure.m4
+++ b/opal/mca/pmix/pmix120/configure.m4
@@ -61,9 +61,6 @@ AC_DEFUN([MCA_opal_pmix_pmix120_CONFIG],[
AC_SUBST([opal_pmix_pmix120_LIBS])
AC_SUBST([opal_pmix_pmix120_CPPFLAGS])])
- # Finally, add a flag to support static builds
- pmix_pmix120_WRAPPER_EXTRA_LIBS=-lpmix
-
CFLAGS=$opal_pmix_pmix120_save_CFLAGS
CPPFLAGS=$opal_pmix_pmix120_save_CPPFLAGS
LDFLAGS=$opal_pmix_pmix120_save_LDFLAGS |
Should be, yes |
Fixed via e4bdad0. |
jsquyres
added a commit
to jsquyres/ompi
that referenced
this issue
Aug 23, 2016
btl/openib: set send flags only after endpoint is connected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When building master with
--disable-shared --enable-static
, it seems that a PMIX library can't be found when compiling MPI applications:I note that when I build the same way (statically) on the v2.x branch, I get a pmix library, and therefore building MPI executables succeeds:
The text was updated successfully, but these errors were encountered: