On Jan 31, 2006, at 5:47 PM, Brian Granger wrote:
I am compiling a C++ program that uses the Open-MPI c++ bindings. I think there is a bug in the constants.h and/or mpicxx.cc files.The file constants.h defines lots of constants as extern. There are
<snip>
By commenting corresponding lines out in constants.h, my code compiled and ran fine. Is this a bug, or should these things be defined somewhere else. Thanks!
Thanks for bringing this to our attention - this is most definitely a bug. The issue will be fixed in the upcoming 1.0.2 release. It sounds like you have a workaround already, but I've attached the patch that was applied to the v1.0 branch to become part of the next release.
Thanks, Brian -- Brian Barrett Open MPI developer http://www.open-mpi.org/
ompi_cxx.diff
Description: Binary data