Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] RFC: Linuxes shipping libibverbs
From: Patrick Geoffray (patrick_at_[hidden])
Date: 2008-05-22 13:34:28

Brian W. Barrett wrote:
> With MX, it's one initialization call (mx_init), and it's not clear from
> the errors it can return that you can differentiate between the two cases.

If you run mx_init() on a machine without the MX driver loaded or no NIC
detected by the driver, you get a specific error code (MX_NO_DEV) and
the default error handler print something like:

MX:asterix:mx_init:querying driver:error 5(errno=2):No MX device entry
in /dev.

You can overload the default error handler to not see the message.