atlas on cygwin64?

Help
2014-08-20
2014-08-20
  • After successful compilation on cygwin 32 bits, Atlas does not seem to compile in cygwin 64 bits.

    I set up cygwin64 as follows
    1. used the installer https://cygwin.com/setup-x86_64.exe and installed

    mingw64-x86_64-gcc-g++, wget, make, automake, autoconf
    

    and dependencies
    2. set the 64-bit gcc as the default using

    for f in `ls /usr/bin/x86_64-w64-mingw32*|grep -v gcc.exe`;do
        g=${f##*mingw32-};
        h=${g%.exe}; 
        /usr/sbin/alternatives.exe --install /usr/bin/gcc.exe gcc /usr/bin/x86_64-w64-mingw32-gcc.exe 0 --slave /usr/bin/${h} ${h} ${f};
    done
    
    1. in ${HOME}/usr/local, downloaded atlas

      atlas_ver=3.10.2
      wget --no-clobber http://sourceforge.net/projects/math-atlas/files/Stable/3.10.2/atlas${atlas_ver}.tar.bz2

    2. in /usr/local/atlas-3.10.2, downloaded lapack

      lapack_tarfile="lapack-3.5.0.tgz"
      wget --no-clobber http://www.netlib.org/lapack/${lapack_tarfile}

    3. in a separate build directory, called configure

      mkdir atlas_build; cd atlas_build
      ../configure -b 64 --with-netlib-lapack-tarfile=../lapack-3.5.0.tgz

    The output that I get (see below) consists (mainly) of 3 errors that I don't understand
    a. "The system cannot find the path specified." -- which files?
    b. "undefined reference to `do_cpuid'" -- is this different than in cygwin32?
    c. "Bad MACHTYPE value=0, res='MACHTYPE=0'"
    -- not detected? could I set this via TARGET?

    Any ideas where they come from and whether/how they can be solved in cygwin64 are much appreciated!

    output of configure:

    make: 'xconfig' is up to date.
    ./xconfig -d s /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build/../ -d b /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build  -b 64 -Si lapackref 1
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    make[1]: *** [atlas_run] Error 1
    make: *** [IRun_asm] Error 2
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    The system cannot find the path specified.
    /tmp/ccGDt9V4.o: In function `ProbeArch':
    /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build/..//CONFIG/src/backend/archinfo_x86.c:78: undefined reference to `do_cpuid'
    /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build/..//CONFIG/src/backend/archinfo_x86.c:98: undefined reference to `do_cpuid'
    /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build/..//CONFIG/src/backend/archinfo_x86.c:111: undefined reference to `do_cpuid'
    /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build/..//CONFIG/src/backend/archinfo_x86.c:114: undefined reference to `do_cpuid'
    collect2: error: ld returned 1 exit status
    make[2]: *** [xarchinfo_x86] Error 1
    /tmp/ccgYwMyq.o: In function `ProbeArch':
    /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build/..//CONFIG/src/backend/archinfo_x86.c:78: undefined reference to `do_cpuid'
    /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build/..//CONFIG/src/backend/archinfo_x86.c:98: undefined reference to `do_cpuid'
    /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build/..//CONFIG/src/backend/archinfo_x86.c:111: undefined reference to `do_cpuid'
    /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build/..//CONFIG/src/backend/archinfo_x86.c:114: undefined reference to `do_cpuid'
    collect2: error: ld returned 1 exit status
    make[2]: *** [xarchinfo_x86] Error 1
    /tmp/ccPyWsbS.o: In function `ProbeArch':
    /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build/..//CONFIG/src/backend/archinfo_x86.c:78: undefined reference to `do_cpuid'
    /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build/..//CONFIG/src/backend/archinfo_x86.c:98: undefined reference to `do_cpuid'
    /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build/..//CONFIG/src/backend/archinfo_x86.c:111: undefined reference to `do_cpuid'
    /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build/..//CONFIG/src/backend/archinfo_x86.c:114: undefined reference to `do_cpuid'
    collect2: error: ld returned 1 exit status
    make[2]: *** [xarchinfo_x86] Error 1
    /tmp/ccc3MuGf.o: In function `ProbeArch':
    /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build/..//CONFIG/src/backend/archinfo_x86.c:78: undefined reference to `do_cpuid'
    /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build/..//CONFIG/src/backend/archinfo_x86.c:98: undefined reference to `do_cpuid'
    /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build/..//CONFIG/src/backend/archinfo_x86.c:111: undefined reference to `do_cpuid'
    /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build/..//CONFIG/src/backend/archinfo_x86.c:114: undefined reference to `do_cpuid'
    collect2: error: ld returned 1 exit status
    make[2]: *** [xarchinfo_x86] Error 1
    rm -f config1.out
    make atlas_run atldir=/cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build exe=xprobe_comp redir=config1.out \
                    args="-v 0 -o atlconf.txt -O 8 -A 0 -Si nof77 0 -V 0   -b 64 -d b /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build"
    make[1]: Entering directory '/cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build'
    cd /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build ; ./xprobe_comp -v 0 -o atlconf.txt -O 8 -A 0 -Si nof77 0 -V 0   -b 64 -d b /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build > config1.out
    make[3]: *** [atlas_run] Error 127
    make[2]: *** [IRunF77Comp] Error 2
    make[2]: g77: Command not found
    make[2]: *** [IRunF77Comp] Error 127
    make[2]: f77: Command not found
    make[2]: *** [IRunF77Comp] Error 127
    /bin/sh: icl: command not found
    make[2]: *** [/cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build/ATLwin_ifort.exe] Error 127
    Unable to to build ATLwin_ifort, quitting
    cmnd='make /cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build/ATLwin_ifort.exe'
    Makefile:106: recipe for target 'atlas_run' failed
    make[1]: *** [atlas_run] Error 127
    make[1]: Leaving directory '/cygdrive/c/Users/amwink/usr/local/atlas-3.10.2/atlas_build'
    Makefile:117: recipe for target 'IRun_comp' failed
    make: *** [IRun_comp] Error 2
    
    OS configured as WinNT (8)
    
    Bad ASM value=0, res='NULL'
    
    Assembly configured as  (0)
    
    Bad VECFLAG value=0, res='VECFLAG=0
    '
    
    Vector ISA Extension configured as   (0,0)
    
    Bad MACHTYPE value=0, res='MACHTYPE=0
    '
    
    Architecture configured as  UNKNOWN (0)
    
    Clock rate configured as 1596Mhz
    
    Maximum number of threads configured as  8
    Parallel make command configured as '$(MAKE)'
    Cannot detect CPU throttling.
    ERROR 2 IN SYSCMND: 'make IRun_comp args="-v 0 -o atlconf.txt -O 8 -A 0 -Si nof77 0 -V 0   -b 64"'
    xconfig exited with 2
    
     
    Last edit: Alle Meije Wink 2014-08-20