#890 ARM configuration failure

closed-fixed
None
5
15 hours ago
2013-02-21
Arnal
No

Hi everybody,

I'm trying to install the ATLAS library (v3.10.1) on my Tegra3 ARM CPU (cortex-a9) under an Ubuntu 11.04 OS but I cannot passed the configuration step..
When I launch the "./configure" executable I get this following output:

make: `xconfig' is up to date.
./xconfig -d s /home/ubuntu/Libraries/ATLAS/build/.././ -d b /home/ubuntu/Libraries/ATLAS/build  -D c -m=1300 -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/cc0khN8h.o uses VFP register arguments, xctest does not
/usr/bin/ld: failed to merge target specific data of file /tmp/cc0khN8h.o
collect2: ld returned 1 exit status
make[2]: *** [IRunCComp] Error 1
/usr/bin/ld: error: /tmp/ccKxsKsT.o uses VFP register arguments, xctest does not
/usr/bin/ld: failed to merge target specific data of file /tmp/ccKxsKsT.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

So, I have three questions:

First: Why "Bad CPU MHZ value=0, res='CPU MHZ=0" ? I precise that the CPU throttling of all the cores is set on 0 (I checked the /sys/devices/system/cpu/cpu*/cpufreq/throttle files). Is it a mistake to use the -m <mhz> option to set the cpu clock ?

Second: Why "sh: Syntax error: EOF in backquote substitution" ?

Third: "Unable to find usable compiler for ICC; abortingMake.." Is there a way to say at the ./configure executable to not looking for ICC ? Because I'm trying to build ATLAS on ARM therefore ICC is not available.

Is here my cmd line:
../configure -D c -m=1300 -DATL_ARM_HARDFP=1 -Ss ADdir=/libraries/ATLAS/build/ARMHARDFP -Si archdef 0 -Fa alg -mfloat-abi=hard

Thanks in advance for your help !

Discussion

  • If you are still trying this, the "-D c -DATL_ARM_HARDFP=1" should all be together; you have "-m=1300" in the middle of it.

    Also, the "-m=1300" should not have an equals sign; it should be "-m 1300" (no quotes).

    Likewise, "-Ss ADdir=/libraries/ATLAS/build/ARMHARDFP" should not have an equals sign; it should be just "-Ss ADdir /libraries/ATLAS/build/ARMHARDFP".

    Try this revised line:

    ../configure -m 1300 -D c -DATL_ARM_HARDFP=1 -Ss ADdir /libraries/ATLAS/build/ARMHARDFP -Si archdef 0 -Fa alg -mfloat-abi=hard

    Also, the errors about "cannot create directory" suggest you are trying to configure in a directory where you have already configured (and perhaps failed) before.

    If configure fails you should start fresh; remove that directory ("rm -r dirname"), recreate it, CD to it and then execute ../configure.

    I will change this status to open-pending (pending your reply).

     
    • status: open --> pending
     
  • No response, assuming fixed. Also, developer release has much better ARM support.

     
    • status: pending --> closed-fixed
    • assigned_to: R. Clint Whaley