Menu

#43 ERROR 608 DURING CACHESIZE SEARCH!

developer
open
nobody
None
9
2016-10-08
2016-10-08
nanobot
No

I am trying to compile atlas 3.11.39 using latest cygwin x64 and the following script :

# Must be unix line endings
# In vim - set ff=unix
# Turn off CPU throttling
# Control panel, Hardware and sound, Power options, Select a power plan, Show
# additional plans, High perfornamce
code_home="/home/Prodigy/src/ATLAS"
archive_path="${code_home}/archives"
lapack_tarfile="${archive_path}/lapack-3.6.1.tgz"
# atlas_ver="3.11.26"
atlas_ver="3.11.39"
build_suff="-64-sse2-full"
# See: https://github.com/math-atlas/math-atlas/wiki/ATLAS-configure-step
# -b <32/64> : set pointer bitwidth
# -Si archdef <1/0> : enable/supress arch default use
# -A <enum MACHTYPE #> : set machine/architecture
# -V #    # = ((1<<vecISA1) | (1<<vecISA2) | ... | (1<<vecISAN))
# Warning - these configure options may well depend on your ATLAS version; in
# particular the <enum> and -V values are likely to change. Check with:
#   tar atlas3.11.38.tar.bz2
#   cd ATLAS
#   mkdir build
#   cd build
#   ../configure bad-arg
#   make xprint_enums ; ./xprint_enums 
#
# The values here may correspond to MACHTYPE='x86SSE2', V flags SSE2 | SSE1
config_opts="-b 64 -Si archdef 0 -A 15 -V 768 \
    --with-netlib-lapack-tarfile=${lapack_tarfile} \
    -Fa al '-mfpmath=sse -msse2' \
    -t 1"

# You usually don't need to change these guys
atlas_home="${code_home}/atlas"
atlas_sdir=atlas-${atlas_ver}
atlas_src=$atlas_home/$atlas_sdir
atlas_build="$atlas_home/atlas-${atlas_ver}-build${build_suff}"
atlas_tar="${archive_path}/atlas${atlas_ver}.tar.bz2"

# doit
rm -rf $atlas_src
rm -rf $atlas_build
mkdir -p $atlas_build
# Copy this file into the build directory
if [[ -e "$0" ]]; then
    cp $0 $atlas_build
fi
cd $atlas_home
tar jxvf "$atlas_tar"
mv ATLAS ${atlas_src}
cd $atlas_build
export LDFLAGS='-static'
${atlas_src}/configure ${config_opts}
make build

While executing the script i am getting :

BEGIN STAGE 1-0-0: SYSTEM PROBE/AUX COMPILE at 01:44
make[2]: Entering directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full/bin'
make ITprim
make[3]: Entering directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full/bin'
make[3]: *** No rule to make target 'Tprim_win64', needed by 'ITprim'.  Stop.
make[3]: Leaving directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full/bin'
make[2]: *** [Makefile:189: IStage1] Error 2
make[2]: Leaving directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full/bin'
ERROR 608 DURING CACHESIZE SEARCH!!.  CHECK INSTALL_LOG/Stage1.log FOR DETAILS.
make[2]: Entering directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full/bin'
cd /home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full ; make error_report
make[3]: Entering directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full'
make -f Make.top error_report
make[4]: Entering directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full'
uname -a 2>&1 >> bin/INSTALL_LOG/ERROR.LOG
/bin/gcc.exe -v 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
Using built-in specs.
COLLECT_GCC=/bin/gcc
COLLECT_LTO_WRAPPER=/bin/../lib/gcc/x86_64-pc-cygwin/5.4.0/lto-wrapper.exe
Target: x86_64-pc-cygwin
Configured with: /cygdrive/i/szsz/tmpp/gcc/gcc-5.4.0-1.x86_64/src/gcc-5.4.0/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-5.4.0-1.x86_64/src/gcc-5.4.0 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 --with-tune=generic --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libcilkrts --enable-libgomp --enable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id --with-default-libstdcxx-abi=gcc4-compatible
Thread model: posix
gcc version 5.4.0 (GCC)
/bin/gcc.exe -V 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
gcc: error: unrecognized command line option -V
gcc: fatal error: no input files
compilation terminated.
make[4]: [Make.top:6: error_report] Error 1 (ignored)
/bin/gcc.exe --version 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
tar cf error_x86x8764SSE3.tar Make.inc bin/INSTALL_LOG/*
bzip2 error_x86x8764SSE3.tar
make[4]: Leaving directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full'
make[3]: Leaving directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full'
make[2]: Leaving directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full/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]: *** [Make.top:16: build] Error 255
make[1]: Leaving directory '/home/nanobot/src/ATLAS/atlas/atlas-3.11.39-build-64-sse2-full'
make: *** [Makefile:555: build] Error 2

Installed gcc :

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/lto-wrapper.exe
Target: x86_64-pc-cygwin
Configured with: /cygdrive/i/szsz/tmpp/gcc/gcc-5.4.0-1.x86_64/src/gcc-5.4.0/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-5.4.0-1.x86_64/src/gcc-5.4.0 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 --with-tune=generic --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libcilkrts --enable-libgomp --enable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id --with-default-libstdcxx-abi=gcc4-compatible
Thread model: posix
gcc version 5.4.0 (GCC)

gfortran version

$ gfortran.exe -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/lto-wrapper.exe
Target: x86_64-pc-cygwin
Configured with: /cygdrive/i/szsz/tmpp/gcc/gcc-5.4.0-1.x86_64/src/gcc-5.4.0/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-5.4.0-1.x86_64/src/gcc-5.4.0 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 --with-tune=generic --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libcilkrts --enable-libgomp --enable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id --with-default-libstdcxx-abi=gcc4-compatible
Thread model: posix
gcc version 5.4.0 (GCC)

Please resolve these soon :-(. i really need to compile numpy.

Discussion


Log in to post a comment.