Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] autoconf warnings: openib BTL
From: Jeff Squyres (jsquyres) (jsquyres_at_[hidden])
Date: 2014-03-05 11:08:06

On Mar 3, 2014, at 10:59 PM, Vasily Filipov <vasily_at_[hidden]> wrote:

> Yes, it is possible, but there is some different if I will do it this way -
> With the current implementation (today into a trunk) if AC_RUN_IFELSE fails => old code of RDMACM will rise,
> And by way you suggest, if we postpone the decision to a run time and the check fails =>
> we have to abort RDMACM at all, because it was compiled for working with AF_IB.
> So my question to you, if we take into account all this stuff above -
> What's the right way to implement it ? What do you think ?

I'm not sure I understand. Can't you write something like:

   rc = try_using_af_ib();
   if (OMPI_ERR_NOT_AVAILABLE == rc) {
       rc = try_the_other_way();
   rc = try_the_other_way();

Jeff Squyres
For corporate legal information go to: