Skip to content

Conversation

@hppritcha
Copy link
Member

A user trying to build Open MPI with explicit use
of CFLAGS on the make command line hit problems.

This fixes one of the problems.

https://www.mail-archive.com/users@lists.open-mpi.org//msg32241.html

Signed-off-by: Howard Pritchard hppritcha@gmail.com

A user trying to build Open MPI with explicit use
of CFLAGS on the make command line hit problems.

This fixes one of the problems.

https://www.mail-archive.com/users@lists.open-mpi.org//msg32241.html

Signed-off-by: Howard Pritchard <hppritcha@gmail.com>
@hppritcha hppritcha requested a review from hjelmn May 4, 2018 20:20
@hppritcha
Copy link
Member Author

this is kind of gross but the assert must have been in there for a reason.

@hppritcha hppritcha changed the title btl/openib: addition conditional around an assert btl/openib: add conditional around an assert May 4, 2018
@hppritcha hppritcha merged commit db45d61 into open-mpi:master May 5, 2018
@rhc54
Copy link
Contributor

rhc54 commented May 5, 2018

@hppritcha I'm a little puzzled by this one. We have asserts all over the code base - obviously, if you disable debug but set optimizations to 0, they won't be compiled out. So won't you need to protect them everywhere? I'm asking because it sounds instead like there is an actual bug that is being covered up here.

@jsquyres
Copy link
Member

jsquyres commented May 8, 2018

This one does seem to be correct -- that field only exists (via opal_list.h) if OPAL_ENABLE_DEBUG is 1.

@rhc54
Copy link
Contributor

rhc54 commented May 8, 2018

Ah, ok - that's the clarification I was missing. Perhaps a comment would help future-person?

@hppritcha hppritcha deleted the topic/plug_debug_hole_in_verbs branch October 29, 2021 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants