Hi, How mxm was installed? by copying?
The rpm based installation places mxm into /opt/mellanox/mxm and not into /usr/lib64/libmxm.so. Do you use HPCx (pack of OMPI and MXM and FCA)? You can download HPCX, extract it anywhere and compile OMPI pointing to mxm location under HPCX. Also, HPCx contains rpms for mxm and fca. M On Sat, May 23, 2015 at 1:07 AM, David Shrader <dshra...@lanl.gov> wrote: > Hello, > > I'm getting a spurious '-L' flag when I have mxm installed in system-space > (/usr/lib64/libmxm.so) which is causing an error at link time during make: > > ...output snipped... > /bin/sh ../../../../libtool --tag=CC --mode=link gcc -std=gnu99 -O3 > -DNDEBUG -I/opt/panfs/include -finline-functions -fno-strict-aliasing > -pthread -module -avoid-version -o libmca_mtl_mxm.la mtl_mxm.lo > mtl_mxm_cancel.lo mtl_mxm_component.lo mtl_mxm_endpoint.lo mtl_mxm_probe.lo > mtl_mxm_recv.lo mtl_mxm_send.lo -lmxm -L -lrt -lm -lutil > libtool: link: require no space between `-L' and `-lrt' > make[2]: *** [libmca_mtl_mxm.la] Error 1 > make[2]: Leaving directory > `/turquoise/usr/projects/hpctools/dshrader/hpcsoft/openmpi/1.8.5/openmpi-1.8.5/ompi/mca/mtl/mxm' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/turquoise/usr/projects/hpctools/dshrader/hpcsoft/openmpi/1.8.5/openmpi-1.8.5/ompi' > make: *** [all-recursive] Error 1 > > If I I use --with-mxm=no, then this error doesn't occur (as expected as > the mxm component isn't touched). Has anyone run in to this before? > > Here is my configure line: > > ./configure --disable-silent-rules > --with-platform=contrib/platform/lanl/toss/optimized-panasas --prefix=... > > I wonder if there is an empty variable that should contain the directory > libmxm is in somewhere in configure since no directory is passed to > --with-mxm which is then paired with a "-L". I think I'll go through the > configure script while waiting to see if anyone else has run in to this. > > Thank you for any and all help, > David > > -- > David Shrader > HPC-3 High Performance Computer Systems > Los Alamos National Lab > Email: dshrader <at> lanl.gov > > _______________________________________________ > users mailing list > us...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users > Link to this post: > http://www.open-mpi.org/community/lists/users/2015/05/26904.php > -- Kind Regards, M.