Skip to content
Snippets Groups Projects
Commit f40e1c01 authored by Tim Wickberg's avatar Tim Wickberg
Browse files

Fix _cpu_freq_freqspec_num() to return the highest frequency when greater value requested.

Code would return NO_VAL if the requested frequency was greater than
the highest available.

While here improve the errors printed to the slurmstepd log location,
and change the initial check against nfreq to test for zero. (Rather
than (uint8_t) NO_VAL which it could never be set to.)

Bug 3335.
parent a778826c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment