[Pkg-scicomp-devel] Bug#576755: Bug#576755: atlas: debian/rules custom fails to stop when cpufreq not set to performance
Sylvestre Ledru
sylvestre at debian.org
Wed Apr 7 22:01:54 UTC 2010
Le mardi 06 avril 2010 à 19:11 -0500, Chris Lawrence a écrit :
> Package: atlas
> Version: 3.8.3-19
> Severity: minor
>
> The following errors appear when attempting to run 'debian/rules custom'
> under fakeroot on a 4-CPU box:
>
> ncpu=$(LANG=C cpufreq-info | grep "analyzing CPU" -c); \
> for (( cpu=0 ; cpu < $ncpu ; cpu++)); do \
> if test $(cpufreq-info -p; echo $?) -eq 0 -a -z "$(LANG=C cpufreq-info -p -c $cpu | grep performance)" ; then \
> echo "frequency governor on cpu=$cpu is not set to 'performance'"; \
> echo "run: 'sudo cpufreq-set -g governor -c cpu#' for each cpu"; \
> echo "aborting atlas build"; \
> exit 1; \
> fi; \
> done
> /bin/sh: line 2: test: too many arguments
> /bin/sh: line 2: test: too many arguments
> /bin/sh: line 2: test: too many arguments
> /bin/sh: line 2: test: too many arguments
I have been able to reproduce and fix it. I will upload a -20 with the
fix. Thanks for pointing this out.
> (Also: the instructions probably should say to run:
> 'sudo cpufreq-set -g performance ...'
> instead of
> 'sudo cpufreq-set -g governor ...'.)
Goups, my bad. Fixed too!
Sylvestre
More information about the Pkg-scicomp-devel
mailing list