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

[BUG] inconsistent information in likwid-genTopoCfg #606

Open
jdomke opened this issue Feb 6, 2024 · 1 comment
Open

[BUG] inconsistent information in likwid-genTopoCfg #606

jdomke opened this issue Feb 6, 2024 · 1 comment
Labels

Comments

@jdomke
Copy link
Contributor

jdomke commented Feb 6, 2024

Describe the bug
Running likwid-genTopoCfg twice results in missing information (architecture) and incorrect information (featureFlags), see below. The ERROR and 'Cannot read' messages shouldn't be shown to not confuse a user who never ran the command before and has no idea about the likwid internals, but that is just a side note.

domke@a64fx ~/ $ likwid-genTopoCfg 
ERROR - [/home/domke/likwid/src/topology.c:readTopologyFile:288] No such file or directory.
Cannot read topology information from file /home/domke/likwid/etc/likwid_topo.cfg
Writing new topology file /home/domke/likwid/etc/likwid_topo.cfg
domke@a64fx ~/ $ likwid-genTopoCfg -o 2
Writing new topology file 2
domke@a64fx ~/ $ sort /home/domke/likwid/etc/likwid_topo.cfg >s1
domke@a64fx ~/ $ sort 2 >s2
domke@a64fx ~/ $ diff s1 s2
1,2c1,2
< cpuid_info architecture = armv8
< cpuid_info clock = 503806.0
---
> cpuid_info architecture = 
> cpuid_info clock = 928900.0
4c4
< cpuid_info featureFlags = 133143988224
---
> cpuid_info featureFlags = 2048
@jdomke jdomke added the bug label Feb 6, 2024
@TomTheBear
Copy link
Member

Definitely a bug. Thanks for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants