ofiwg / fabtests

FROZEN: the master branch has merged with the libfabric git repo

Home Page:http://libfabric.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Need MR test to verify compatibility at the 1.5 boundary

bturrubiates opened this issue · comments

Just today we discovered some issues in our 1.5 support around the MR mode. Unfortunately, it's a bit tricky to get right. I think we need a test that will verify that providers are handling the conversion as expected.

Otherwise, the providers will go untested and bugs will lurk. The behavior should be the same for all providers.

Some cases to check for:

  • When an application is compiled with 1.5 and requests 1.4, the provider should understand FI_MR_UNSPEC.
  • Proper handling of FI_MR_BASIC
  • Providers in 1.5 support the translation of FI_MR_BASIC -> FI_MR_LOCAL | OFI_MR_BASIC_MAP (if they supported FI_MR_BASIC).

etc.

The unit test fi_getinfo_test checks for v1.0 and v1.5+ mr_mode bits and correct interpretation of them.