-
Notifications
You must be signed in to change notification settings - Fork 431
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
Broken build on OS X #9
Comments
yes, it's needed for SystemV shared memory |
@uccs/ucx-dev |
On Oct 30, 2014, at 3:35 PM, Pasha <[email protected]mailto:[email protected]> wrote: @uccs/ucx-devhttps://github.com/orgs/uccs/teams/ucx-dev So is the OS X pthread issue the lack of spin_[un]lock calls? At least on my Mac (Yosemite, Xcode 6.1). Could we use a mutex instead? For the ELF, same issue in the openshmem code. Currently hard-coded for ELF, but we could dream up a small API to present the required info about the executable’s memory layout etc. tony |
On Oct 30, 2014, at 3:35 PM, Pasha <[email protected]mailto:[email protected]> wrote: @uccs/ucx-devhttps://github.com/orgs/uccs/teams/ucx-dev Some code to get the executable name for OS X… #include <libproc.h> const char * ret = proc_pidpath (pid, pathbuf, sizeof(pathbuf)); return (ret > 0) ? pathbuf : NULL; |
On Oct 30, 2014, at 5:06 PM, Curtis, Tony <[email protected]mailto:[email protected]> wrote: On Oct 30, 2014, at 3:35 PM, Pasha <[email protected]mailto:[email protected]> wrote: @uccs/ucx-devhttps://github.com/orgs/uccs/teams/ucx-dev Some code to get the executable name for OS X… Implicit was an offer to fold it into sys.c with suitable #ifdef guards and do a PReq. tony |
Pthreads - this part of code we should be able to change to mutex, since it is not critical path (i hope so). The debug part that lookups addresses in libraries is a one that concerns me. |
On Oct 30, 2014, at 8:46 PM, Pasha <[email protected]mailto:[email protected]> wrote: Pthreads - this part of code we should be able to change to mutex, since it is not critical path (i hope so). The debug part that lookups addresses in libraries is a one that concerns me. the wikipedia article for Mach-O says "Some versions of NetBSDhttp://en.wikipedia.org/wiki/NetBSD have had Mach-O support added as part of an implementation of binary compatibility” I’ll go and browse that, it may give some hints about the things we need to do… tony |
Actually the problem is not in elf but all these dl_* (example: dl_match_address) functions from link.h |
dladdr seems to provide a somewhat similar functionality as indicated @ George. On Thu, Oct 30, 2014 at 11:00 PM, Pasha [email protected] wrote:
|
@bosilca - thanks ! I think it will do the job ! |
Seems like pthread_spin_lock I would have to wrap with @yosefe there are a lot of pthread_spin calls. Shell we wrap it with ucs_thead_lock/unlock/init to make it more convenient ? |
On Oct 30, 2014, at 10:31 PM, Pasha <[email protected]mailto:[email protected]> wrote: Seems like pthread_spin_lock I would have to wrap with @yosefehttps://github.com/yosefe there are a lot of pthread_spin calls. Shell we wrap it with ucs_thead_lock/unlock/init to make it more convenient ? Well, it’s possible that e.g. qthreads or massivethreads could be a drop-in replacement so an abstraction might be useful. Hide the threading implementation in a ucs/ subdirectory. tony |
@yosefe There is already some wrapper for debug purpose under: |
@shamisp We could definitely wrap the spinlock as you suggest. There are places we can't settle for a mutex. The wrappers in |
spinlock - we will wrap it around with ucs_* HAVE_DETAILED_BACKTRACE - in my build it is disabled. |
gdr_copy uct registration cache
UCT/IB/RC: Replaces warning by debug
# This is the 1st commit message: UCS/DATASTRUCT: Add allow_list data struct # The commit message openucx#2 will be skipped: # add test # The commit message openucx#3 will be skipped: # use allow_list # The commit message openucx#4 will be skipped: # use allow_list # The commit message openucx#5 will be skipped: # Add allow_list mode # The commit message openucx#6 will be skipped: # Use separate funcs for allow_list # The commit message openucx#7 will be skipped: # implement scanf, release, print # The commit message openucx#8 will be skipped: # implement clone # The commit message openucx#9 will be skipped: # tests # The commit message openucx#10 will be skipped: # Add test; Fix ^ # The commit message openucx#11 will be skipped: # Add test
UT: fix ucg datatype convert function for ut
send/recv python objects prototype
Just ran into this. Any chance UCX will ever support OS X? |
@devreal currently it doesn't seem there is enough interest to push this. of course, if anyone is willing to invest in this, the contribution will be welcome :) |
Error:
librt is not supported on OS X. Do we really need/use it ?
The text was updated successfully, but these errors were encountered: