I was finally able to get this working. The reason that the build was failing was that the maximum CPU frequency was being limited by the BIOS. I had to tuhrn off the max CPU freq limit set by the BIOS and ensured that the maximum frequency was that allowed by cpupower, namely 2.401GHZ.

See:

https://wiki.archlinux.org/index.php/CPU_frequency_scaling#BIOS_frequency_limitation

## Search Criteria

## Package Details: atlas-lapack 3.10.2-3

Git Clone URL: | https://aur.archlinux.org/atlas-lapack.git (read-only) |
---|---|

Package Base: | atlas-lapack |

Description: | Complete LAPACK and BLAS implementation using optimised ATLAS routines |

Upstream URL: | http://math-atlas.sourceforge.net/ |

Licenses: | |

Conflicts: | |

Provides: | |

Submitter: | ilpianista |

Maintainer: | giniu |

Last Packager: | giniu |

Votes: | 80 |

Popularity: | 0.480940 |

First Submitted: | 2008-04-24 01:36 |

Last Updated: | 2016-02-25 10:53 |

### Dependencies (4)

- gcc-libs (gcc-libs-git, gcc-libs-multilib-git, gcc-libs-multilib-x32, gcc49-libs-multilib, gcc-libs-multilib)
- binutils (binutils-git, binutils-hjl-git, binutils-tune-bfd-hash)
*(make)* - gcc-fortran (gcc-fortran-git, gcc-fortran-multilib-x32, gcc49-fortran-multilib, gcc-fortran-multilib)
*(make)* - sed
*(make)*

### Required by (153)

- abinit (requires blas)
- abinit (requires lapack)
- armadillo (requires lapack)
- armadillo (requires blas)
- arpack++ (requires lapack)
- arpack++ (requires blas)
- arrayfire-git (requires lapack)
- arrayfire-git (requires cblas)
- atompaw (requires lapack)
- ball (requires lapack)
- caffe (requires atlas-lapack-base)
- calculix (requires blas)
- casadi (requires lapack)
- ccv (requires blas)
- coin-or-ipopt (requires lapack)
- coin-or-ipopt-svn (requires blas)
- coin-or-ipopt-svn (requires lapack)
- coin-or-qpoases (requires blas)
- coin-or-qpoases (requires lapack)
- coinor-csdp (requires blas)
*(make)* - coinor-csdp (requires lapack)
- coinor-csdp (requires lapack)
*(make)* - coinor-csdp (requires blas)
- dao-git (requires cblas)
*(make)* - dao-git (requires cblas)
*(optional)* - deal-ii (requires lapack)
*(optional)* - dlib (requires cblas)
*(optional)* - dlib (requires lapack)
*(optional)* - elemental (requires lapack)
- freefem++-hg (requires blas)
- freefem++-hg (requires lapack)
- g95 (requires blas)
- g95 (requires lapack)
- gamess (requires atlas-lapack-base)
- gimp-plugin-registry (requires lapack)
- gmsh (requires lapack)
- gnuradio-git (requires blas)
- graspit (requires lapack)
- grass6 (requires blas)
*(optional)* - grass6 (requires lapack)
*(optional)* - gromacs (requires atlas-lapack-base)
- gromacs-git (requires lapack)
*(optional)* - gromacs-mpi (requires lapack)
*(optional)* - harminv (requires lapack)
- haskell-hmatrix (requires blas)
- haskell-hmatrix (requires lapack)
- hmat-oss (requires cblas)
- hmat-oss (requires lapack)
- hpl (requires cblas)
- hpl (requires lapack)
- hypre (requires blas)
- hypre (requires lapack)
- insight3d (requires lapack)
- insight3d (requires blas)
- itpp (requires blas)
- itpp (requires lapack)
- j8-git (requires lapack)
*(optional)* - jags (requires lapack)
- jags (requires lapack)
*(make)* - l1_logreg (requires lapack)
- l1_logreg (requires blas)
*(make)* - l1_logreg (requires blas)
- l1_logreg (requires lapack)
*(make)* - l1_logreg-docs (requires blas)
*(make)* - l1_logreg-docs (requires lapack)
*(make)* - levmar (requires lapack)
- lib2geom (requires blas)
- lpp (requires lapack)
- lush (requires lapack)
*(optional)* - lush2 (requires lapack)
*(optional)* - lush2-svn (requires lapack)
*(optional)* - macaulay2 (requires lapack)
- madx-dev (requires lapack)
- magma (requires cblas)
- magma-atlas (requires cblas)
- magma-atlas
- mando-git (requires lapack)
- meshlab (requires lapack)
- microsoft-r-open-blas-systemblas (requires blas)
- microsoft-r-open-blas-systemblas (requires lapack)
- mlpack (requires lapack)
- mpb (requires lapack)
- mpqc-shared (requires lapack)
- mumps (requires lapack)
- mumps-seq (requires blas)
- mumps4 (requires lapack)
- nwchem (requires lapack)
*(make)* - nwchem-bin (requires lapack)
- octave-hg (requires cblas)
- octave-ltfat (requires blas)
*(make)* - octave-ltfat (requires lapack)
*(make)* - octopus (requires lapack)
- oof2 (requires lapack)
- openhrp3 (requires lapack)
- opensees (requires lapack)
- optpp (requires blas)
*(make)* - pagmo (requires blas)
*(optional)* - pagmo-git (requires blas)
*(optional)* - pastix (requires blas)
- petsc (requires lapack)
- petsc-maint (requires lapack)
- plink (requires lapack)
- plumed (requires atlas-lapack-base)
- psi3-bin (requires lapack)
- pyne (requires blas)
- pyne (requires lapack)
- python-kwant (requires blas)
- python-kwant (requires lapack)
- python-pyfr (requires cblas)
*(optional)* - python-scikit-umfpack
- python2-polymode-git (requires blas)
- python2-scikit-umfpack
- python2-sloppycell (requires lapack)
- qrupdate (requires lapack)
- r-deprecated-215 (requires lapack)
- r-deprecated-215 (requires blas)
- r-devel (requires lapack)
- r-devel (requires blas)
- r-devel-svn (requires blas)
- r-devel-svn (requires lapack)
- sagemath-git (requires atlas-lapack)
*(optional)* - salome-kernel (requires lapack)
- scalapack (requires lapack)
- scalapack (requires blas)
- scilab-git (requires blas)
- scilab-git (requires lapack)
- shark-ml-atlas-git
- shark-ml-atlas-svn
- shogun (requires cblas)
- shogun (requires lapack)
- simbody (requires blas)
- simbody (requires lapack)
- sphinxbase (requires lapack)
- su2 (requires lapack)
- superlu (requires blas)
- taucs (requires blas)
- taucs (requires lapack)
- tempo-git (requires atlas-lapack-base)
- tempo2-cvs (requires atlas-lapack-base)
- torch7-git (requires blas)
- torch7-git (requires lapack)
- treekin (requires blas)
- treekin (requires lapack)
- trilinos (requires lapack)
- trilinos (requires blas)
*(make)* - trilinos (requires lapack)
*(make)* - trlan (requires lapack)
- visp (requires lapack)
- wannier90 (requires lapack)
- wannier90 (requires blas)
- xcas (requires lapack)
- yaehmop (requires blas)
- yaehmop (requires lapack)

### Sources (6)

- atlas-license.txt
- blas-license.txt
- http://downloads.sourceforge.net/math-atlas/atlas3.10.2.tar.bz2
- http://www.netlib.org/lapack/lapack-3.6.0.tgz
- makefile.shared.mt
- makefile.shared.st

### Latest Comments

#### bartbkr commented on 2016-04-16 17:27

#### bartbkr commented on 2016-04-10 17:11

Right, I tried to make it clear from my initial post that I've already done what was instructed on that page and the linked SE answer. I am still getting the "CPU Throttling is enabled!" error.

Some output:

$ cat /sys/devices/systemt/cpu/cpu*/cpufreq/scaling_governor

performance

performance

performance

performance

$ cpupower frequency-info

analyzing CPU 0:

driver: acpi-cpufreq

CPUs which run at the same hardware frequency: 0

CPUs which need to have their frequency coordinated by software: 0

maximum transition latency: 10.0 us

hardware limits: 400 MHz - 2.40 GHz

available frequency steps: 2.40 GHz, 2.40 GHz, 2.30 GHz, 2.10 GHz, 2.00 GHz, 1.80 GHz, 1.70 GHz, 1.50 GHz, 1.40 GHz, 1.30 GHz, 1.10 GHz, 1000 MHz, 800 MHz, 700 MHz, 500 MHz, 400 MHz

available cpufreq governors: ondemand performance

current policy: frequency should be within 400 MHz and 2.10 GHz.

The governor "performance" may decide which speed to use

within this range.

current CPU frequency: 2.10 GHz (asserted by call to hardware)

boost state support:

Supported: yes

Active: yes

#### morealaz commented on 2016-04-09 16:34

see http://vincent.jousse.org/tech/archlinux-compile-lapack-atlas-kaldi

for disabling CPU Throttling.

#### bartbkr commented on 2016-04-09 14:49

I have Intel Core i5 processor. I've confirmed that now using the acpi_cpufreq driver and intel_pstate=disable on boot. scaling_governor for all four cores is set to performance.

I am still getting the "CPU Throttling is enabled!" error and cannot build. Any suggestions?

#### greyltc commented on 2016-02-27 12:07

My cpu scaling driver is intel_pstate. By default I'm using the performance governor. Can anyone give me a tip on how to compile this package *without* having to reboot?

#### giniu commented on 2016-02-25 14:36

@arojas - yes, but provides+conflicts is good anyway in this case I think.

#### arojas commented on 2016-02-25 12:00

No package should depend on atlas-lapack-base. If some do, it's a bug and should be fixed. Packages should depend on atlas-lapack, atlas-lapack-base is provided as a generic implementation in the repos so that official packages (such as sagemath) can depend on atlas-lapack, but it should be clear that atlas-lapack is the 'right' package to use.

#### giniu commented on 2016-02-21 07:00

Hi - I will deal with providing atlas-lapack-base together with next upstream release (when this package was built, there was no atlas-lapack-base yet). It will come soon.

#### budgerigar commented on 2016-02-20 23:31

Maybe there should be a provide for atlas-lapack-base because some packages depend on it which is a official package, and atlas-lapack can replace it.

#### seanl commented on 2016-02-19 04:59

See http://vincent.jousse.org/tech/archlinux-compile-lapack-atlas-kaldi/ for how to turn off cpu throttling if you are using intel_pstate. (TL;DR: boot with intel_pstate=disable, then modprobe acpi-cpufreq, then cpupower frequency-set -g performance).

I did this, and it's no longer aborting due to cpu throttling, but now I'm having a strange problem (64 bit):

cd bin/ ; ./xatlas_build -1 0 -a 1 -l 1

Can't recognize 'make IArchDef.grd

' as an internal or external command, or batch script.

Is it using the wrong shell or something?