Re: [OMPI users] 1.8.5, mxm, and a spurious '-L' flag

2015-05-27 Thread Mike Dubman
thanks, than makes sense. submitted PR https://github.com/open-mpi/ompi/pull/606 with a fix and will port to release branches soon. Thanks a lot. On Tue, May 26, 2015 at 10:38 PM, Jeff Squyres (jsquyres) < jsquy...@cisco.com> wrote: > Unless the compiler can find the MXM headers/libraries witho

Re: [OMPI users] 1.8.5, mxm, and a spurious '-L' flag

2015-05-26 Thread Jeff Squyres (jsquyres)
Unless the compiler can find the MXM headers/libraries without the --with-mxm value. E.g.,: ./configure CPPFLAGS=-I/path/to/mxm/headers LDFLAGS=-L/path/to/mxm/libs --with-mxm ... (or otherwise sets the compiler/linker default search paths, etc.) It seems like however it is happening, somehow

Re: [OMPI users] 1.8.5, mxm, and a spurious '-L' flag

2015-05-26 Thread Mike Dubman
in that case, OPAL_CHECK_PACKAGE will disqualify mxm because it will not find mxm_api.h header file in _OPAL_CHECK_PACKAGE_HEADER macro. from https://github.com/open-mpi/ompi/blob/master/config/ompi_check_mxm.m4#L43 from config.log generated after "./configure --with-mxm" configure:263059: che

Re: [OMPI users] 1.8.5, mxm, and a spurious '-L' flag

2015-05-26 Thread Jeff Squyres (jsquyres)
Mike -- I don't think that's right. If you just pass "--with-mxm", then $with_mxm will equal "yes", and therefore neither of those two blocks of code are executed. Hence, ompi_check_mxm_libdir will be empty. Right? > On May 26, 2015, at 1:28 PM, Mike Dubman wrote: > > Thanks Jeff! > > bu

Re: [OMPI users] 1.8.5, mxm, and a spurious '-L' flag

2015-05-26 Thread Mike Dubman
if just "./configure" was used - it can detect mxm only if it is installed in /usr/include/... by default mxm is installed in /opt/mellanox/mxm/... I just checked with: "./configure" and it did not detect mxm which is installed in the system space "./configure --with-mxm" and it did not detect

Re: [OMPI users] 1.8.5, mxm, and a spurious '-L' flag

2015-05-26 Thread David Shrader
Hello Mike, I'm still working on getting you my config.log, but I thought I would chime in about that line 36. In my case, that code path is not executed because with_mxm is empty (I don't use --with-mxm on the configure line since libmxm.so is in system space and configure picks up on it aut

Re: [OMPI users] 1.8.5, mxm, and a spurious '-L' flag

2015-05-26 Thread Mike Dubman
Thanks Jeff! but in this line: https://github.com/open-mpi/ompi/blob/master/config/ompi_check_mxm.m4#L36 ompi_check_mxm_libdir gets value if with_mxm was passed On Tue, May 26, 2015 at 6:59 PM, Jeff Squyres (jsquyres) wrote: > This line: > > > https://github.com/open-mpi/ompi/blob/master/co

Re: [OMPI users] 1.8.5, mxm, and a spurious '-L' flag

2015-05-26 Thread Jeff Squyres (jsquyres)
This line: https://github.com/open-mpi/ompi/blob/master/config/ompi_check_mxm.m4#L41 doesn't check to see if $ompi_check_mxm_libdir is empty. > On May 26, 2015, at 11:50 AM, Mike Dubman wrote: > > David, > Could you please send me your config.log file? > > Looking into config/ompi_check_

Re: [OMPI users] 1.8.5, mxm, and a spurious '-L' flag

2015-05-26 Thread David Shrader
Hello Mike, I'm glad that I could be of help. Just as an FYI, right now our admins are still hosting the fca libraries in /opt, but they would like to have it in system-space just as they have done with mxm. I haven't worked my way through all of the fca-related logic in configure yet, so I d

Re: [OMPI users] 1.8.5, mxm, and a spurious '-L' flag

2015-05-26 Thread Mike Dubman
David, Could you please send me your config.log file? Looking into config/ompi_check_mxm.m4 macro I don`t understand how it could happen. Thanks a lot. On Tue, May 26, 2015 at 6:41 PM, Mike Dubman wrote: > Hello David, > Thanks for info and patch - will fix ompi configure logic with your patch

Re: [OMPI users] 1.8.5, mxm, and a spurious '-L' flag

2015-05-26 Thread Mike Dubman
Hello David, Thanks for info and patch - will fix ompi configure logic with your patch. mxm can be installed in the system and user spaces - both are valid and supported logic. M On Tue, May 26, 2015 at 5:50 PM, David Shrader wrote: > Hello Mike, > > This particular instance of mxm was instal

Re: [OMPI users] 1.8.5, mxm, and a spurious '-L' flag

2015-05-26 Thread David Shrader
Hello Mike, This particular instance of mxm was installed using rpms that were re-rolled by our admins. I'm not 100% sure where they got them (HPCx or somewhere else). I myself am not using HPCx. Is there any particular reason why mxm shouldn't be in system space? If there is, I'll share it w

Re: [OMPI users] 1.8.5, mxm, and a spurious '-L' flag

2015-05-23 Thread Mike Dubman
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 cont

[OMPI users] 1.8.5, mxm, and a spurious '-L' flag

2015-05-22 Thread David Shrader
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-func