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

Can't build gpuinfo #27

Open
JBBIntel opened this issue Dec 12, 2022 · 2 comments
Open

Can't build gpuinfo #27

JBBIntel opened this issue Dec 12, 2022 · 2 comments

Comments

@JBBIntel
Copy link

I am trying to build the gpuinfo tool on an ORTCE machine. I am using these modules;
Currently Loaded Modulefiles:

  1. intel/oneapi/2022.0.1 2) intel-comp-rt/agama-ci-prerelease/475(default) 3) intel/pti-gpu-nda/2021-12-03

I get this compile error;
In file included from /nfs/site/home/jbberry/pti-gpu/tools/gpuinfo/main.cc:12:
/nfs/site/home/jbberry/pti-gpu/tools/gpuinfo/../../utils/metric_device.h: In static member function ‘static uint32_t MetricDevice::GetDeviceCount()’:
/nfs/site/home/jbberry/pti-gpu/tools/gpuinfo/../../utils/metric_device.h:32:51: error: invalid conversion from ‘MetricsDiscovery::IAdapterGroup_1_9**’ to ‘MetricsDiscovery::IAdapterGroupLatest**’ {aka ‘MetricsDiscovery::IAdapterGroup_1_13**’} [-fpermissive]
32 | md::TCompletionCode status = OpenAdapterGroup(&adapter_group);
| ^~~~~~~~~~~~~~
| |
| MetricsDiscovery::IAdapterGroup_1_9**

@dmichaelo1
Copy link

You seem to be missing a header file for the metrics discovery library, metrics_discovery_api.h. If you were using ubuntu, it would have come in the "lib-metrics-discovery-dev" debian package for the metrics discovery library.

@YMont
Copy link

YMont commented May 16, 2023

I have same problem. I'm sure I finish installation.

reference1: https://github.com/intel/metrics-discovery
reference2: https://github.com/intel/metrics-library

Could you tell me how to install "lib-metrics-dicovery-dev" in Ubuntu?
What is "lib-metrics-dicovery-dev" package name?

Thanks. @dmichaelo1

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

3 participants