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

Terminate ATLAS build on Linux when power management is enabled #1495

Closed
jaapspies opened this issue Dec 13, 2007 · 3 comments
Closed

Terminate ATLAS build on Linux when power management is enabled #1495

jaapspies opened this issue Dec 13, 2007 · 3 comments

Comments

@jaapspies
Copy link
Member

According to INSTALL.txt: CPU-Throttling, you have to do

/usr/bin/cpufreq-selector -g performance

But with two cores you have to force the cpu1 to run at its peak frequency:

As root:
cp /sys/devices/system/cpu/cp0/cpufreq/scaling_governor \
    /sys/devices/system/cpu/cp1/cpufreq/scaling_governor

Component: distribution

Issue created by migration from https://trac.sagemath.org/ticket/1495

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Dec 18, 2007

comment:1

We need to detect if power management is enabled and set some non-performance mode. Otherwise print a warning and ask for confirmation to continue.

Cheers,

Michael

@williamstein
Copy link
Contributor

comment:2
jkantor: 1495 we can't fix and 1547  I don't know how to do
[12:31pm] william_stein: #1495 -- should go in the docs somewhere
[12:31pm] william_stein: Also, maybe we can check if the cpu throttling is on and immediately terminate the build with a help message.

@sagetrac-mabshoff sagetrac-mabshoff mannequin changed the title ATLAS fails to compile on FC7 32 bit with multiple cores Terminate ATLAS build on Linux when power management is enabled Jan 19, 2008
@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Apr 11, 2008

comment:4

After thinking about this for a long time and some feedback I got from IRC during the ATLAS 3.8.1 upgrade when I did terminate the build I considered that it will cause more trouble than it is worth it. Fixing the power management setting requires root priviledges and since power management is enabled on pretty much any current kernel this would prevent quite a number of users from building Sage. Consequently: won't fix.

Cheers,

Michael

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed Apr 11, 2008
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants