Hello All,

I'm currently trying to install 1.10.0 with hcoll and mxm, and am getting an error during configure:

--- MCA component coll:hcoll (m4 configuration macro)
checking for MCA component coll:hcoll compile mode... static
checking hcoll/api/hcoll_api.h usability... yes
checking hcoll/api/hcoll_api.h presence... yes
checking for hcoll/api/hcoll_api.h... yes
looking for library in lib
checking for library containing hcoll_get_version... no
looking for library in lib64
checking for library containing hcoll_get_version... no
configure: error: HCOLL support requested but not found.  Aborting

The configure line I used:

./configure --with-mxm=/opt/mellanox/mxm --with-hcoll=/opt/mellanox/hcoll --with-platform=contrib/platform/lanl/toss/optimized-panasas

Here are the corresponding lines from config.log:

configure:217014: gcc -std=gnu99 -o conftest -O3 -DNDEBUG -I/opt/panfs/include -finline-functions -fno-strict-aliasing -pthread -I/usr/projects/hpctools/dshrader/hpcsoft/openmpi/1.10.0/openmpi-1.10.0/opal/mca/hwloc/hwloc191/hwloc/include -I/usr/projects/hpctools/dshrader/hpcsoft/openmpi/1.10.0/openmpi-1.10.0/opal/mca/event/libevent2021/libevent -I/usr/projects/hpctools/dshrader/hpcsoft/openmpi/1.10.0/openmpi-1.10.0/opal/mca/event/libevent2021/libevent/include -I/opt/mellanox/hcoll/include -L/opt/mellanox/hcoll/lib conftest.c -lhcoll -lrt -lm -lutil >&5 /usr/bin/ld: warning: libmxm.so.2, needed by /opt/mellanox/hcoll/lib/libhcoll.so, not found (try using -rpath or -rpath-link)
/opt/mellanox/hcoll/lib/libhcoll.so: undefined reference to `mxm_req_recv'
/opt/mellanox/hcoll/lib/libhcoll.so: undefined reference to `mxm_ep_create'
/opt/mellanox/hcoll/lib/libhcoll.so: undefined reference to `mxm_config_free_context_opts'
/opt/mellanox/hcoll/lib/libhcoll.so: undefined reference to `mxm_ep_destroy'
/opt/mellanox/hcoll/lib/libhcoll.so: undefined reference to `mxm_config_free_ep_opts'
/opt/mellanox/hcoll/lib/libhcoll.so: undefined reference to `mxm_progress'
/opt/mellanox/hcoll/lib/libhcoll.so: undefined reference to `mxm_config_read_opts' /opt/mellanox/hcoll/lib/libhcoll.so: undefined reference to `mxm_ep_disconnect'
/opt/mellanox/hcoll/lib/libhcoll.so: undefined reference to `mxm_mq_destroy'
/opt/mellanox/hcoll/lib/libhcoll.so: undefined reference to `mxm_mq_create'
/opt/mellanox/hcoll/lib/libhcoll.so: undefined reference to `mxm_cleanup'
/opt/mellanox/hcoll/lib/libhcoll.so: undefined reference to `mxm_req_send'
/opt/mellanox/hcoll/lib/libhcoll.so: undefined reference to `mxm_ep_connect'
/opt/mellanox/hcoll/lib/libhcoll.so: undefined reference to `mxm_init'
/opt/mellanox/hcoll/lib/libhcoll.so: undefined reference to `mxm_ep_get_address' /opt/mellanox/hcoll/lib/libhcoll.so: undefined reference to `mxm_error_string'
/opt/mellanox/hcoll/lib/libhcoll.so: undefined reference to `mxm_mem_unmap'
collect2: ld returned 1 exit status

An ldd on /opt/mellanox/hcoll/lib/libhcoll.so shows a dependency on libmxm.so, so the above error makes sense. I am using hcoll version 3.3.768 and mxm version 3.4.3065 (reported by rpm).

So, my question: is there a way to take care of this other than putting '-L/opt/mellanox/lib -lmxm' in to LDFLAGS/LIBS? Using LDFLAGS/LIBS will link mxm in to everything, which I would prefer not to do.

Thanks in advance!
David

--
David Shrader
HPC-3 High Performance Computer Systems
Los Alamos National Lab
Email: dshrader <at> lanl.gov

Reply via email to