[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

building custom atlas library



Здравствуйте, уважаемое сообщество.

Пытаюсь пересобрать libatlas, чтобы лучше под мою машину оптимизировалась. Почему-то сборка вылетает с ошибкой. Делаю так:

sudo apt-get build-deps libatlas3gf-base
sudo apt-get source libatlas
cd atlas-3.6.0
fakeroot debian/rules custom

debian/rules:211: debian/isa.vasiljev-m-v.d: Нет такого файла или каталога
dh_testdir
make killall arch=foo.vasiljev-m-v
make[1]: Entering directory `/home/xinm/tmp/backport/atlas-3.6.0'
make -f Make.top killall arch=foo.vasiljev-m-v
make[2]: Entering directory `/home/xinm/tmp/backport/atlas-3.6.0'
Make.top:2: Make.foo.vasiljev-m-v: Нет такого файла или каталога
make[2]: *** Нет правила для сборки цели `Make.foo.vasiljev-m-v'.  Останов.
make[2]: Leaving directory `/home/xinm/tmp/backport/atlas-3.6.0'
make[1]: *** [killall] Ошибка 2
make[1]: Leaving directory `/home/xinm/tmp/backport/atlas-3.6.0'
make: [debian/isa.vasiljev-m-v.d] Ошибка 2 (игнорирована)
chmod +x debian/config.expect
set -e; ARCH_DIR=foo.vasiljev-m-v CACHE_SIZE= BIT=2 DEFAULTS=y \
TDNCOMP=y debian/config.expect | \
awk '/DETECTED!/ {gsub(":","");a=tolower($1);\
gsub("3dnow1","3dnow",a);\
gsub("3dnow2","3dnow",a);\
gsub("sse1","sse",a);\
exit} \
   END  {if (a=="") a="base"; \
printf("MY_ISA = %s\n",a);\
}' >debian/isa.vasiljev-m-v.d
make killall arch=foo.vasiljev-m-v
make[1]: Entering directory `/home/xinm/tmp/backport/atlas-3.6.0'
make -f Make.top killall arch=foo.vasiljev-m-v
make[2]: Entering directory `/home/xinm/tmp/backport/atlas-3.6.0'
Make.top:2: Make.foo.vasiljev-m-v: Нет такого файла или каталога
make[2]: *** Нет правила для сборки цели `Make.foo.vasiljev-m-v'.  Останов.
make[2]: Leaving directory `/home/xinm/tmp/backport/atlas-3.6.0'
make[1]: *** [killall] Ошибка 2
make[1]: Leaving directory `/home/xinm/tmp/backport/atlas-3.6.0'
make: [debian/isa.vasiljev-m-v.d] Ошибка 2 (игнорирована)
[ -e debian/amd64/base/applied_sys ] || ! [ -e debian/amd64/base/patch_sys ] || \
patch -p1 < debian/amd64/base/patch_sys
touch debian/amd64/base/applied_sys
dh_testdir
make killall arch=Linux_base_static
make[1]: Entering directory `/home/xinm/tmp/backport/atlas-3.6.0'
make -f Make.top killall arch=Linux_base_static
make[2]: Entering directory `/home/xinm/tmp/backport/atlas-3.6.0'
Make.top:2: Make.Linux_base_static: Нет такого файла или каталога
make[2]: *** Нет правила для сборки цели `Make.Linux_base_static'.  Останов.
make[2]: Leaving directory `/home/xinm/tmp/backport/atlas-3.6.0'
make[1]: *** [killall] Ошибка 2
make[1]: Leaving directory `/home/xinm/tmp/backport/atlas-3.6.0'
make: [bin/Linux_base_static/Make.inc] Ошибка 2 (игнорирована)
chmod +x debian/config.expect
[ -n "t" ] || . debian/amd64/base/env ; \
ARCH_DIR=Linux_base_static CACHE_SIZE=12288 BIT=2 DEFAULTS=y \
TDNCOMP=n debian/config.expect
spawn make
make[1]: Entering directory `/home/xinm/tmp/backport/atlas-3.6.0'
./xconfig
ATLAS3.6.0 configure started.

160
159
158
157
156
155
154
153
152
151
150
149
148
147
146
145
144
143
142
141
140
139
138
137
136
135
134
133
132
131
130
129
128
127
126
125
124
123
122
121
120
119
118
117
116
115
114
113
112
111
110
109
108
107
106
105
104
103
102
101
100
099
098
097
096
095
094
093
092
091
090
089
088
087
086
085
084
083
082
081
080
079
078
077
076
075
074
073
072
071
070
069
068
067
066
065
064
063
062
061
060
059
058
057
056
055
054
053
052
051
050
049
048
047
046
045
044
043
042
041
040
039
038
037
036
035
034
033
032
031
030
029
028
027
026
025
024
023
022
021
020
019
018
017
016
015
014
013
012
011
010
009
008
007
006
005
004
003
002
001
Enter number at top left of screen [0]: ^JUnable to open file 'CONFIG/errata.txt', continuing without display.
Have you scoped the errata file? [y]: ^JUnable to open file 'CONFIG/init.txt', continuing without display.
Are you ready to continue? [y]: ^JProbing to make operating system determination:
Operating system configured as Linux

Probing for architecture:
Enter your machine type:
   1. Other/UNKNOWN
   2. 32 bit AMD Hammer
   3. 64 bit AMD Hammer
Enter machine number [3]: ^JArchitecture is set to HAMMER64


Probing for supported ISA extensions:
cd: 1: can't cd to CONFIG
   AltiVec: NO.
cd: 1: can't cd to CONFIG
   AltiVec: NO.
cd: 1: can't cd to CONFIG
   SSE2: NO.
cd: 1: can't cd to CONFIG
   SSE1: NO.
cd: 1: can't cd to CONFIG
   3DNow2: NO.
cd: 1: can't cd to CONFIG
   3DNow1: NO.
Unable to open file 'CONFIG/pthread.txt', continuing without display.
   enable Posix threads support? [y]: n^JNumber of CPUs: 1

Required cache flush detected as : 12582912 bytes
Looking for compilers (this may take a while):
   /usr/bin/gcc  : v4.3.2
cd: 1: can't cd to CONFIG
   /usr/bin/gcc  -fomit-frame-pointer -O -mfpmath=387 -m64 rejected
cd: 1: can't cd to CONFIG
   /usr/bin/gcc  -fomit-frame-pointer -O -mfpmath=387 -m64 rejected
cd: 1: can't cd to CONFIG
   /usr/bin/gfortran -fomit-frame-pointer -O -m64 rejected
cd: 1: can't cd to CONFIG
   /usr/bin//gfortran  rejected
cd: 1: can't cd to CONFIG
   gfortran -fomit-frame-pointer -O -m64 rejected
F77 = gfortran -O
CC = /usr/bin/gcc -fomit-frame-pointer -O -mfpmath=387 -m64
MCC = /usr/bin/gcc -fomit-frame-pointer -O -mfpmath=387 -m64

FINDING tar, gzip, AND gunzip
   tar    : /bin/tar 
   gzip   : /bin/gzip 
   gunzip : /bin/gunzip 


ATLAS has default parameters for OS='Linux' and system='HAMMER64'.
If you want to just trust these default values, you can use express setup,
drastically reducing the amount of questions you are required to answer

   use express setup? [y]: ^J

Unable to open file 'CONFIG/arch.txt', continuing without display.
   Enter Architecture name (ARCH) [Linux_HAMMER64]: Linux_base_static^J<arch> set to 'Linux_base_static'

Unable to open file 'CONFIG/l2sizemax.txt', continuing without display.
   Enter Maximum cache size (KB) [12288]: 12288^JUnable to open file 'CONFIG/nfsdelay.txt', continuing without display.
   Enter File creation delay in seconds [0]: ^JUnable to open file 'CONFIG/f77exp.txt', continuing without display.
Unable to open file 'CONFIG/f77exp.txt', continuing without display.
F77 = 'gfortran -O' doesn't seem to work for me.
   Enter 1 to enter a different F77, 0 to continue with none [1]:  make: *** [bin/Linux_base_static/Make.inc] Ошибка 1



Система Debian Lenny 5.0.4 amd64. В чём может быть проблема? Gfortran установлен, естественно.

Спасибо-- 
Mi&#293;ail Vasiljev


Reply to: