Skip to content
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

v2.1.0: build: Custom libmpi(_FOO) name option in configure #2139

Merged
merged 2 commits into from
Oct 4, 2016

Conversation

jjhursey
Copy link
Member

  • Add a configure time option to rename libmpi(_FOO).*
    • --with-libmpi-name=STRING
  • This commit only impacts the installed libraries.
    Internal, temporary libraries have not been renamed to limit the
    scope of the patch to only what is needed.

For example:

shell$ ./configure --with-libmpi-name=wookie
...
shell$ find . -name "libmpi*"
shell$ find . -name "libwookie*"
./lib/libwookie.so.0.0.0
./lib/libwookie.so.0
./lib/libwookie.so
./lib/libwookie.la
./lib/libwookie_mpifh.so.0.0.0
./lib/libwookie_mpifh.so.0
./lib/libwookie_mpifh.so
./lib/libwookie_mpifh.la
./lib/libwookie_usempi.so.0.0.0
./lib/libwookie_usempi.so.0
./lib/libwookie_usempi.so
./lib/libwookie_usempi.la
shell$

(cherry picked from commit f6f24a4)
Signed-off-by: Joshua Hursey [email protected]

 * Add a configure time option to rename libmpi(_FOO).*
   - `--with-libmpi-name=STRING`
 * This commit only impacts the installed libraries.
   Internal, temporary libraries have not been renamed to limit the
   scope of the patch to only what is needed.

For example:
```shell
shell$ ./configure --with-libmpi-name=wookie
...
shell$ find . -name "libmpi*"
shell$ find . -name "libwookie*"
./lib/libwookie.so.0.0.0
./lib/libwookie.so.0
./lib/libwookie.so
./lib/libwookie.la
./lib/libwookie_mpifh.so.0.0.0
./lib/libwookie_mpifh.so.0
./lib/libwookie_mpifh.so
./lib/libwookie_mpifh.la
./lib/libwookie_usempi.so.0.0.0
./lib/libwookie_usempi.so.0
./lib/libwookie_usempi.so
./lib/libwookie_usempi.la
shell$
```

(cherry picked from commit f6f24a4)
Signed-off-by: Joshua Hursey <[email protected]>
@jjhursey jjhursey added this to the v2.1.0 milestone Sep 30, 2016
@jjhursey
Copy link
Member Author

Refs PR #2059

@jsquyres jsquyres changed the title build: Custom libmpi(_FOO) name option in configure v2.1.0: build: Custom libmpi(_FOO) name option in configure Sep 30, 2016
Copy link
Member

@jsquyres jsquyres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per discussion with @jjhursey on the phone, need to fix up the fortran wrapper compilers.

@jsquyres
Copy link
Member

This is approved in concept (before the Sep 30 deadline for v2.1.0), but there's a bug that needs to be fixed, and I'd like to see this soak on master for at least a day or three to make sure it's correct.

 * In open-mpi/ompi@f6f24a4 I missed
   updating the library references for the wrapper compilers.
 * Fixes the CXX wrapper compiler and CXX library is renamed as needed.
 * Fixes the Java wrapper compiler and the Java library is renamed as needed.

(cherry picked from commit fc3cf99)
Signed-off-by: Joshua Hursey <[email protected]>
@jjhursey
Copy link
Member Author

jjhursey commented Oct 3, 2016

@jsquyres The pending bug fix was added to this PR. I is ready for final review.

@jsquyres jsquyres merged commit 5cdbb7d into open-mpi:v2.x Oct 4, 2016
@jjhursey jjhursey deleted the cp-v2.x/custom-libmpi branch October 4, 2016 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants