[ofiwg] noob questions

Barrett, Brian bbarrett at amazon.com
Wed Nov 13 12:53:28 PST 2019


You can force Open MPI to use libfabric as its transport by adding "-mca pml cm -mca mtl ofi" to the mpirun command line.  

Brian

-----Original Message-----
From: ofiwg <ofiwg-bounces at lists.openfabrics.org> on behalf of "Hefty, Sean" <sean.hefty at intel.com>
Date: Wednesday, November 13, 2019 at 12:52 PM
To: "Byrne, John (Labs)" <john.l.byrne at hpe.com>, Don Fry <DFry at lightfleet.com>, "ofiwg at lists.openfabrics.org" <ofiwg at lists.openfabrics.org>
Subject: Re: [ofiwg] noob questions

    My guess is that OpenMPI has an internal socket transport that it is using.  You likely need to force MPI to use libfabric, but I don't know enough about OMPI to do that.
    
    Jeff (copied) likely knows the answer here, but you may need to create him a new meme for his assistance.
    
    - Sean
    
    > -----Original Message-----
    > From: ofiwg <ofiwg-bounces at lists.openfabrics.org> On Behalf Of Byrne, John (Labs)
    > Sent: Wednesday, November 13, 2019 11:26 AM
    > To: Don Fry <DFry at lightfleet.com>; ofiwg at lists.openfabrics.org
    > Subject: Re: [ofiwg] noob questions
    > 
    > You only mention the dgram and msg types and the mtl_ofi component wants rdm. If you
    > don’t support rdm, I would have expected your getinfo routine to return error -61.  You
    > can try using the ofi_rxm provider with your provider to add rdm support, replacing
    > verbs in “--mca mtl_ofi_provider_include verbs;ofi_rxm” with your provider.
    > 
    > 
    > 
    > openmpi transport selection is complex. Adding insane levels of verbosity can help you
    > understand what is happening. I tend to use: --mca mtl_base_verbose 100 --mca
    > btl_base_verbose 100 --mca pml_base_verbose 100
    > 
    > 
    > 
    > John Byrne
    > 
    > 
    > 
    > From: ofiwg [mailto:ofiwg-bounces at lists.openfabrics.org] On Behalf Of Don Fry
    > Sent: Wednesday, November 13, 2019 10:54 AM
    > To: ofiwg at lists.openfabrics.org
    > Subject: [ofiwg] noob questions
    > 
    > 
    > 
    > I have written a libfabric provider for our hardware and it passes all the fabtests I
    > expect it to (dgram and msg).  I am trying to run some MPI tests using libfabrics under
    > openmpi (4.0.2).  When I run a simple ping-pong test using mpirun it sends and receives
    > the messages using the tcp/ip protocol.  It does call my fi_getinfo routine, but
    > doesn't use my provider send/receive routines.  I have rebuilt the libfabric library
    > disabling sockets, then again --disable-tcp, then --disable-udp, and fi_info reports
    > fewer and fewer providers until it only lists my provider, but each time I run the mpi
    > test, it still uses the ip protocol to exchange messages.
    > 
    > 
    > 
    > When I configured openmpi I specified --with-libfabric=/usr/local/ and the libfabric
    > library is being loaded and executed.
    > 
    > 
    > 
    > I am probably doing something obviously wrong, but I don't know enough about MPI or
    > maybe libfabric, so need some help. If this is the wrong list, redirect me.
    > 
    > ​
    > 
    > Any suggestions?
    > 
    > Don
    
    _______________________________________________
    ofiwg mailing list
    ofiwg at lists.openfabrics.org
    https://lists.openfabrics.org/mailman/listinfo/ofiwg
    



More information about the ofiwg mailing list