-
Notifications
You must be signed in to change notification settings - Fork 900
Compiling with external hwloc results in many warnings #5524
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
Comments
Hmmm...I'm not seeing these warnings and I always build with external HWLOC. What version of hwloc are you using? I'm using 2.0 here. |
I just build from the hwloc master head:
Perhaps it's because I'm using an old compiler -- gcc 4.4.7...? ...time passes... Nope -- same thing happens if I test with gcc 7.3.0, too. |
@rhc54 and I talked about this on the phone and figured it out. Ralph is configuring with The problem is here: ompi/opal/mca/hwloc/hwloc201/configure.m4 Lines 83 to 85 in e9f378e
The hwloc201 (internal) component is checking to see if external was selected by checking However, we know that the external component will always be configured first. So it's possible -- nay, desirable -- for the internal component to check some global variable to know if the external component will be used and if so, politely refuse to configure itself (i.e., leaving only the external component as selectable). Something like this (in
That's a bare-bones example -- need to make it a bit more verbose to explain why it's doing what it's doing, yadda yadda yadda. |
BTW, we'll likely need to do something similar with libevent. |
After #5395 and #5466, if you compile with an external hwloc, there are many warnings:
The text was updated successfully, but these errors were encountered: