Opened 12 years ago

Closed 12 years ago

#38576 closed defect (duplicate)

Install of atlas fails - ESTIMATING THE NUMBER OF USEABLE REGISTERS FOR GEMM

Reported by: watsodw Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: cooljeanius (Eric Gallager), cmutel (Chris Mutel)
Port: atlas

Description

see log.

Attachments (5)

main.log (7.1 MB) - added by watsodw 12 years ago.
ERROR.LOG (606 bytes) - added by watsodw 12 years ago.
main.2.log (7.1 MB) - added by watsodw 12 years ago.
Stage1.log (37.1 KB) - added by watsodw 12 years ago.
main3.log (8.2 MB) - added by watsodw 12 years ago.

Change History (18)

Changed 12 years ago by watsodw

Attachment: main.log added

comment:1 Changed 12 years ago by cooljeanius (Eric Gallager)

Relevant part of log:

:info:build make[7]: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.1-i386/build/tune/blas/gemm'
:info:build 
:info:build       Read in L1 Cache size as = 32KB.
:info:build ERROR IN COMMAND: make mmcase pre=s loopO=JIK ta=T tb=N mb=80 nb=80 kb=80 lda=80 ldb=80 ldc=0 mu=1 nu=2 ku=80 alpha=1 beta=1 muladd=0 lat=2 cleanup=1 pfA=512 casnam="res/sJIKmmTN80_80x80x80_80x80x0_1x2x80_a1_b1_0x2_1_pf512_cf-1" > /dev/null 2>&1
:info:build    PROPOSED FILENAME: res/sJIKmmTN80_80x80x80_80x80x0_1x2x80_a1_b1_0x2_1_pf512_cf-1
:info:build 
:info:build ESTIMATING THE NUMBER OF USEABLE REGISTERS FOR GEMM:
:info:build make[6]: *** [res/snreg] Error 255
:info:build make[6]: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.1-i386/build/tune/blas/gemm'
:info:build make[5]: *** [res/snreg] Error 2
:info:build make[5]: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.1-i386/build/tune/sysinfo'
:info:build Assertion failed: (system(fnam) == 0), function getmmnreg, file /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.1-i386/build/..//tune/sysinfo/GetSysSum.c, line 136.
:info:build make[4]: *** [/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.1-i386/build/include/atlas_ssysinfo.h] Abort trap
:info:build make[4]: *** Deleting file `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.1-i386/build/include/atlas_ssysinfo.h'
:info:build make[4]: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.1-i386/build/tune/sysinfo'
:info:build make[3]: *** [/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.1-i386/build/include/atlas_ssysinfo.h] Error 2
:info:build make[3]: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.1-i386/build/src/auxil'
:info:build make[2]: *** [IStage1] Error 2
:info:build make[2]: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.1-i386/build/bin'
:info:build ERROR 621 DURING CACHESIZE SEARCH!!.  CHECK INSTALL_LOG/Stage1.log FOR DETAILS.
:info:build make[2]: Entering directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.1-i386/build/bin'
:info:build cd /opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.1-i386/build ; make error_report
:info:build make[3]: Entering directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.1-i386/build'
:info:build make -f Make.top error_report
:info:build make[4]: Entering directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.1-i386/build'
:info:build uname -a 2>&1 >> bin/INSTALL_LOG/ERROR.LOG
:info:build /opt/macports/bin/gcc-mp-4.7 -v 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
:info:build Using built-in specs.
:info:build COLLECT_GCC=/opt/macports/bin/gcc-mp-4.7
:info:build COLLECT_LTO_WRAPPER=/opt/macports/libexec/gcc/x86_64-apple-darwin10/4.7.2/lto-wrapper
:info:build Target: x86_64-apple-darwin10
:info:build Configured with: ../gcc-4.7.2/configure --prefix=/opt/macports --build=x86_64-apple-darwin10 --enable-languages=c,c++,objc,obj-c++,lto,fortran,java --libdir=/opt/macports/lib/gcc47 --includedir=/opt/macports/include/gcc47 --infodir=/opt/macports/share/info --mandir=/opt/macports/share/man --datarootdir=/opt/macports/share/gcc-4.7 --with-libiconv-prefix=/opt/macports --with-local-prefix=/opt/macports --with-system-zlib --disable-nls --program-suffix=-mp-4.7 --with-gxx-include-dir=/opt/macports/include/gcc47/c++/ --with-gmp=/opt/macports --with-mpfr=/opt/macports --with-mpc=/opt/macports --with-ppl=/opt/macports --with-cloog=/opt/macports --enable-cloog-backend=isl --disable-cloog-version-check --enable-stage1-checking --enable-lto --enable-libstdcxx-time --with-as=/opt/macports/bin/as --with-ld=/opt/macports/bin/ld --with-ar=/opt/macports/bin/ar --with-bugurl=https://trac.macports.org/newticket --disable-ppl-version-check --with-pkgversion='MacPorts gcc47 4.7.2_2+universal'
:info:build Thread model: posix
:info:build gcc version 4.7.2 (MacPorts gcc47 4.7.2_2+universal) 
:info:build /opt/macports/bin/gcc-mp-4.7 -V 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
:info:build gcc-mp-4.7: error: unrecognized command line option '-V'
:info:build gcc-mp-4.7: fatal error: no input files
:info:build compilation terminated.
:info:build make[4]: [error_report] Error 1 (ignored)
:info:build /opt/macports/bin/gcc-mp-4.7 --version 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
:info:build tar cf error_CoreDuo32VSX.tar Make.inc bin/INSTALL_LOG/*
:info:build bzip2 error_CoreDuo32VSX.tar
:info:build make[4]: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.1-i386/build'
:info:build make[3]: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.1-i386/build'
:info:build make[2]: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.1-i386/build/bin'
:info:build Error report error_<ARCH>.tgz has been created in your top-level ATLAS
:info:build directory.  Be sure to include this file in any help request.
:info:build cat: ../../CONFIG/error.txt: No such file or directory
:info:build cat: ../../CONFIG/error.txt: No such file or directory
:info:build 
:info:build 
:info:build BEGIN STAGE 1-0-0: SYSTEM PROBE/AUX COMPILE at 11:13
:info:build make[1]: *** [build] Error 255
:info:build make[1]: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.1-i386/build'
:info:build make: *** [build] Error 2
:info:build make: Leaving directory `/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.1-i386/build'
:info:build Command failed:  cd "/opt/macports/var/macports/build/_opt_macports_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.1-i386/build" && /usr/bin/make -w build 
:info:build Exit code: 2
:error:build org.macports.build for port atlas returned: command execution failed

OP, could you post some of your system information? "uname -a" and that sort of thing...

comment:2 Changed 12 years ago by watsodw

"uname -a " returns: Darwin m965611-mac.msfc.nasa.gov 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386

Last edited 12 years ago by watsodw (previous) (diff)

comment:3 Changed 12 years ago by Veence (Vincent)

Well, this is one of isolated cases hard to fix. It might be a bug in the compiler – you could try to use the newest gcc48 instead or maybe clang-3.3.

The culprit is definitely here:

ERROR IN COMMAND: make mmcase pre=s loopO=JIK ta=T tb=N mb=80 nb=80 kb=80 lda=80 ldb=80 ldc=0 mu=1 nu=2 ku=80 alpha=1 beta=1 muladd=0 lat=2 cleanup=1 pfA=512 casnam="res/sJIKmmTN80_80x80x80_80x80x0_1x2x80_a1_b1_0x2_1_pf512_cf-1" > /dev/null 2>&1

But without further information, I can’t guess much. Can you try to located the file ERROR.LOG inside atlas build directory and see what is written inside?

comment:4 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:5 Changed 12 years ago by jmroot (Joshua Root)

Cc: vince@… removed
Owner: changed from macports-tickets@… to vince@…

Changed 12 years ago by watsodw

Attachment: ERROR.LOG added

Changed 12 years ago by watsodw

Attachment: main.2.log added

Changed 12 years ago by watsodw

Attachment: Stage1.log added

comment:6 in reply to:  3 ; Changed 12 years ago by watsodw

Replying to vince@…:

Well, this is one of isolated cases hard to fix. It might be a bug in the compiler – you could try to use the newest gcc48 instead or maybe clang-3.3.

The culprit is definitely here:

ERROR IN COMMAND: make mmcase pre=s loopO=JIK ta=T tb=N mb=80 nb=80 kb=80 lda=80 ldb=80 ldc=0 mu=1 nu=2 ku=80 alpha=1 beta=1 muladd=0 lat=2 cleanup=1 pfA=512 casnam="res/sJIKmmTN80_80x80x80_80x80x0_1x2x80_a1_b1_0x2_1_pf512_cf-1" > /dev/null 2>&1

But without further information, I can’t guess much. Can you try to located the file ERROR.LOG inside atlas build directory and see what is written inside?

I have attached the error.log, stage1.log and a new main.log. i tried again with gcc46 and gcc47, but no luck. I actually got it built with mpclang-3.2, but qrupdate keeps trying to update itself with the gcc46 atlas variant.

comment:7 in reply to:  6 Changed 12 years ago by watsodw

Replying to david.w.watson@…:

Replying to vince@…:

Well, this is one of isolated cases hard to fix. It might be a bug in the compiler – you could try to use the newest gcc48 instead or maybe clang-3.3.

The culprit is definitely here:

ERROR IN COMMAND: make mmcase pre=s loopO=JIK ta=T tb=N mb=80 nb=80 kb=80 lda=80 ldb=80 ldc=0 mu=1 nu=2 ku=80 alpha=1 beta=1 muladd=0 lat=2 cleanup=1 pfA=512 casnam="res/sJIKmmTN80_80x80x80_80x80x0_1x2x80_a1_b1_0x2_1_pf512_cf-1" > /dev/null 2>&1

But without further information, I can’t guess much. Can you try to located the file ERROR.LOG inside atlas build directory and see what is written inside?

I have attached the error.log, stage1.log and a new main.log. i tried again with gcc46 and gcc47, but no luck. I actually got it built with mpclang-3.2, but qrupdate keeps trying to update itself with the gcc46 atlas variant.

I tried again and it looks, from my experience, that the issue is trying to build a universal build. I just successfully built atlas with gcc46, non-universal build.

comment:8 Changed 12 years ago by Veence (Vincent)

I see. There is a -msse4.2 flag inserted in the compiler options while you are compiling for an i386 arch (-m32), which is obviously an explosive mix. This is most certainly a bug in the Portfile that I’ll try to fix as soon as I’m back home Friday. Thanks for posting the extra information!

comment:9 Changed 12 years ago by cmutel (Chris Mutel)

Cc: cmutel@… added

Cc Me!

comment:10 Changed 12 years ago by Veence (Vincent)

Please try again. I have fixed some major bugs in the Portfile, it should now behave correctly while building universal

comment:11 in reply to:  10 Changed 12 years ago by watsodw

Replying to vince@…:

Please try again. I have fixed some major bugs in the Portfile, it should now behave correctly while building universal

Tried again, but fails again, but different reason. See main3.log.

Changed 12 years ago by watsodw

Attachment: main3.log added

comment:12 Changed 12 years ago by Veence (Vincent)

Good. I’ve the same error at the same point, which means that:

  • It is not a bug due to fancy transient stuff;
  • I’ll be able to investigate on my own build.

I’ll have a look tonight.

comment:13 Changed 12 years ago by Veence (Vincent)

Resolution: duplicate
Status: newclosed

This is a dup of #38770 that should be fixed now.

Note: See TracTickets for help on using tickets.