Configuration 关于ARM配置故障的ATLAS

Configuration 关于ARM配置故障的ATLAS,configuration,arm,atlas,Configuration,Arm,Atlas,我正试图在Ubuntu11.04操作系统下的Tegra3 ARM CPU(cortex-a9)上安装ATLAS库(v3.10.1),但我无法通过配置步骤。。 当我启动“/configure”可执行文件时,我得到以下输出: make: `xconfig' is up to date. ./xconfig -d s /home/ubuntu/Libraries/ATLAS/build/.././ -d b /home/ubuntu/Libraries/ATLAS/build -D c -DATL_

我正试图在Ubuntu11.04操作系统下的Tegra3 ARM CPU(cortex-a9)上安装ATLAS库(v3.10.1),但我无法通过配置步骤。。 当我启动“/configure”可执行文件时,我得到以下输出:

make: `xconfig' is up to date.
./xconfig -d s /home/ubuntu/Libraries/ATLAS/build/.././ -d b /home/ubuntu/Libraries/ATLAS/build  -D c -DATL_ARM_HARDFP=1 -Ss ADdir /Libraries/ATLAS/build/ARMHARDFP -Si archdef 0 -Fa alg -mfloat-abi=hard

OS configured as Linux (1)

Assembly configured as GAS_ARM (7)

Vector ISA Extension configured as  NEON (10,1024)

Architecture configured as  ARMv7 (46)

Bad CPU MHZ value=0, res='CPU MHZ=0
'

Clock rate configured as 0Mhz

Maximum number of threads configured as  4
Parallel make command configured as '$(MAKE) -j 4'

Pointer width configured as 32
Cannot detect CPU throttling.
rm -f config1.out
make atlas_run atldir=/home/ubuntu/Libraries/ATLAS/build exe=xprobe_comp redir=config1.out \
                args="-v 0 -o atlconf.txt -O 1 -A 46 -Si nof77 0 -V 1024  -Fa ic '-mfloat-abi=hard' -Fa sm '-mfloat-abi=hard' -Fa dm '-mfloat-abi=hard' -Fa sk '-mfloat-abi=hard' -Fa dk '-mfloat-abi=hard' -Fa xc '-mfloat-abi=hard' -Fa gc '-mfloat-abi=hard' -Fa if '-mfloat-abi=hard' -b 32 -d b /home/ubuntu/Libraries/ATLAS/build"
make[1]: Entering directory `/home/ubuntu/Libraries/ATLAS/build'
cd /home/ubuntu/Libraries/ATLAS/build ; ./xprobe_comp -v 0 -o atlconf.txt -O 1 -A 46 -Si nof77 0 -V 1024  -Fa ic '-mfloat-abi=hard' -Fa sm '-mfloat-abi=hard' -Fa dm '-mfloat-abi=hard' -Fa sk '-mfloat-abi=hard' -Fa dk '-mfloat-abi=hard' -Fa xc '-mfloat-abi=hard' -Fa gc '-mfloat-abi=hard' -Fa if '-mfloat-abi=hard' -b 32 -d b /home/ubuntu/Libraries/ATLAS/build > config1.out
sh: Syntax error: EOF in backquote substitution
sh: Syntax error: EOF in backquote substitution
sh: Syntax error: EOF in backquote substitution
/usr/bin/ld: error: /tmp/cck4AYUv.o uses VFP register arguments, xctest does not
/usr/bin/ld: failed to merge target specific data of file /tmp/cck4AYUv.o
collect2: ld returned 1 exit status
make[2]: *** [IRunCComp] Error 1
/usr/bin/ld: error: /tmp/ccuMjBW4.o uses VFP register arguments, xctest does not
/usr/bin/ld: failed to merge target specific data of file /tmp/ccuMjBW4.o
collect2: ld returned 1 exit status
make[2]: *** [IRunCComp] Error 1


Unable to find usable compiler for ICC; abortingMake sure compilers are in your path, and specify good compilers to configure
(see INSTALL.txt or 'configure --help' for details)make[1]: *** [atlas_run] Error 1
make[1]: Leaving directory `/home/ubuntu/Libraries/ATLAS/build'
make: *** [IRun_comp] Error 2
ERROR 512 IN SYSCMND: 'make IRun_comp args="-v 0 -o atlconf.txt -O 1 -A 46 -Si nof77 0 -V 1024  -Fa ic '-mfloat-abi=hard' -Fa sm '-mfloat-abi=hard' -Fa dm '-mfloat-abi=hard' -Fa sk '-mfloat-abi=hard' -Fa dk '-mfloat-abi=hard' -Fa xc '-mfloat-abi=hard' -Fa gc '-mfloat-abi=hard' -Fa if '-mfloat-abi=hard' -b 32"'
mkdir src bin tune interfaces
mkdir: cannot create directory `src': File exists
mkdir: cannot create directory `bin': File exists
mkdir: cannot create directory `tune': File exists
mkdir: cannot create directory `interfaces': File exists
make: *** [make_subdirs] Error 1
make -f Make.top startup
make[1]: Entering directory `/home/ubuntu/Libraries/ATLAS/build'
Make.top:1: Make.inc: No such file or directory
Make.top:325: warning: overriding commands for target `/AtlasTest'
Make.top:76: warning: ignoring old commands for target `/AtlasTest'
make[1]: *** No rule to make target `Make.inc'.  Stop.
make[1]: Leaving directory `/home/ubuntu/Libraries/ATLAS/build'
make: *** [startup] Error 2
mv: cannot stat `lib/Makefile': No such file or directory
.././configure: 450: cannot create lib/Makefile: Directory nonexistent
.././configure: 451: cannot create lib/Makefile: Directory nonexistent
.././configure: 452: cannot create lib/Makefile: Directory nonexistent
.././configure: 453: cannot create lib/Makefile: Directory nonexistent
.././configure: 509: cannot create lib/Makefile: Directory nonexistent
DONE configure
因此,我有三个问题:

第一:为什么“错误的CPU MHZ值=0,res='CPU MHZ=0”?我确定所有内核的CPU节流设置为0(我检查了/sys/devices/system/CPU/CPU*/cpufreq/throttle文件)。有没有办法将ARM cpu的时钟频率作为参数传递

第二:为什么“sh:Syntax error:EOF in backquote substitution

第三:“无法找到适用于ICC的可用编译器;中止生成..”是否有办法在./configure executable上说不查找ICC?因为我试图在ARM上构建ATLAS,所以ICC不可用

提前感谢您的帮助


Guix

ATLAS配置环境对于ARM来说是不可靠的,一般来说容错性不强:

  • 首先,它试图通过在/proc/cpuinfo中进行grepping来确定系统性能(除了一些人类可读的信息转储之外,它从未用于任何其他用途)。您可以通过在configure命令行上指定频率来覆盖此选项:
    -m
  • 然后,它探测电源管理是否启用——如果启用,它将再次退出。看不到配置选项,但如果在
    CONFIG/src/backend/archinfo\u linux.c
    中使
    ProbeThrottle()
    返回0,则返回0
  • 然后,您会发现,几年前似乎已经为某些Cortex-A8平台完成了一些工作,并且在
    CONFIG/src/atlcomp.txt
    中为ARMv7默认设置的编译器标志包括
    -mfloat abi=softfp
    。将此更改为“硬”,它将在现代ARM Linux发行版上实际工作
  • 语法错误是试图在
    /opt/bin
    /opt/sbin
    中查找编译器而未处理错误的结果
通过上述解决方法,我看不到任何ICC错误,并且在崩溃和烧坏之前,构建工作进行得相当顺利


简而言之,为了使它在ARM上正常工作,需要进行一些移植工作。也许您可以先向他们的开发人员邮件列表发送错误报告?

可能是一个潜在的替代资源。感谢您的回答,我将尝试这些技巧并让您知道。我尝试了您的技巧(-m选项,-mfloat abi=hard已完成),但输出与之前完全相同。这是我的命令行:
。/configure-dc-m=1300-DATL\u ARM\u HARDFP=1-Ss ADdir=/libraries/ATLAS/build/ARMHARDFP-Si archdef 0-Fa alg-mfloat abi=hard
,我也尝试了ATLAS-ARM,但在配置时我得到了更多的错误:
坏的ASM
坏的VECTFLAG
坏的MACHTYPE
。。。等等。我会将我的问题发送给ATLAS技术支持。