Skip to content

Conversation

@jsquyres
Copy link
Member

This is the v2.x PR of #4494.

No code or logic changes.

Signed-off-by: Jeff Squyres <[email protected]>
(cherry picked from commit bed1930)
No code or logic changes.

Signed-off-by: Jeff Squyres <[email protected]>
(cherry picked from commit e8c13ef)
The value of ret is negative (e.g., -61), but it is displayed in the
help message as `%zd`, which renders as unsigned (i.e., a giant
positive value).  So make sure to negate the negative value before
rendering it (e.g., so we display "61", not "4294967235").

Signed-off-by: Jeff Squyres <[email protected]>
(cherry picked from commit f910f55)
Before this commit, the presence of usNIC devices -- which will
(currently) return no data when fi_getinfo() is queried for tagged
matching providers -- would cause an error message to be displayed.

Signed-off-by: Jeff Squyres <[email protected]>
(cherry picked from commit 5a6ddf4)
gcc 5.2 complains:

```
mtl_ofi_component.c: In function ‘ompi_mtl_ofi_finalize’:
mtl_ofi_component.c:613:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     if (ret = fi_close((fid_t)ompi_mtl_ofi.fabric)) {
     ^
```

Signed-off-by: Jeff Squyres <[email protected]>
(cherry picked from commit a8686a6)
@ompiteam-bot
Copy link

All Tests Passed!

@hppritcha hppritcha merged commit 15d1639 into open-mpi:v2.x Dec 2, 2017
@jsquyres jsquyres deleted the pr/v2.x/ofi-mtl-updates branch August 2, 2018 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants