cpu throttling allowed

This commit is contained in:
Frantisek Kluknavsky 2012-10-25 12:07:26 +02:00
parent b3231c2b0f
commit 7bc5a6de5f
2 changed files with 16 additions and 1 deletions

12
atlas-throttling.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up ATLAS/CONFIG/src/config.c.zaloha ATLAS/CONFIG/src/config.c
--- ATLAS/CONFIG/src/config.c.zaloha 2012-10-25 11:29:02.495425989 +0200
+++ ATLAS/CONFIG/src/config.c 2012-10-25 11:42:10.218216957 +0200
@@ -711,6 +711,8 @@ int ProbePtrbits(int verb, char *targarg
int ProbeCPUThrottle(int verb, char *targarg, enum OSTYPE OS, enum ASMDIA asmb)
{
+ return 0; /* impossible to turn off cpu throttling => ignore */
+ /* this undermines performance of compiled library */
int i, iret;
char *ln;
i = strlen(targarg) + 22 + 12;

View File

@ -27,6 +27,7 @@ Patch2: atlas-fedora-arm.patch
# Properly pass -melf_* to the linker with -Wl, fixes FTBFS bug 817552
# https://sourceforge.net/tracker/?func=detail&atid=379484&aid=3555789&group_id=23725
#Patch3: atlas-melf.patch
Patch4: atlas-throttling.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gcc-gfortran
@ -253,6 +254,7 @@ optimizations for the z10 architecture.
%patch2 -p0 -b .arm
%endif
#%patch3 -p1 -b .melf
%patch4 -p1 -b .thrott
cp %{SOURCE1} CONFIG/ARCHS/
cp %{SOURCE2} CONFIG/ARCHS/
cp %{SOURCE3} doc
@ -668,8 +670,9 @@ fi
%endif
%changelog
* Tue Oct 23 2012 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.0-0
* Thu Oct 25 2012 Frantisek Kluknavsky <fkluknav@redhat.com> - 3.10.0-0
- Rebase to 3.10.0
- disabled cpu throttling detection
* Fri Sep 07 2012 Orion Poplawski <orion@nwra.com> - 3.8.4-7
- Rebuild with lapack 3.4.1