Skip to content

ompi/comm: make communicator.h safe for C++ bindings #2317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

hjelmn
Copy link
Member

@hjelmn hjelmn commented Oct 28, 2016

Fixes #2055

Signed-off-by: Nathan Hjelm [email protected]

@jsquyres
Copy link
Member

jsquyres commented Nov 1, 2016

@hjelmn Ready to merge?

@hjelmn
Copy link
Member Author

hjelmn commented Nov 1, 2016

Hoping to hear whether this fixed the issue. Otherwise it is ready.

@jjhursey
Copy link
Member

jjhursey commented May 2, 2017

bot:ibm:retest

@jjhursey
Copy link
Member

jjhursey commented May 2, 2017

This commit does not quite fix the problem. I think there is more to do in maybe the cxx_glue.h file.

  CC       cxx_glue.lo
In file included from ../../../opal/class/opal_object.h:128:0,
                 from ../../../ompi/errhandler/errhandler.h:36,
                 from cxx_glue.h:18,
                 from datatype.cc:18:
../../../opal/threads/thread_usage.h: In function ‘int32_t opal_thread_swap_32(volatile int32_t*, int32_t)’:
../../../opal/threads/thread_usage.h:134:76: error: ‘opal_atomic_swap_32’ was not declared in this scope
         return opal_atomic_swap_ ## suffix ((volatile type *) ptr, newvalue); \
                                                                            ^
../../../opal/threads/thread_usage.h:147:1: note: in expansion of macro ‘OPAL_THREAD_DEFINE_ATOMIC_SWAP’
 OPAL_THREAD_DEFINE_ATOMIC_SWAP(int32_t, int32_t, 32)
 ^
In file included from ../../../opal/class/opal_object.h:128:0,
                 from ../../../ompi/errhandler/errhandler.h:36,
                 from cxx_glue.h:18,
                 from comm.cc:27:
../../../opal/threads/thread_usage.h: In function ‘int32_t opal_thread_swap_32(volatile int32_t*, int32_t)’:
../../../opal/threads/thread_usage.h:134:76: error: ‘opal_atomic_swap_32’ was not declared in this scope
         return opal_atomic_swap_ ## suffix ((volatile type *) ptr, newvalue); \
                                                                            ^
../../../opal/threads/thread_usage.h:147:1: note: in expansion of macro ‘OPAL_THREAD_DEFINE_ATOMIC_SWAP’
 OPAL_THREAD_DEFINE_ATOMIC_SWAP(int32_t, int32_t, 32)

@hjelmn
Copy link
Member Author

hjelmn commented May 26, 2017

I don't think this is necessary. The correct fix is in #3589.

@hjelmn hjelmn closed this May 26, 2017
@hjelmn hjelmn deleted the cxx_isolation branch May 26, 2017 16:55
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.

3 participants