[ofiwg] RFC on error handling in fi_getinfo call

Hefty, Sean sean.hefty at intel.com
Thu Jan 15 15:46:24 PST 2015


> Thank you.  And I guess the operative word here is "silently".
> Is that the bit that would require an API change?  ( not being silent
> about the sockets choice ? )

The API returns a list of fi_info structures on success or an error.  This could be changed to:

- Return fi_info structures even if an error is returned
- Return multiple error codes + fi_info list
- Carry error information as part of fi_info
?

It's a matter of complexity being exposed to the user.  We've also discussed adding runtime options to disable built-in providers as a work-around for buggy providers.

- Sean



More information about the ofiwg mailing list