Help save net neutrality! Learn more.
Close

#957 build fails on Centos 6.5

Stable_(v3.10.x)
open
5
2015-07-30
2014-08-19
Mike
No

downloaded ATLAS source, unpacked it, created a 'build' subdirectory, cd'd into it, ran ../configure;make

errored out inside xatlas_build after entering <ATLAS_dir>/build/bin with:

Makefile:1: Make.inc: No such file or directory
make[2]: *** No rule to make target `Make.inc'. Stop.

Any suggestions?

Related

Support Requests: #957

Discussion

  • R. Clint Whaley

    R. Clint Whaley - 2014-08-23

    Sounds like your configure went bad, which is usually caused by not having the required compilers working.

    Can you confirm that you have gcc and gfortran?

    If you do, please use script (man script) to create a log of your configure command, and post that so I can see what is going wrong.

    Also, if should usually specify the cycle-accurate walltimer as in:
    http://math-atlas.sourceforge.net/atlas_install/node23.html

    If you are building 64-bit libs, add -b 64, and if 32, -b 32.

    Let me know,
    Clint

     
  • R. Clint Whaley

    R. Clint Whaley - 2014-08-23
    • assigned_to: R. Clint Whaley
     
    • Mike

      Mike - 2014-08-23

      gcc -v
      Using built-in specs.
      Target: x86_64-redhat-linux
      Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
      --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
      --enable-bootstrap --enable-shared --enable-threads=posix
      --enable-checking=release --with-system-zlib --enable-__cxa_atexit
      --disable-libunwind-exceptions --enable-gnu-unique-object
      --enable-languages=c,c++,objc,obj-c++,java,fortran,ada
      --enable-java-awt=gtk --disable-dssi
      --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
      --enable-libgcj-multifile --enable-java-maintainer-mode
      --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
      --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686
      --build=x86_64-redhat-linux
      Thread model: posix
      gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)


      gfortran -v
      Using built-in specs.
      Target: x86_64-redhat-linux
      Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
      --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
      --enable-bootstrap --enable-shared --enable-threads=posix
      --enable-checking=release --with-system-zlib --enable-__cxa_atexit
      --disable-libunwind-exceptions --enable-gnu-unique-object
      --enable-languages=c,c++,objc,obj-c++,java,fortran,ada
      --enable-java-awt=gtk --disable-dssi
      --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
      --enable-libgcj-multifile --enable-java-maintainer-mode
      --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
      --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686
      --build=x86_64-redhat-linux
      Thread model: posix
      gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)


      more ATLAS_configure.stdout
      make: xconfig' is up to date. ./xconfig -d s /home/mike/Downloads/ATLAS/build/../ -d b /home/mike/Downloads/AT LAS/build gcc -I/home/mike/Downloads/ATLAS/build/..//CONFIG/include -g -w -o xisgcc /home /mike/Downloads/ATLAS/build/..//CONFIG/src/IsGcc.c atlconf_misc.o gcc -I/home/mike/Downloads/ATLAS/build/..//CONFIG/include -g -w -c /home/mike/D ownloads/ATLAS/build/..//CONFIG/src/probe_comp.c gcc -I/home/mike/Downloads/ATLAS/build/..//CONFIG/include -g -w -o xprobe_comp probe_comp.o atlconf_misc.o rm -f config1.out make atlas_run atldir=/home/mike/Downloads/ATLAS/build exe=xprobe_comp redir=con fig1.out \ args="-v 0 -o atlconf.txt -O 1 -A 38 -Si nof77 0 -V 504 -b 64 -d b /home/mike/Downloads/ATLAS/build" make[1]: Entering directory/home/mike/Downloads/ATLAS/build'
      cd /home/mike/Downloads/ATLAS/build ; ./xprobe_comp -v 0 -o atlconf.txt -O
      1 -A
      38 -Si nof77 0 -V 504 -b 64 -d b /home/mike/Downloads/ATLAS/build >
      config1.ou
      t
      make[1]: Leaving directory `/home/mike/Downloads/ATLAS/build'
      cat config1.out
      gcc -I/home/mike/Downloads/ATLAS/build/..//CONFIG/include -g -w -o xspew
      /home/
      mike/Downloads/ATLAS/build/..//CONFIG/src/SpewMakeInc.c atlconf_misc.o \

      rm -f core *.o config?.out

      OS configured as Linux (1)

      Assembly configured as GAS_x8664 (2)

      Vector ISA Extension configured as AVXMAC (3,504)

      Architecture configured as AMDDRIVER (38)

      Clock rate configured as 2500Mhz

      Maximum number of threads configured as 64
      Parallel make command configured as '$(MAKE) -j 64'
      Cannot detect CPU throttling.
      REPORTED: res=/usr/lib/gcc/x86_64-redhat-linux/4.4.7/libgfortran.so

      mkdir src bin tune interfaces
      make -f Make.top startup
      make[1]: Entering directory /home/mike/Downloads/ATLAS/build' make -f Make.top leafstart leaf=interfaces/lapack/C2F/src make[2]: Entering directory/home/mike/Downloads/ATLAS/build'
      cd interfaces/lapack/C2F/src ; ln -s
      /home/mike/Downloads/ATLAS/build/Make.inc M
      ake.inc
      make[2]: Leaving directory /home/mike/Downloads/ATLAS/build' make[1]: Leaving directory/home/mike/Downloads/ATLAS/build'
      DONE configure


      more ATLAS_configure.stderr
      /tmp/cc8dYPXQ.o: In function ATL_tmpnam': /home/mike/Downloads/ATLAS/build/..//CONFIG/include/atlas_sys.h:224: warning: th e use oftmpnam' is dangerous, better use mkstemp' probe_comp.o: In functionATL_tmpnam':
      /home/mike/Downloads/ATLAS/build/..//CONFIG/include/atlas_sys.h:224:
      warning: th
      e use of tmpnam' is dangerous, better usemkstemp'
      sh: -c: line 0: unexpected EOF while looking for matching ' sh: -c: line 1: syntax error: unexpected end of file sh: -c: line 0: unexpected EOF while looking for matching'
      sh: -c: line 1: syntax error: unexpected end of file
      sh: -c: line 0: unexpected EOF while looking for matching ' sh: -c: line 1: syntax error: unexpected end of file sh: -c: line 0: unexpected EOF while looking for matching'
      sh: -c: line 1: syntax error: unexpected end of file
      probe_f2c.o: In function ATL_tmpnam': /home/mike/Downloads/ATLAS/build/..//CONFIG/include/atlas_sys.h:224: warning: th e use oftmpnam' is dangerous, better use mkstemp' /tmp/ccF6TMGx.o: In functionATL_tmpnam':
      /home/mike/Downloads/ATLAS/build/..//CONFIG/include/atlas_sys.h:224:
      warning: th
      e use of tmpnam' is dangerous, better usemkstemp'
      mkdir: cannot create directory src': File exists mkdir: cannot create directorybin': File exists
      mkdir: cannot create directory tune': File exists mkdir: cannot create directoryinterfaces': File exists
      make: [make_subdirs] Error 1
      ln: creating symbolic link `Make.inc': File exists
      make[2]:
      [leafstart] Error 1
      make[1]: [startup] Error 2
      make:
      [startup] Error 2


      more Make.inc

      ----------------------------

      Make.inc for ATLAS3.10.2

      ----------------------------

      ----------------------------------

      Make sure we get the correct shell

      ----------------------------------

      SHELL = /bin/sh

      -------------------------------------------------

      Name indicating the platform to configure BLAS to

      -------------------------------------------------

      ARCH = AMDDRIVER64AVXMAC

      ----------------------------

      Paths to various directories

      ----------------------------

      BLDdir = /home/mike/Downloads/ATLAS/build
      SRCdir = /home/mike/Downloads/ATLAS/build/../
      INCAdir = $(BLDdir)/include
      INCSdir = $(SRCdir)/include
      BINdir = $(BLDdir)/bin
      LIBdir = $(BLDdir)/lib

      SYSdir = $(BLDdir)/tune/sysinfo
      GMMdir = $(BLDdir)/src/blas/gemm
      GMVdir = $(BLDdir)/src/blas/gemv
      GR1dir = $(BLDdir)/src/blas/ger
      L1Bdir = $(BLDdir)/src/blas/level1
      L2Bdir = $(BLDdir)/src/blas/level2
      L3Bdir = $(BLDdir)/src/blas/level3
      TSTdir = $(BLDdir)/src/testing
      AUXdir = $(BLDdir)/src/auxil
      CBLdir = $(BLDdir)/interfaces/blas/C/src
      FBLdir = $(BLDdir)/interfaces/blas/F77/src
      MMTdir = $(BLDdir)/tune/blas/gemm
      MVTdir = $(BLDdir)/tune/blas/gemv
      R1Tdir = $(BLDdir)/tune/blas/ger
      L1Tdir = $(BLDdir)/tune/blas/level1
      L3Tdir = $(BLDdir)/tune/blas/level3
      FLAdir = $(BLDdir)/src/lapack/reference
      ADdir = $(SRCdir)/CONFIG/ARCHS

      ---------------------------------------------------------------------

      Name and location of scripts for running executables during tuning

      ---------------------------------------------------------------------

      ATLRUN = $(BLDdir)/bin/ATLrun.sh
      ATLFWAIT = $(BLDdir)/bin/xatlas_waitfile

      ---------------------

      Libraries to be built

      ---------------------

      ATLASlib = $(LIBdir)/libatlas.a
      CBLASlib = $(LIBdir)/libcblas.a
      F77BLASlib = $(LIBdir)/libf77blas.a
      LAPACKlib = $(LIBdir)/liblapack.a
      PTCBLASlib = $(LIBdir)/libptcblas.a
      PTF77BLASlib = $(LIBdir)/libptf77blas.a
      PTLAPACKlib = $(LIBdir)/libptlapack.a
      TESTlib = $(LIBdir)/libtstatlas.a

      -------------------------------------------

      Upper bound on largest cache size, in bytes

      -------------------------------------------

      L2SIZE = -DL2SIZE=4194304

      ---------------------------------------

      Command setting up correct include path

      ---------------------------------------

      INCLUDES = -I$(INCAdir) -I$(INCSdir) -I$(INCSdir)/contrib

      -------------------------------------------

      Defines for setting up F77/C interoperation

      -------------------------------------------

      F2CDEFS = -DAdd_ -DF77_INTEGER=int -DStringSunStyle

      ------------------------------

      Architecture identifying flags

      ------------------------------

      ARCHDEFS = -DATL_OS_Linux -DATL_ARCH_AMDDRIVER -DATL_CPUMHZ=2500
      -DATL_AVXMAC
      -DATL_AVXFMA4 -DATL_AVX -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS
      -DATL_
      GAS_x8664

      TIDLIST=

      -------------------------------------------------------------------

      NM is the flag required to name a compiled object/executable

      OJ is the flag required to compile to object rather than executable

      These flags are used by all compilers.

      -------------------------------------------------------------------

      NM = -o
      OJ = -c


      Various compilers and linkers. The compilers recognized by ATLAS are:

      F77 : Compiler to compile f77 interface code with -- Should match what

      user compile's his own code with; has no affect on ATLAS

      performance

      ICC : Compiler to used to compile all non-kernels in ATLAS, including

      C interface codes. Should match whatever compiler user compiles

      with. Impact on performance should be minimal.

      SMC : Compiler to use to compile single precision matmul kernels

      DMC : Compiler to use to compile double precision matmul kernels

      SKC : Compiler to use to compile single precision non-matmul kernels

      DKC : Compiler to use to compile double precision non-matmul kernels

      XCC : Compiler to be used on the compile engine of a cross-compiler

      These C compiler are mostly the same, but flags are often different.

      Note that if you specify no F77 compiler, F77 will be set to a C compiler

      to aid in linking.


      NPROC=64
      CDEFS = $(L2SIZE) $(INCLUDES) $(F2CDEFS) $(ARCHDEFS) -m64
      -DATL_NCPU=$(NPROC
      )

      ICC = /usr/bin/gcc
      ICCFLAGS = $(CDEFS) -Os -fomit-frame-pointer -mavx -mno-sse2avx -mfma
      -m64
      SMC = /usr/bin/gcc
      SMCFLAGS = -Os -fomit-frame-pointer -mavx -mno-sse2avx -mfma -m64
      DMC = /usr/bin/gcc
      DMCFLAGS = -Os -fomit-frame-pointer -mavx -mno-sse2avx -mfma -m64
      SKC = /usr/bin/gcc
      SKCFLAGS = -Os -fomit-frame-pointer -mavx -mno-sse2avx -mfma -m64
      DKC = /usr/bin/gcc
      DKCFLAGS = -Os -fomit-frame-pointer -mavx -mno-sse2avx -mfma -m64
      XCC = /usr/bin/gcc
      XCCFLAGS = $(CDEFS) -O -fomit-frame-pointer -m64
      GCC = /usr/bin/gcc
      GCCFLAGS = -Os -fomit-frame-pointer -mavx -mno-sse2avx -mfma -m64
      F77 = /usr/bin/gfortran
      F77FLAGS = -O -mavx -mno-sse2avx -mfma -m64
      F77NOOPT = $(F77FLAGS) -O0 # turn off optimization
      SMAFLAGS =
      DMAFLAGS =
      CKC = $(SKC)
      ZKC = $(DKC)
      sKCFLAGS = $(CDEFS) $(SKCFLAGS)
      dKCFLAGS = $(CDEFS) $(DKCFLAGS)
      cKCFLAGS = $(CDEFS) $(SKCFLAGS)
      zKCFLAGS = $(CDEFS) $(DKCFLAGS)
      GOODGCC = /usr/bin/gcc -Os -fomit-frame-pointer -mavx -mno-sse2avx -mfma
      -m64
      -m64
      KC = $(DKC)
      KCFLAGS = $(CDEFS) $(DKCFLAGS)
      LDFLAGS = -melf_x86_64
      F77SYSLIB = -L/usr/lib/gcc/x86_64-redhat-linux/4.4.7 -lgfortran
      BC = $(KC)
      NCFLAGS = $(KCFLAGS)

      CLINKER = $(KC)
      CLINKFLAGS = $(KCFLAGS)
      FLINKER = $(F77)
      FLINKFLAGS = $(F77FLAGS)
      FCLINKFLAGS = $(FLINKFLAGS)
      ARCHIVER = ar
      ARFLAGS = r
      RANLIB = echo

      -------------------------------------

      tar, gzip, gunzip, and parallel make

      -------------------------------------

      TAR = tar
      BZIP = bzip2
      BUNZIP = bunzip2
      PMAKE = $(MAKE) -j 64

      ------------------------------------

      Reference and system libraries

      ------------------------------------

      FBLASlib = $(LIBdir)/libf77refblas.a
      FLAPACKlib = $(FLAdir)/lapack_$(ARCH).a
      SBLASlib = $(FBLASlib) # should be serial sysblas
      BLASlib = $(FBLASlib) # should be parallel sysblas
      SLAPACKlib = # set to parallel system lapack
      SSLAPACKlib = # set to serial system lapack
      LIBS = -lpthread -lm

      --------------------------------------------------------------------

      Compiler names for architectural defaults and flags to atlas_install

      --------------------------------------------------------------------

      iccD = gcc
      smcD = gcc
      dmcD = gcc
      skcD = gcc
      dkcD = gcc
      xccD = gcc
      gccD = gcc
      f77D = gfortran
      INSTFLAGS = -1 0 -a 1 -l 1

      -------------------------------------------------------------------

      Dependence info for building optional external threading interfaces

      -------------------------------------------------------------------

      sextthr =
      dextthr =
      cextthr =
      zextthr =

      ---------------------------------------

      Generic targets needed by all makefiles

      ---------------------------------------

      do_it: all
      waitfile:


      It plans to build lapacklib (not finding it in /usr/local/lib64?). Maybe I
      have the wrong blaslib - it complains that BLASLIB should be parallel
      sysblas.

      cd /usr/local/lib64;ls
      libblas.a libuictlufr2.la libuictlufr2.so.1 pkgconfig
      liblapack.a libuictlufr2.so libuictlufr2.so.1.0.0 R

      I look forward to getting it built properly. Thanks for your help... Mike

      On Sat, Aug 23, 2014 at 12:21 PM, R. Clint Whaley rwhaley@users.sf.net
      wrote:

      • assigned_to: R. Clint Whaley
      • Comment:

      Sounds like your configure went bad, which is usually caused by not having
      the required compilers working.

      Can you confirm that you have gcc and gfortran?

      If you do, please use script (man script) to create a log of your
      configure command, and post that so I can see what is going wrong.

      Also, if should usually specify the cycle-accurate walltimer as in:
      http://math-atlas.sourceforge.net/atlas_install/node23.html

      If you are building 64-bit libs, add -b 64, and if 32, -b 32.

      Let me know,
      Clint


      Status: open
      Group: Stable_(v3.10.x)
      Labels: make error Make.inc
      Created: Tue Aug 19, 2014 04:45 AM UTC by Mike
      Last Updated: Tue Aug 19, 2014 04:45 AM UTC
      Owner: R. Clint Whaley

      downloaded ATLAS source, unpacked it, created a 'build' subdirectory, cd'd
      into it, ran ../configure;make

      errored out inside xatlas_build after entering <ATLAS_dir>/build/bin with:

      Makefile:1: Make.inc: No such file or directory
      make[2]: *** No rule to make target `Make.inc'. Stop.

      Any suggestions?

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/math-atlas/support-requests/957/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Support Requests: #957

  • R. Clint Whaley

    R. Clint Whaley - 2015-07-30

    Looks like to me this install was done in a non-empty build directory, causing the above error. Try deleting everything in the build directory before running configure.

    You may also want to try 3.11, which is roughly twice as fast on most modern archs (not sure about driver).

    Is your machine really a 64-core machine? Being that it is AMD, have you done:
    http://math-atlas.sourceforge.net/atlas_install/node21.html
    to avoid using the useless half cores?

     

Log in to post a comment.