Skip to content
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

legion-18.05.0 : /.../threads.cc:1413:5: error: hwloc_linux_parse_cpumap_file was not declared in this scope #479

Closed
junghans opened this issue Feb 10, 2019 · 6 comments
Assignees

Comments

@junghans
Copy link
Collaborator

/var/tmp/portage/sys-cluster/legion-18.05.0/work/legion-legion-18.05.0/runtime/realm/threads.cc: In function ‘bool Realm::get_bd_sibling_id(int, int, std::set<int>&)’:
/var/tmp/portage/sys-cluster/legion-18.05.0/work/legion-legion-18.05.0/runtime/realm/threads.cc:1413:5: error: ‘hwloc_linux_parse_cpumap_file’ was not declared in this scope
     hwloc_linux_parse_cpumap_file(f, set);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/sys-cluster/legion-18.05.0/work/legion-legion-18.05.0/runtime/realm/threads.cc:1413:5: note: suggested alternative: ‘hwloc_linux_set_tid_cpubind’

Details here: https://bugs.gentoo.org/677616

@streichler streichler self-assigned this Feb 10, 2019
@streichler
Copy link
Contributor

@junghans what version of hwloc is this build attempting to use? The realm code here hasn't changed in a very long time.

@junghans
Copy link
Collaborator Author

hwloc-2.0.2

@junghans
Copy link
Collaborator Author

A version bump to 18.12.0 might fix the issue!

@streichler
Copy link
Contributor

I doubt changing the Legion version will help. As I mentioned, the code in question hasn't changed in a long time. However, what has changed is the hwloc API. Version 2.x appears to have a number of backwards-incompatible changes compared to 1.x. Can you build Legion against a 1.x version of hwloc instead?

@junghans
Copy link
Collaborator Author

Well, Gentoo is in the process of rolling out hwloc-2! So, we could disable the support for hwloc or drop legion from Gentoo completely.

However, Fedora and others will roll out hwloc-2 in not too long as well.

@junghans
Copy link
Collaborator Author

Ok, I required <hwloc-2 in Gentoo now:
gentoo/gentoo@f3f448a

So I leave this issue for a future release to be fixed!

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

No branches or pull requests

2 participants