Closed
Description
Background information
When I try to compile OpenMPI together with UCX, I expect the configure system to find UCX libraries. Configure script seems to find them, but fails to generate makefiles which point to the right location. This results in libtool failing to properly link the libraries.
What version of Open MPI are you using? (e.g., v1.10.3, v2.1.0, git branch name and hash, etc.)
I use ucx-1.2.1 and OpenMPI 2.1.1 downloaded from GitHub.
Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)
When I compile OpenMPI it fails with following error message:
libtool: error: require no space between '-L' and '-lrt'
To ease the reproducibility, I give Dockerfile to compile everything in an isolated environment.
Please describe the system on which you are running
- Operating system/version: Debian 9 inside docker
- Computer hardware: NA
- Network type: NA
Details of the problem
Using this dockerfile, compilation fails
FROM Debian:9
MAINTAINER "Nobody <nobody@domain.invalid>"
RUN apt-get update && \
apt-get install -y flex git libtool build-essential gcc gfortran wget libnuma-dev autoconf automake && \
wget https://github.com/openucx/ucx/archive/v1.2.1.tar.gz && \
tar xvf v1.2.1.tar.gz && \
cd ucx-1.2.1 && ./autogen.sh && ./configure && make && make install && cd .. && \
rm -rf ucx-1.2.1 v1.2.1.tar.gz && \
apt-get clean && apt-get purge
RUN wget https://github.com/open-mpi/ompi/archive/v2.1.1.tar.gz && \
tar xvf v2.1.1.tar.gz && \
cd ompi-2.1.1 && \
./autogen.pl && ./configure --with-ucx && make && make install && \
cd .. && \
rm -rf ompi-2.1.1 v2.1.1.tar.gz
Changing --with-ucx to --with-ucx=/usr results in successful compilation.
Metadata
Metadata
Assignees
Labels
No labels