#929 Problems with Architecture when configuring ATLAS

Stable_(v3.10.x)
open-invalid
5
2015-02-22
2013-12-22
Xavier Anguera
No

Dear ATLAS developers,
I am trying to compile the latest stable release on a machine with the following system:
Linux baguette 3.8.0-34-generic #49~precise1-Ubuntu SMP Wed Nov 13 18:05:00 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

First, I am getting strange errors when executing the configuration command as follows:
../configure --prefix=/home/xavi/projects/kaldi-trunk/tools/ATLAS/install -b 64

I am getting the following trace:

gcc -I/home/xavi/projects/kaldi-trunk/tools/ATLAS/build/..//CONFIG/include -g -w -c /home/xavi/projects/kaldi-trunk/tools/ATLAS/build/..//CONFIG/src/atlconf_misc.c
gcc -I/home/xavi/projects/kaldi-trunk/tools/ATLAS/build/..//CONFIG/include -g -w -o xconfig /home/xavi/projects/kaldi-trunk/tools/ATLAS/build/..//CONFIG/src/config.c atlconf_misc.o
./xconfig -d s /home/xavi/projects/kaldi-trunk/tools/ATLAS/build/../ -d b /home/xavi/projects/kaldi-trunk/tools/ATLAS/build -b 64

OS configured as Linux (1)

Assembly configured as GAS_x8664 (2)

Vector ISA Extension configured as AVX (5,480)
ERROR: enum fam=3, chip=2, model=62, mach=0
make[3]: [atlas_run] Error 44
make[2]:
[IRunArchInfo_x86] Error 2

Architecture configured as UNKNOWNx86 (38)
ERROR: enum fam=3, chip=2, model=62, mach=0
make[3]: [atlas_run] Error 44
make[2]:
[IRunArchInfo_x86] Error 2

Clock rate configured as 3300Mhz
ERROR: enum fam=3, chip=2, model=62, mach=0
make[3]: [atlas_run] Error 44
make[2]:
[IRunArchInfo_x86] Error 2

Maximum number of threads configured as 32
Parallel make command configured as '$(MAKE) -j 32'
ERROR: enum fam=3, chip=2, model=62, mach=0
make[3]: [atlas_run] Error 44
make[2]:
[IRunArchInfo_x86] Error 2
Cannot detect CPU throttling.
gcc -I/home/xavi/projects/kaldi-trunk/tools/ATLAS/build/..//CONFIG/include -g -w -o xisgcc /home/xavi/projects/kaldi-trunk/tools/ATLAS/build/..//CONFIG/src/IsGcc.c atlconf_misc.o
gcc -I/home/xavi/projects/kaldi-trunk/tools/ATLAS/build/..//CONFIG/include -g -w -c /home/xavi/projects/kaldi-trunk/tools/ATLAS/build/..//CONFIG/src/probe_comp.c
gcc -I/home/xavi/projects/kaldi-trunk/tools/ATLAS/build/..//CONFIG/include -g -w -o xprobe_comp probe_comp.o atlconf_misc.o
rm -f config1.out
make atlas_run atldir=/home/xavi/projects/kaldi-trunk/tools/ATLAS/build exe=xprobe_comp redir=config1.out \ args="-v 0 -o atlconf.txt -O 1 -A 38 -Si nof77 0 -V 480 -b 64 -d b /home/xavi/projects/kaldi-trunk/tools/ATLAS/build"
make[1]: Entering directory /home/xavi/projects/kaldi-trunk/tools/ATLAS/build' cd /home/xavi/projects/kaldi-trunk/tools/ATLAS/build ; ./xprobe_comp -v 0 -o atlconf.txt -O 1 -A 38 -Si nof77 0 -V 480 -b 64 -d b /home/xavi/projects/kaldi-trunk/tools/ATLAS/build > config1.out sh: 2: Syntax error: EOF in backquote substitution sh: 2: Syntax error: EOF in backquote substitution sh: 2: Syntax error: EOF in backquote substitution make[1]: Leaving directory/home/xavi/projects/kaldi-trunk/tools/ATLAS/build'
cat config1.out
REPORTED: res=/usr/lib/gcc/x86_64-linux-gnu/4.6/libgfortran.so

(...)

After reading some other posts I am concerned with "Architecture configured as UNKNOWNx86 (38)" as it seems not to recognize the correct architecture.

Later on, I am executing make, which after some time it issues the following errors (which I am not sure they are due to the unknown architecture, but I suspect so):

(...)

BEGIN STAGE 2-3-2: CacheEdge DETECTION at 02:59
make -f Makefile INSTALL_LOG/atlas_zdNKB.h pre=z 2>&1 | ./xatlas_tee INSTALL_LOG/zMMCACHEEDGE.LOG
make[2]: Entering directory /home/xavi/projects/kaldi-trunk/tools/ATLAS/build/bin' cd /home/xavi/projects/kaldi-trunk/tools/ATLAS/build/tune/blas/gemm ; make res/atlas_zdNKB.h make[3]: Entering directory/home/xavi/projects/kaldi-trunk/tools/ATLAS/build/tune/blas/gemm'
make zdRunFindCE
make[4]: Entering directory /home/xavi/projects/kaldi-trunk/tools/ATLAS/build/tune/blas/gemm' cd /home/xavi/projects/kaldi-trunk/tools/ATLAS/build/src/blas/gemm ; make zlib make[5]: Entering directory/home/xavi/projects/kaldi-trunk/tools/ATLAS/build/src/blas/gemm'
make auxillib zcleanuplib zusergemm
make[6]: Entering directory /home/xavi/projects/kaldi-trunk/tools/ATLAS/build/src/blas/gemm' cd /home/xavi/projects/kaldi-trunk/tools/ATLAS/build/src/auxil ; make lib make[7]: Entering directory/home/xavi/projects/kaldi-trunk/tools/ATLAS/build/src/auxil'
make[7]: Nothing to be done for lib'. make[7]: Leaving directory/home/xavi/projects/kaldi-trunk/tools/ATLAS/build/src/auxil'
cd KERNEL ; make -f zMakefile zlib
make[7]: Entering directory /home/xavi/projects/kaldi-trunk/tools/ATLAS/build/src/blas/gemm/KERNEL' make[7]: zMakefile: No such file or directory make[7]: *** No rule to make targetzMakefile'. Stop.
make[7]: Leaving directory /home/xavi/projects/kaldi-trunk/tools/ATLAS/build/src/blas/gemm/KERNEL' make[6]: *** [zcleanuplib] Error 2 make[6]: Leaving directory/home/xavi/projects/kaldi-trunk/tools/ATLAS/build/src/blas/gemm'
make[5]: [zlib] Error 2
make[5]: Leaving directory /home/xavi/projects/kaldi-trunk/tools/ATLAS/build/src/blas/gemm' make[4]: *** [zmmlib] Error 2 make[4]: Leaving directory/home/xavi/projects/kaldi-trunk/tools/ATLAS/build/tune/blas/gemm'
make[3]:
[res/atlas_zdNKB.h] Error 2
make[3]: Leaving directory /home/xavi/projects/kaldi-trunk/tools/ATLAS/build/tune/blas/gemm' make[2]: *** [/home/xavi/projects/kaldi-trunk/tools/ATLAS/build/tune/blas/gemm/res/atlas_zdNKB.h] Error 2 make[2]: Leaving directory/home/xavi/projects/kaldi-trunk/tools/ATLAS/build/bin'
ERROR 919 DURING CACHE EDGE DETECTION!!.
make[2]: Entering directory /home/xavi/projects/kaldi-trunk/tools/ATLAS/build/bin' cd /home/xavi/projects/kaldi-trunk/tools/ATLAS/build ; make error_report make[3]: Entering directory/home/xavi/projects/kaldi-trunk/tools/ATLAS/build'
make -f Make.top error_report
make[4]: Entering directory /home/xavi/projects/kaldi-trunk/tools/ATLAS/build' uname -a 2>&1 >> bin/INSTALL_LOG/ERROR.LOG /usr/bin/c99-gcc -v 2>&1 >> bin/INSTALL_LOG/ERROR.LOG Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) /usr/bin/c99-gcc -V 2>&1 >> bin/INSTALL_LOG/ERROR.LOG gcc: error: unrecognized option ‘-V’ gcc: fatal error: no input files compilation terminated. make[4]: [error_report] Error 4 (ignored) /usr/bin/c99-gcc --version 2>&1 >> bin/INSTALL_LOG/ERROR.LOG tar cf error_UNKNOWNx8664AVX.tar Make.inc bin/INSTALL_LOG/* bzip2 error_UNKNOWNx8664AVX.tar make[4]: Leaving directory/home/xavi/projects/kaldi-trunk/tools/ATLAS/build'
make[3]: Leaving directory /home/xavi/projects/kaldi-trunk/tools/ATLAS/build' make[2]: Leaving directory/home/xavi/projects/kaldi-trunk/tools/ATLAS/build/bin'
Error report error_<ARCH>.tgz has been created in your top-level ATLAS
directory. Be sure to include this file in any help request.
cat: ../../CONFIG/error.txt: No such file or directory
cat: ../../CONFIG/error.txt: No such file or directory
make[1]: [build] Error 255
make[1]: Leaving directory `/home/xavi/projects/kaldi-trunk/tools/ATLAS/build'
make:
[build] Error 2

Discussion

    • status: open --> open-invalid
    • assigned_to: R. Clint Whaley
     
  • That error message says an error occurred somewhere else. You need to post the error report as described: http://math-atlas.sourceforge.net/faq.html#help.

    You might also post the output of cat /proc/cpuinfo so I can see what your architecture is.