-
Notifications
You must be signed in to change notification settings - Fork 229
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
install: Use amd maintained base for mpi/ucx/... #2098
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2098 +/- ##
===========================================
- Coverage 87.80% 63.02% -24.79%
===========================================
Files 221 142 -79
Lines 38665 21695 -16970
Branches 5000 3924 -1076
===========================================
- Hits 33951 13673 -20278
- Misses 4164 7314 +3150
- Partials 550 708 +158 see 188 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love this. Let me test it
It gives me some weird permission error locally not sure why but yeah seem like the "nicer" way to do it without caring about maintaining a base |
424e9d3
to
37777c0
Compare
68e540b
to
4b2d1f6
Compare
9b04065
to
4e17a4b
Compare
4e17a4b
to
cebcaa1
Compare
'-Xopenmp-target=amdgcn-amd-amdhsa'] | ||
self.ldflags += ['-march=%s' % platform.march] | ||
self.ldflags += ['-fopenmp'] | ||
self.ldflags += ['--offload-arch=%s' % platform.march] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -701,7 +701,7 @@ def march(cls): | |||
# mygpu will only print values accepted by cuda clang in | |||
# the clang argument --cuda-gpu-arch. | |||
try: | |||
p1 = Popen(['mygpu', '-d', 'gfx900'], stdout=PIPE, stderr=PIPE) | |||
p1 = Popen(['/opt/rocm-5.4.2/llvm/bin/offload-arch'], stdout=PIPE, stderr=PIPE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Superseeded by #2104, closing |
To be tested but that should work (it build locally at least)