Re: [OMPI users] Build error On macOS

2020-06-27 Thread Jeff Squyres (jsquyres) via users
On Jun 26, 2020, at 11:32 AM, Sahir Butt via users  
wrote:
> 
> I am trying to build openmpi-4.0.3 with gcc 11 on macOS. I ran following to 
> configure:
> 
> ../configure --prefix=/path-to/opt/openmpi-4.0.3 
> --with-wrapper-ldflags="-Wl,-search_paths_first”
> 
> I keep getting following error:
> 
> checking for objdump... objdump
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump:
>  error: 'conftest.o': Invalid/Unsupported object file format.


This might mean that you have some kind of issue with your local compiler.

FWIW, on my MacOS laptop, "which objdump" finds /usr/bin/objdump, not 
/Applications/Xcode.app/...etc.

Can you send the stdout/stderr from running configure, and the config.log file?

-- 
Jeff Squyres
jsquy...@cisco.com



Re: [OMPI users] Unable to run MPI application

2020-06-27 Thread Jeff Squyres (jsquyres) via users
On Jun 26, 2020, at 7:30 AM, Peter Kjellström via users 
 wrote:
> 
>> The cluster hardware is QLogic infiniband with Intel CPUs. My
>> understanding is that we should be using the old PSM for networking. 
>> 
>> Any thoughts what might be going wrong with the build? 
> 
> Yes only PSM will perform well on that hardware. Make sure that PSM
> works on the system. Then make sure you got a mca_mtl_psm built.


I think Peter is right: you want to use 

mpirun --mca pml cm --mca mtl psm ...

I *think* Intel InfiniPath is PSM and Intel OmniPath is PSM2, so "psm" is what 
you want (not "psm2").

Don't try to use pml/ob1 + btl/openib, and don't try to use UCX.  PSM is 
Intel's native support for its Infinipath network.

-- 
Jeff Squyres
jsquy...@cisco.com