On 3/25/14, 9:29 AM, Glynn Stafford Lane wrote: > Compiling Octave with Atlas on a 2013 iMac running the latest version of OS > X. It is taking a considerably long time (days) to finish compiling Atlas. I > suspect it may be because the computer has a new Haswell processor and the > source doesn't have known values for the architecture? The compile appears to > be measuring the functionality of the CPU but it may be stuck in a loop. > > I am unsure of what to paste here. I can give some examples of sections that > led me to the conclusions above and anything related to errors. I will keep > the full text on standby if needed. > > Here's an example of what it is doing now: > > > ------------------------------------------------------------------ > > STAGE 2-2-3: COPY/NO-COPY CROSSOVER DETECTION > make -f Makefile INSTALL_LOG/sXover.h pre=s 2>&1 | ./xatlas_tee > INSTALL_LOG/sMMCROSSOVER.LOG > cd /sw/src/fink.build/atlas-3.10.1-1/darwin_bld/tune/blas/gemm ; > /Applications/Xcode.app/Contents/Developer/usr/bin/make res/sXover.h pre=s > nb=88 > /Applications/Xcode.app/Contents/Developer/usr/bin/make sRun_tfc pre=s > /Applications/Xcode.app/Contents/Developer/usr/bin/make xstfc pre=s typ=SREAL > /sw/src/fink.build/atlas-3.10.1-1/gcc -o stfc.o -c -DL2SIZE=4194304 > -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/include > -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/../ATLAS//include > -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/../ATLAS//include/contrib > -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_OSX -DATL_ARCH_UNKNOWNx86 > -DATL_CPUMHZ=3200 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS > -DATL_GAS_x8664 -m64 -DATL_DYLIBS -DATL_FULL_LAPACK -DATL_NCPU=4 -fPIC > -fomit-frame-pointer -O3 -m64 -mfpmath=sse -m64 -fPIC -DSREAL > /sw/src/fink.build/atlas-3.10.1-1/darwin_bld/../ATLAS//tune/blas/gemm/tfc.c \ > > -DSM_FOUT=/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/include/sXover.h > cd /sw/src/fink.build/atlas-3.10.1-1/darwin_bld/src/blas/gemm ; > /Applications/Xcode.app/Contents/Developer/usr/bin/make slib > /Applications/Xcode.app/Contents/Developer/usr/bin/make auxillib scleanuplib > susergemm > cd /sw/src/fink.build/atlas-3.10.1-1/darwin_bld/src/auxil ; > /Applications/Xcode.app/Contents/Developer/usr/bin/make lib > make[8]: Nothing to be done for `lib'. > cd KERNEL ; /Applications/Xcode.app/Contents/Developer/usr/bin/make -f > sMakefile slib > make[8]: Nothing to be done for `slib'. > make[7]: Nothing to be done for `susergemm'. > /Applications/Xcode.app/Contents/Developer/usr/bin/make -j 4 slib.grd > make[7]: `slib.grd' is up to date. > cd /sw/src/fink.build/atlas-3.10.1-1/darwin_bld/src/blas/gemm ; > /Applications/Xcode.app/Contents/Developer/usr/bin/make ATL_sbig_mm.o > ATL_ssmall_mm.o \ > pre=s typ=SREAL > make[6]: `ATL_sbig_mm.o' is up to date. > make[6]: `ATL_ssmall_mm.o' is up to date. > /sw/src/fink.build/atlas-3.10.1-1/gcc -DL2SIZE=4194304 > -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/include > -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/../ATLAS//include > -I/sw/src/fink.build/atlas-3.10.1-1/darwin_bld/../ATLAS//include/contrib > -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_OSX -DATL_ARCH_UNKNOWNx86 > -DATL_CPUMHZ=3200 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS > -DATL_GAS_x8664 -m64 -DATL_DYLIBS -DATL_FULL_LAPACK -DATL_NCPU=4 -fPIC > -fomit-frame-pointer -O3 -m64 -mfpmath=sse -m64 -fPIC -o xstfc stfc.o \ > > /sw/src/fink.build/atlas-3.10.1-1/darwin_bld/src/blas/gemm/ATL_sbig_mm.o > /sw/src/fink.build/atlas-3.10.1-1/darwin_bld/src/blas/gemm/ATL_ssmall_mm.o \ > /sw/src/fink.build/atlas-3.10.1-1/darwin_bld/lib/libatlas.a > -lpthread -lm > /sw/src/fink.build/atlas-3.10.1-1/darwin_bld/bin/ATLrun.sh > /sw/src/fink.build/atlas-3.10.1-1/darwin_bld/tune/blas/gemm xstfc > > > Finding crossover point for small case algorithms: > > TEST TA TB M N K alpha beta Time Mflop SpUp > ==== == == === === === ===== ===== ====== ===== ==== > > 1 N N 80 10 10 1.0 1.0 0.81 4871.2 1.00 > 1 N N 80 10 10 1.0 1.0 0.77 5115.9 1.05 > > [#### SNIP] > > 92 T T 33 33 33 1.0 1.0 0.71 5540.3 1.07 > 93 T T 21 21 21 1.0 1.0 0.79 5012.8 1.00 > 93 T T 21 21 21 1.0 1.0 0.84 4673.8 0.93 > 94 T T 27 27 27 1.0 1.0 0.73 5377.3 1.00 > 94 T T 27 27 27 1.0 1.0 0.77 5144.5 0.96 > cp -f /sw/src/fink.build/atlas-3.10.1-1/darwin_bld/include/sXover.h res/. > cp /sw/src/fink.build/atlas-3.10.1-1/darwin_bld/tune/blas/gemm/res/sXover.h > INSTALL_LOG/. > done. > DONE STAGE 2-2-3 at 10:23 > > > BEGIN STAGE 2-2-4: L3BLAS TUNE at 10:23 > > [#### etc. etc.] > > ------------------------------------------------------------------ > > [#### Some errors:] > > /sw/src/fink.build/atlas-3.10.1-1/darwin_bld/bin/xsubstr -o ATL_tMpFiLe -i > /sw/src/fink.build/atlas-3.10.1-1/darwin_bld/../ATLAS//tune/blas/gemm/CASES/zcases.flg > \ > -s '^gcc' 'gcc-fsf-4.8 -fPIC -fomit-frame-pointer -O3 -m64 > -mfpmath=sse -m64 -fPIC' -s ' gcc' ' gcc-fsf-4.8 -fPIC -fomit-frame-pointer > -O3 -m64 -mfpmath=sse -m64 -fPIC' > ./xuserflag -i ATL_tMpFiLe -o zcases.flg > gcc-fsf-4.8: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' > instead > FlagCheck.c:1:0: error: bad value (ultrasparc) for -mtune= switch > int main(){} > ^ > clang: error: invalid argument '-faltivec' only allowed with > 'ppc/ppc64/ppc64le' > gcc-fsf-4.8: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' > instead > FlagCheck.c:1:0: error: bad value (ultrasparc) for -mtune= switch > int main(){} > ^ > gcc-fsf-4.8: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' > instead > FlagCheck.c:1:0: error: bad value (ultrasparc) for -mtune= switch > int main(){} > ^ > gcc-fsf-4.8: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' > instead > FlagCheck.c:1:0: error: bad value (ultrasparc) for -mtune= switch > int main(){} > ^ > gcc-fsf-4.8: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' > instead > FlagCheck.c:1:0: error: bad value (970) for -mtune= switch > int main(){} > ^ > gcc-fsf-4.8: error: unrecognized command line option '-mips4' > gcc-fsf-4.8: error: unrecognized command line option '-mips4' > gcc-fsf-4.8: error: unrecognized command line option '-mips4' > gcc-fsf-4.8: error: unrecognized command line option '-mips4' > gcc-fsf-4.8: error: unrecognized command line option '-mvsx' > gcc-fsf-4.8: error: unrecognized command line option '-mfpu=vfpv3' > > ------------------------------------------------------ > Let me know if there's anything else you need. > > Thanks, > -Glynn >
Yeah, we've seen this sort of thing historically with ATLAS when a new CPU comes out. Unfortunately, we've lost email contact with the person who is our nominal maintainer for the package, so an official update is going to be delayed. There are a couple of options: 1) Maybe try a different Octave variant for the time being? The bare "octave" package has BLAS/LAPACK support from the built-in Accelerate.framework, and supposedly BLAS/LAPACK do work correctly on 10.9. Alternately, the octave-ref variant uses an unoptimized BLAS/LAPACK, which ought not to care about your CPU. 2) Try a newer version of ATLAS locally. At minimum, this would involve editing /sw/fink/10.9/stable/main/finkinfo/sci/atlas.info and changing "3.10.1" in the Version and elsewhere to a newer version, such as 3.11.26 -- the newest unstable version from http://sourceforge.net/projects/math-atlas/files/Developer%20%28unstable%29/ . You would also need to change the Source-MD5 to correspond to the checksum for the source archive you're working with. I might also suggest changing the Source2 to point to lapack-3.5.0.tgz and to update the Source2-MD5, and also update other instances of "3.4.2". -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners