Opened 12 years ago

Closed 11 years ago

#1495 closed defect (wontfix)

Terminate ATLAS build on Linux when power management is enabled

Reported by: jsp Owned by: mabshoff
Priority: major Milestone: sage-3.0
Component: distribution Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

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

Change History (4)

comment:1 Changed 12 years ago by mabshoff

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

comment:2 Changed 11 years ago by was

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.

comment:3 Changed 11 years ago by mabshoff

  • Summary changed from ATLAS fails to compile on FC7 32 bit with multiple cores to Terminate ATLAS build on Linux when power management is enabled

comment:4 Changed 11 years ago by mabshoff

  • Resolution set to wontfix
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.