Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#30 64bit - build finishes but Check fails to compile

Stable_(v3.10.x)
open
nobody
None
5
2015-02-23
2013-05-21
Avi
No

I am trying to compile a BLAS for a Core i7-2600K under Windows7 64 bit. After failing to build multiple times, I tried almost the simplest configure possible:

../configure -b 64 -D c -DPentiumCPS=3411 -m 3411 -Si archdef 0 -Si nocygwin 1

After about 5 hours, the build finished, but make check returned the following error almost immediately:

$ make check
make -f Make.top sanity_test
make[1]: Entering directory `/home/Parents/ATLAS/Win764'
BUILDING TESTERS:
cd bin ; make sanity_test
make[2]: Entering directory `/home/Parents/ATLAS/Win764/bin'
rm -f sanity.out
make ssanity_test dsanity_test csanity_test zsanity_test
make[3]: Entering directory `/home/Parents/ATLAS/Win764/bin'
cd /home/Parents/ATLAS/Win764/src/lapack ; make slib
make[4]: Entering directory `/home/Parents/ATLAS/Win764/src/lapack'
make slib.grd
make[5]: Entering directory `/home/Parents/ATLAS/Win764/src/lapack'
/home/Parents/ATLAS/Win764/mgwgcc -DL2SIZE=4194304 -I/home/Parents/ATLAS/Win764/include -I/home/Parents/ATLAS/Win764/..//include -I/home/Parents/ATLAS/Win764/..//include/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Win64 -DATL_ARCH_Corei2 -DATL_CPUMHZ=3411 -DGCCWIN -DUseClock -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -m64 -DPentiumCPS=3411 -DATL_NCPU=8 -fomit-frame-pointer -mfpmath=sse -O2 -fno-schedule-insns2 -msse3 -m64 -c -o ATL_sgels.o -DSREAL \
               /home/Parents/ATLAS/Win764/..//src/lapack/ATL_gels.c
In file included from /home/Parents/ATLAS/Win764/../src/lapack/ATL_gels.c:31:0:
/home/Parents/ATLAS/Win764/../include/atlas_lamch.h:4:29: fatal error: atlas_slamch.h: No such file or directory
compilation terminated.

MINGW COMPILER WRAP '/home/Parents/ATLAS/Win764/mgwgcc' GAVE ERROR FOR `/usr/bin/x86_64-w64-mingw32-gcc-4.5.3.exe -DL2SIZE=4194304 -I/home/Parents/ATLAS/Win764/include -I/home/Parents/ATLAS/Win764/../
include -I/home/Parents/ATLAS/Win764/../include/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Win64 -DATL_ARCH_Corei2 -DATL_CPUMHZ=3411 -DGCCWIN -DUseClock -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -m64 -DPentiumCPS=3411 -DATL_NCPU=8 -fomit-frame-pointer -mfpmath=sse -O2 -fno-schedule-insns2 -msse3 -m64 -c -o ATL_sgels.o -DSREAL /home/Parents/ATLAS/Win764/../src/lapack/ATL_gels.c'

Makefile:804: recipe for target `ATL_sgels.o' failed
make[5]: *** [ATL_sgels.o] Error 1
make[5]: Leaving directory `/home/Parents/ATLAS/Win764/src/lapack'
Makefile:11: recipe for target `slib' failed
make[4]: *** [slib] Error 2
make[4]: Leaving directory `/home/Parents/ATLAS/Win764/src/lapack'
Makefile:2410: recipe for target `slapack' failed
make[3]: *** [slapack] Error 2
make[3]: Leaving directory `/home/Parents/ATLAS/Win764/bin'
Makefile:375: recipe for target `sanity_test' failed
make[2]: *** [sanity_test] Error 2
make[2]: Leaving directory `/home/Parents/ATLAS/Win764/bin'
Make.top:27: recipe for target `sanity_test' failed
make[1]: *** [sanity_test] Error 2
make[1]: Leaving directory `/home/Parents/ATLAS/Win764'
Makefile:577: recipe for target `test' failed
make: *** [test] Error 2

Make install fails as well:

$ make install
mkdir -p /usr/local/atlas/include
chmod 0755 /usr/local/atlas/include
mkdir -p /usr/local/atlas/lib
chmod 0755 /usr/local/atlas/lib
mkdir -p /usr/local/atlas/include/atlas
chmod 0755 /usr/local/atlas/include/atlas
make -f Make.top install_inc INSTdir=/usr/local/atlas/include
make[1]: Entering directory `/home/Parents/ATLAS/Win764'
cp /home/Parents/ATLAS/Win764/..//include/cblas.h /usr/local/atlas/include/.
cp /home/Parents/ATLAS/Win764/..//include/clapack.h /usr/local/atlas/include/.
chmod 0644 /usr/local/atlas/include/cblas.h /usr/local/atlas/include/clapack.h
cp /home/Parents/ATLAS/Win764/include/* /usr/local/atlas/include/atlas/.
chmod 0644 /usr/local/atlas/include/atlas/*
make[1]: Leaving directory `/home/Parents/ATLAS/Win764'
make -f Make.top install_lib INSTdir=/usr/local/atlas/lib
make[1]: Entering directory `/home/Parents/ATLAS/Win764'
cp /home/Parents/ATLAS/Win764/lib/libatlas.a /usr/local/atlas/lib/.
cp /home/Parents/ATLAS/Win764/lib/libcblas.a /usr/local/atlas/lib/.
cp /home/Parents/ATLAS/Win764/lib/liblapack.a /usr/local/atlas/lib/.
cp: cannot stat `/home/Parents/ATLAS/Win764/lib/liblapack.a': No such file or directory
Make.top:658: recipe for target `install_lib' failed
make[1]: *** [install_lib] Error 1
make[1]: Leaving directory `/home/Parents/ATLAS/Win764'
Makefile:590: recipe for target `install' failed
make: *** [install] Error 2

Why would the build finish and the timing pass but the test and install fail? I've attached what should be the error_report, even though the build finished.

Thank you.

1 Attachments

Discussion

  • Ticket moved from /p/math-atlas/support-requests/908/