Cant compile due to CPU throttling enabled.
Followed instructions provided by @phcerdan on 2017-06-08 06:48 to disable it, and it worked. Could compile the package. Thanks @phcerdan
Search Criteria
Package Details: atlas-lapack 1:3.10.3-9
Package Actions
Git Clone URL: | https://aur.archlinux.org/atlas-lapack.git (read-only, click to copy) |
---|---|
Package Base: | atlas-lapack |
Description: | Automatically Tuned Linear Algebra Software |
Upstream URL: | http://math-atlas.sourceforge.net |
Licenses: | BSD, custom:lapack |
Provides: | atlas-lapack-base, blas, cblas, lapack |
Submitter: | ilpianista |
Maintainer: | henkm |
Last Packager: | henkm |
Votes: | 93 |
Popularity: | 0.000005 |
First Submitted: | 2008-04-24 01:36 (UTC) |
Last Updated: | 2024-02-01 12:28 (UTC) |
Dependencies (2)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- gcc-fortran (gcc-fortran-gitAUR, gcc11-fortranAUR, gcc-fortran-snapshotAUR) (make)
Required by (548)
- abinit (requires blas)
- abinit (requires lapack)
- algodoo (requires lapack)
- ambertools (requires blas)
- ambertools (requires lapack)
- amino-git (requires cblas)
- amino-git (requires lapack)
- apbs (requires blas)
- apbs (requires lapack)
- armadillo (requires blas)
- armadillo (requires lapack)
- arpack-git (requires lapack)
- arrayfire-git (requires cblas)
- atompaw (requires lapack)
- atomsk-git (requires blas)
- atomsk-git (requires lapack)
- avs-device-sdk (requires cblas)
- basix (requires lapack)
- basix-git (requires blas)
- basix-git (requires lapack)
- Show 528 more...
Sources (4)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 18 Next › Last »
marcin commented on 2017-11-14 07:12 (UTC)
mullah commented on 2017-09-22 18:32 (UTC) (edited on 2017-09-22 18:32 (UTC) by mullah)
I also had to symlink libcblas.so to libcblas.so.3. It seems that liblapack.so references libcblas.so.3 instead of libcblas.so, the relevant error message being:
/usr/bin/ld: warning: libcblas.so.3, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/liblapack.so, not found
hicarus commented on 2017-08-26 07:23 (UTC)
I have same issue as @EpsilonDelta
EpsilonDelta commented on 2017-08-12 05:52 (UTC)
There seems to be an issue where numpy is looking for libcblas.so.3 but it cannot find it. numpy works after symlinking libcblas.so to libcblas.so.3 but i'm not sure if that's a real fix. Is this package supposed to com with libcblas.so.3? is libcblas.so.3 different than libcblas.so?
jerryjiahaha commented on 2017-06-21 18:12 (UTC)
After disabling intel_pstate and setting performance, my `scaling_cur_freq` is still always smaller than `cpuinfo_max_freq` and configure failed at checking cpu throttle.
Solution: `echo 1 > /sys/module/processor/parameters/ignore_ppc` Then set `/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq` works for me.
ref: http://blog.patshead.com/2013/04/my-bios-is-limiting-my-cpu-clock-speed.html.
p.s. I think my broadwell cpu (with model 0x3D) should be checked as IntCorei3 in CONFIG/src/backend/archinfo_x86.c (At present it will be checked as MACHOther)
phcerdan commented on 2017-06-08 06:48 (UTC) (edited on 2017-06-08 06:49 (UTC) by phcerdan)
Hey I just installed, and make these notes, that might be useful for somebody else:
Good explanation in atlas site: http://math-atlas.sourceforge.net/atlas_install/node5.html
Follow this, the governor set by cpupower knows shit about CPU without this: http://unix.stackexchange.com/questions/121410/setting-cpu-governor-to-on-demand-or-conservative
Summary: http://vincent.jousse.org/tech/archlinux-compile-lapack-atlas-kaldi/
===========Steps===========
Permanent disable intel_pstate:
Edit: /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="intel_pstate=disable"
and update grub:
grub-mkconfig -o /boot/grub/grub.cfg
And then enable acpi-cpufreq module:
su root
echo "acpi-cpufreq" > /etc/modules-load.d/acpi-cpufreq.conf
restart.
Now cpupower can set frequencies properly.
To disable throtling
sudo pacman -S cpupower
sudo cpupower frequency-set -g performance
It should apply to all cores, but if it only apply to the first one: copy files to the other (4 in laptop)
sudo cp /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
To restore:
sudo cpupower frequency-set -g ondemand
If not all cores are set:
sudo cp /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
This stuff is only required at build time.
paulkerry commented on 2017-06-07 09:37 (UTC)
In case it helps anyone, to build this package I had to disable hyperthreading in BIOS to stop the "throttling error" and then set the cpu governor to performance (cpupower frequency-set -g governor).
tindzk commented on 2017-01-12 13:45 (UTC)
I encountered the same compilation problem and could fix it by adding the patch from http://stackoverflow.com/a/17952642.
Archange commented on 2016-09-06 21:09 (UTC)
@mamstriz: atlas-lapack-base didn’t complain at all, because it wasn’t optimized for your specific setup.
That’s said, I don’t know why it was removed from the repo, but you still have the option to install blas, cblas and/or lapack instead for python2-numpy and the likes. ;)
Pinned Comments
phcerdan commented on 2017-06-08 06:48 (UTC) (edited on 2017-06-08 06:49 (UTC) by phcerdan)