Opened 9 years ago

Closed 9 years ago

#48381 closed defect (fixed)

OpenBlas: difficulty detecting architecture

Reported by: aaron.koe@… Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: petrrr, anowacki (Andy Nowacki)
Port: openblas

Description

AARONs-MBP:~ Aaron$ sudo port clean OpenBLAS
--->  Cleaning OpenBLAS
AARONs-MBP:~ Aaron$ sudo port install OpenBLAS
--->  Computing dependencies for OpenBLAS
--->  Fetching distfiles for OpenBLAS
--->  Verifying checksums for OpenBLAS
--->  Extracting OpenBLAS
--->  Applying patches to OpenBLAS
--->  Configuring OpenBLAS
--->  Building OpenBLAS
Error: org.macports.build for port OpenBLAS returned: command execution failed
Please see the log file for port OpenBLAS for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port OpenBLAS failed

Part of the log file:

:info:build Makefile:131: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail..  Stop.
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.2.14'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.2.14" && /usr/bin/make -j4 -w all AR=/usr/bin/ar RANLIB=/usr/bin/ranlib 
:info:build Exit code: 2
:error:build org.macports.build for port OpenBLAS returned: command execution failed
:debug:build Error code: CHILDSTATUS 8305 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for OpenBLAS: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port OpenBLAS for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/main.log
 

Thank you in advance

Attachments (1)

mul.f90 (717 bytes) - added by anowacki (Andy Nowacki) 9 years ago.
Test matrix multiplication program, designed to test BLAS performance.

Download all attachments as: .zip

Change History (15)

comment:1 Changed 9 years ago by dbevans (David B. Evans)

Owner: changed from macports-tickets@… to nicos@…
Port: openblas added

When submitting tickets please CC the maintainer and put the port name in the port field of the ticket.

$ port info --maintainer openblas
maintainer: nicos@macports.org

Last edited 9 years ago by dbevans (David B. Evans) (previous) (diff)

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Please attach the entire main.log file.

comment:3 in reply to:  2 Changed 9 years ago by aaron.koe@…

Replying to ryandesign@…:

Please attach the entire main.log file.

version:1
:debug:main epoch: in tree: 1 installed: 1
:debug:main dragonegg-3.4-gcc-4.8 3.4_9 exists in the ports tree
:debug:main dragonegg-3.4-gcc-4.8 3.4_9  is the latest installed
:debug:main dragonegg-3.4-gcc-4.8 3.4_9  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/dragonegg-3.4
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main Sourcing PortGroup select 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/select-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! dragonegg-3.4-gcc-4.8 3.4_9 >= dragonegg-3.4-gcc-4.8 3.4_9
:debug:main epoch: in tree: 1 installed: 1
:debug:main llvm-3.4 3.4.2_7 exists in the ports tree
:debug:main llvm-3.4 3.4.2_7  is the latest installed
:debug:main llvm-3.4 3.4.2_7  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.4
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main Sourcing PortGroup select 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/select-1.0.tcl
:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
:debug:main compiler gcc-4.2 blacklisted because it's not installed or it doesn't work
:debug:main compiler clang 700.0.53 not blacklisted because it doesn't match {clang < 421}
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! llvm-3.4 3.4.2_7 >= llvm-3.4 3.4.2_7
:debug:main epoch: in tree: 0 installed: 0
:debug:main libffi 3.2.1_0 exists in the ports tree
:debug:main libffi 3.2.1_0  is the latest installed
:debug:main libffi 3.2.1_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/libffi
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! libffi 3.2.1_0 >= libffi 3.2.1_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main ncurses 5.9_2 exists in the ports tree
:debug:main ncurses 5.9_2  is the latest installed
:debug:main ncurses 5.9_2  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/ncurses
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! ncurses 5.9_2 >= ncurses 5.9_2
:debug:main epoch: in tree: 0 installed: 0
:debug:main zlib 1.2.8_0 exists in the ports tree
:debug:main zlib 1.2.8_0  is the latest installed
:debug:main zlib 1.2.8_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/zlib
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main Sourcing PortGroup xcodeversion 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! zlib 1.2.8_0 >= zlib 1.2.8_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main perl5 5.16.3_0 exists in the ports tree
:debug:main perl5 5.16.3_0 +perl5_16 is the latest installed
:debug:main perl5 5.16.3_0 +perl5_16 is active
:debug:main Merging existing variants '+perl5_16' into variants
:debug:main new fully merged portvariants: perl5_16 +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/perl5
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main Executing variant perl5_16 provides perl5_16
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! perl5 5.16.3_0 >= perl5 5.16.3_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main perl5.16 5.16.3_1 exists in the ports tree
:debug:main perl5.16 5.16.3_1  is the latest installed
:debug:main perl5.16 5.16.3_1  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/perl5.16
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! perl5.16 5.16.3_1 >= perl5.16 5.16.3_1
:debug:main epoch: in tree: 0 installed: 0
:debug:main gdbm 1.11_1 exists in the ports tree
:debug:main gdbm 1.11_1  is the latest installed
:debug:main gdbm 1.11_1  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/gdbm
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! gdbm 1.11_1 >= gdbm 1.11_1
:debug:main epoch: in tree: 2 installed: 2
:debug:main gettext 0.19.4_0 exists in the ports tree
:debug:main gettext 0.19.4_0  is the latest installed
:debug:main gettext 0.19.4_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gettext
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main compiler clang 700.0.53 not blacklisted because it doesn't match {clang < 211.10.1}
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! gettext 0.19.4_0 >= gettext 0.19.4_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main expat 2.1.0_0 exists in the ports tree
:debug:main expat 2.1.0_0  is the latest installed
:debug:main expat 2.1.0_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/expat
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! expat 2.1.0_0 >= expat 2.1.0_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libiconv 1.14_0 exists in the ports tree
:debug:main libiconv 1.14_0  is the latest installed
:debug:main libiconv 1.14_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libiconv
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! libiconv 1.14_0 >= libiconv 1.14_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main llvm_select 1.0_0 exists in the ports tree
:debug:main llvm_select 1.0_0  is the latest installed
:debug:main llvm_select 1.0_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/sysutils/llvm_select
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main Sourcing PortGroup select 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/select-1.0.tcl
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! llvm_select 1.0_0 >= llvm_select 1.0_0
:debug:main epoch: in tree: 2 installed: 2
:debug:main gcc48 4.8.5_0 exists in the ports tree
:debug:main gcc48 4.8.5_0  is the latest installed
:debug:main gcc48 4.8.5_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/gcc48
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main Sourcing PortGroup select 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/select-1.0.tcl
:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
:debug:main compiler llvm-gcc-4.2 blacklisted because it's not installed or it doesn't work
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! gcc48 4.8.5_0 >= gcc48 4.8.5_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main cctools 862_1 exists in the ports tree
:debug:main cctools 862_1 +llvm35 is the latest installed
:debug:main cctools 862_1 +llvm35 is active
:debug:main Merging existing variants '+llvm35' into variants
:debug:main new fully merged portvariants: llvm35 +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/cctools
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Executing variant llvm35 provides llvm35
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! cctools 862_1 >= cctools 862_1
:debug:main epoch: in tree: 1 installed: 1
:debug:main llvm-3.5 3.5.2_4 exists in the ports tree
:debug:main llvm-3.5 3.5.2_4  is the latest installed
:debug:main llvm-3.5 3.5.2_4  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/llvm-3.5
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main Sourcing PortGroup select 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/select-1.0.tcl
:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
:debug:main compiler clang 700.0.53 not blacklisted because it doesn't match {clang < 425.0.24}
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! llvm-3.5 3.5.2_4 >= llvm-3.5 3.5.2_4
:debug:main epoch: in tree: 20090923 installed: 20090923
:debug:main libedit 20140620-3.1_0 exists in the ports tree
:debug:main libedit 20140620-3.1_0  is the latest installed
:debug:main libedit 20140620-3.1_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/libedit
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! libedit 20140620-3.1_0 >= libedit 20140620-3.1_0
:debug:main epoch: in tree: 1 installed: 1
:debug:main libcxx 3.6.0_0 exists in the ports tree
:debug:main libcxx 3.6.0_0  is the latest installed
:debug:main libcxx 3.6.0_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/libcxx
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! libcxx 3.6.0_0 >= libcxx 3.6.0_0
:debug:main epoch: in tree: 1 installed: 1
:debug:main cloog 0.18.3_0 exists in the ports tree
:debug:main cloog 0.18.3_0  is the latest installed
:debug:main cloog 0.18.3_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/cloog
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! cloog 0.18.3_0 >= cloog 0.18.3_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main gmp 6.0.0_1 exists in the ports tree
:debug:main gmp 6.0.0_1  is the latest installed
:debug:main gmp 6.0.0_1  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gmp
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! gmp 6.0.0_1 >= gmp 6.0.0_1
:debug:main epoch: in tree: 2 installed: 2
:debug:main isl 0.14.1_0 exists in the ports tree
:debug:main isl 0.14.1_0  is the latest installed
:debug:main isl 0.14.1_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/isl
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! isl 0.14.1_0 >= isl 0.14.1_0
:debug:main epoch: in tree: 2 installed: 2
:debug:main ld64 2_0 exists in the ports tree
:debug:main ld64 2_0  is the latest installed
:debug:main ld64 2_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/ld64
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! ld64 2_0 >= ld64 2_0
:debug:main epoch: in tree: 2 installed: 2
:debug:main ld64-latest 241.9_0 exists in the ports tree
:debug:main ld64-latest 241.9_0 +llvm35 is the latest installed
:debug:main ld64-latest 241.9_0 +llvm35 is active
:debug:main Merging existing variants '+llvm35' into variants
:debug:main new fully merged portvariants: llvm35 +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/ld64
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
:debug:main compiler clang 700.0.53 not blacklisted because it doesn't match {clang < 100}
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Executing variant llvm35 provides llvm35
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! ld64-latest 241.9_0 >= ld64-latest 241.9_0
:debug:main epoch: in tree: 2 installed: 2
:debug:main libgcc 5.1.0_1 exists in the ports tree
:debug:main libgcc 5.1.0_1  is the latest installed
:debug:main libgcc 5.1.0_1  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/gcc5
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main Sourcing PortGroup select 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/select-1.0.tcl
:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
:debug:main compiler llvm-gcc-4.2 blacklisted because it's not installed or it doesn't work
:debug:main compiler clang 700.0.53 not blacklisted because it doesn't match {clang < 300}
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! libgcc 5.1.0_1 >= libgcc 5.1.0_1
:debug:main epoch: in tree: 0 installed: 0
:debug:main libmpc 1.0.3_0 exists in the ports tree
:debug:main libmpc 1.0.3_0  is the latest installed
:debug:main libmpc 1.0.3_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/libmpc
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! libmpc 1.0.3_0 >= libmpc 1.0.3_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main mpfr 3.1.3_0 exists in the ports tree
:debug:main mpfr 3.1.3_0  is the latest installed
:debug:main mpfr 3.1.3_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/mpfr
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
:debug:main compiler clang 700.0.53 not blacklisted because it doesn't match {clang == 211.10.1}
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! mpfr 3.1.3_0 >= mpfr 3.1.3_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main gcc_select 0.1_8 exists in the ports tree
:debug:main gcc_select 0.1_8  is the latest installed
:debug:main gcc_select 0.1_8  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/sysutils/gcc_select
:debug:main OS darwin/14.4.0 (Mac OS X 10.10) arch i386
:debug:main Sourcing PortGroup select 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/select-1.0.tcl
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! gcc_select 0.1_8 >= gcc_select 0.1_8
:msg:main --->  Computing dependencies for OpenBLAS:info:main .:debug:main Checking for conflicts against OpenBLAS
:debug:main Searching for dependency: OpenBLAS-devel
:debug:main Didn't find receipt, going to depspec regex for: OpenBLAS-devel
:debug:main Searching for dependency: dragonegg-3.4-gcc-4.8
:debug:main Found Dependency: receipt exists for dragonegg-3.4-gcc-4.8
:msg:main 
:debug:main Executing org.macports.main (OpenBLAS)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:archivefetch archivefetch phase started at Fri Jul 17 02:37:25 CDT 2015
:debug:archivefetch Executing org.macports.archivefetch (OpenBLAS)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Fri Jul 17 02:37:25 CDT 2015
:notice:fetch --->  Fetching distfiles for OpenBLAS
:debug:fetch Executing org.macports.fetch (OpenBLAS)
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Fri Jul 17 02:37:25 CDT 2015
:notice:checksum --->  Verifying checksums for OpenBLAS
:debug:checksum Executing org.macports.checksum (OpenBLAS)
:info:checksum --->  Checksumming OpenBLAS-0.2.14.tar.gz
:debug:checksum Calculated (rmd160) is b8a5bbcdf1816a061e45aa086a9caa8540a45f6d
:debug:checksum Correct (rmd160) checksum for OpenBLAS-0.2.14.tar.gz
:debug:checksum Calculated (sha256) is aba5088534719cefd77e4155c281c56a3accd3eea218574c2c3d236952bb632b
:debug:checksum Correct (sha256) checksum for OpenBLAS-0.2.14.tar.gz
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Fri Jul 17 02:37:25 CDT 2015
:notice:extract --->  Extracting OpenBLAS
:debug:extract Executing org.macports.extract (OpenBLAS)
:info:extract --->  Extracting OpenBLAS-0.2.14.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/OpenBLAS/OpenBLAS-0.2.14.tar.gz'
:debug:extract Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/OpenBLAS/OpenBLAS-0.2.14.tar.gz' | /usr/bin/tar -xf -'
:debug:extract Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/OpenBLAS/OpenBLAS-0.2.14.tar.gz' | /usr/bin/tar -xf - 
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work to macports
:debug:extract euid/egid changed to: 502/501
:debug:extract Executing proc-post-org.macports.extract-extract-0
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Fri Jul 17 02:37:27 CDT 2015
:debug:patch Executing org.macports.patch (OpenBLAS)
:notice:patch --->  Applying patches to OpenBLAS
:info:patch --->  Applying patch-libnoarch.diff
:debug:patch Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.2.14" && /usr/bin/patch -p0'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.2.14" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/math/OpenBLAS/files/patch-libnoarch.diff'
:info:patch patching file Makefile.system
:info:patch Hunk #1 succeeded at 999 (offset 139 lines).
:info:patch --->  Applying patch-linkLib.diff
:debug:patch Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.2.14" && /usr/bin/patch -p0'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.2.14" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/math/OpenBLAS/files/patch-linkLib.diff'
:info:patch patching file Makefile.install
:info:patch Hunk #1 succeeded at 82 (offset 3 lines).
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Fri Jul 17 02:37:27 CDT 2015
:notice:configure --->  Configuring OpenBLAS
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing org.macports.configure (OpenBLAS)
:debug:configure Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Fri Jul 17 02:37:27 CDT 2015
:notice:build --->  Building OpenBLAS
:debug:build Executing proc-pre-org.macports.build-build-0
:debug:build Executing org.macports.build (OpenBLAS)
:debug:build Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.10'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.2.14" && /usr/bin/make -j4 -w all AR=/usr/bin/ar RANLIB=/usr/bin/ranlib'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.2.14" && /usr/bin/make -j4 -w all AR=/usr/bin/ar RANLIB=/usr/bin/ranlib 
:info:build warning: format specifies type 'int' but the argument has type '<dependent type>' [-Wformat]
:info:build getarch_2nd.c:12:35: error: use of undeclared identifier 'SGEMM_DEFAULT_UNROLL_M'
:info:build     printf("SGEMM_UNROLL_M=%d\n", SGEMM_DEFAULT_UNROLL_M);
:info:build                                   ^
:info:build warning: format specifies type 'int' but the argument has type '<dependent type>' [-Wformat]
:info:build getarch_2nd.c:13:35: error: use of undeclared identifier 'SGEMM_DEFAULT_UNROLL_N'
:info:build     printf("SGEMM_UNROLL_N=%d\n", SGEMM_DEFAULT_UNROLL_N);
:info:build                                   ^
:info:build warning: format specifies type 'int' but the argument has type '<dependent type>' [-Wformat]
:info:build getarch_2nd.c:14:35: error: use of undeclared identifier 'DGEMM_DEFAULT_UNROLL_M'
:info:build     printf("DGEMM_UNROLL_M=%d\n", DGEMM_DEFAULT_UNROLL_M);
:info:build                                   ^
:info:build warning: format specifies type 'int' but the argument has type '<dependent type>' [-Wformat]
:info:build getarch_2nd.c:15:35: error: use of undeclared identifier 'DGEMM_DEFAULT_UNROLL_N'
:info:build     printf("DGEMM_UNROLL_N=%d\n", DGEMM_DEFAULT_UNROLL_N);
:info:build                                   ^
:info:build warning: format specifies type 'int' but the argument has type '<dependent type>' [-Wformat]
:info:build getarch_2nd.c:19:35: error: use of undeclared identifier 'CGEMM_DEFAULT_UNROLL_M'
:info:build     printf("CGEMM_UNROLL_M=%d\n", CGEMM_DEFAULT_UNROLL_M);
:info:build                                   ^
:info:build warning: format specifies type 'int' but the argument has type '<dependent type>' [-Wformat]
:info:build getarch_2nd.c:20:35: error: use of undeclared identifier 'CGEMM_DEFAULT_UNROLL_N'
:info:build     printf("CGEMM_UNROLL_N=%d\n", CGEMM_DEFAULT_UNROLL_N);
:info:build                                   ^
:info:build warning: format specifies type 'int' but the argument has type '<dependent type>' [-Wformat]
:info:build getarch_2nd.c:21:35: error: use of undeclared identifier 'ZGEMM_DEFAULT_UNROLL_M'
:info:build     printf("ZGEMM_UNROLL_M=%d\n", ZGEMM_DEFAULT_UNROLL_M);
:info:build                                   ^
:info:build warning: format specifies type 'int' but the argument has type '<dependent type>' [-Wformat]
:info:build getarch_2nd.c:22:35: error: use of undeclared identifier 'ZGEMM_DEFAULT_UNROLL_N'
:info:build     printf("ZGEMM_UNROLL_N=%d\n", ZGEMM_DEFAULT_UNROLL_N);
:info:build                                   ^
:info:build warning: format specifies type 'int' but the argument has type '<dependent type>' [-Wformat]
:info:build getarch_2nd.c:29:37: error: use of undeclared identifier 'SGEMM_DEFAULT_UNROLL_M'
:info:build     printf("CGEMM3M_UNROLL_M=%d\n", SGEMM_DEFAULT_UNROLL_M);
:info:build                                     ^
:info:build warning: format specifies type 'int' but the argument has type '<dependent type>' [-Wformat]
:info:build getarch_2nd.c:35:37: error: use of undeclared identifier 'SGEMM_DEFAULT_UNROLL_N'
:info:build     printf("CGEMM3M_UNROLL_N=%d\n", SGEMM_DEFAULT_UNROLL_N);
:info:build                                     ^
:info:build warning: format specifies type 'int' but the argument has type '<dependent type>' [-Wformat]
:info:build getarch_2nd.c:41:37: error: use of undeclared identifier 'DGEMM_DEFAULT_UNROLL_M'
:info:build     printf("ZGEMM3M_UNROLL_M=%d\n", DGEMM_DEFAULT_UNROLL_M);
:info:build                                     ^
:info:build warning: format specifies type 'int' but the argument has type '<dependent type>' [-Wformat]
:info:build getarch_2nd.c:47:37: error: use of undeclared identifier 'DGEMM_DEFAULT_UNROLL_N'
:info:build     printf("ZGEMM3M_UNROLL_N=%d\n", DGEMM_DEFAULT_UNROLL_N);
:info:build                                     ^
:info:build getarch_2nd.c:67:50: error: use of undeclared identifier 'SGEMM_DEFAULT_Q'
:info:build     printf("#define SLOCAL_BUFFER_SIZE\t%ld\n", (SGEMM_DEFAULT_Q * SGEMM_DEFAULT_UNROLL_N * 4 * 1 *  sizeof(float)));
:info:build                                                  ^
:info:build getarch_2nd.c:67:68: error: use of undeclared identifier 'SGEMM_DEFAULT_UNROLL_N'
:info:build     printf("#define SLOCAL_BUFFER_SIZE\t%ld\n", (SGEMM_DEFAULT_Q * SGEMM_DEFAULT_UNROLL_N * 4 * 1 *  sizeof(float)));
:info:build                                                                    ^
:info:build getarch_2nd.c:68:50: error: use of undeclared identifier 'DGEMM_DEFAULT_Q'
:info:build     printf("#define DLOCAL_BUFFER_SIZE\t%ld\n", (DGEMM_DEFAULT_Q * DGEMM_DEFAULT_UNROLL_N * 2 * 1 *  sizeof(double)));
:info:build                                                  ^
:info:build getarch_2nd.c:68:68: error: use of undeclared identifier 'DGEMM_DEFAULT_UNROLL_N'
:info:build     printf("#define DLOCAL_BUFFER_SIZE\t%ld\n", (DGEMM_DEFAULT_Q * DGEMM_DEFAULT_UNROLL_N * 2 * 1 *  sizeof(double)));
:info:build                                                                    ^
:info:build getarch_2nd.c:69:50: error: use of undeclared identifier 'CGEMM_DEFAULT_Q'
:info:build     printf("#define CLOCAL_BUFFER_SIZE\t%ld\n", (CGEMM_DEFAULT_Q * CGEMM_DEFAULT_UNROLL_N * 4 * 2 *  sizeof(float)));
:info:build                                                  ^
:info:build getarch_2nd.c:69:68: error: use of undeclared identifier 'CGEMM_DEFAULT_UNROLL_N'
:info:build     printf("#define CLOCAL_BUFFER_SIZE\t%ld\n", (CGEMM_DEFAULT_Q * CGEMM_DEFAULT_UNROLL_N * 4 * 2 *  sizeof(float)));
:info:build                                                                    ^
:info:build getarch_2nd.c:70:50: error: use of undeclared identifier 'ZGEMM_DEFAULT_Q'
:info:build     printf("#define ZLOCAL_BUFFER_SIZE\t%ld\n", (ZGEMM_DEFAULT_Q * ZGEMM_DEFAULT_UNROLL_N * 2 * 2 *  sizeof(double)));
:info:build                                                  ^
:info:build fatal error: too many errors emitted, stopping now [-ferror-limit=]
:info:build 12 warnings and 20 errors generated.
:info:build make: *** [getarch_2nd] Error 1
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.2.14'
:info:build Makefile:131: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail..  Stop.
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.2.14'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.2.14" && /usr/bin/make -j4 -w all AR=/usr/bin/ar RANLIB=/usr/bin/ranlib 
:info:build Exit code: 2
:error:build org.macports.build for port OpenBLAS returned: command execution failed
:debug:build Error code: CHILDSTATUS 13977 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for OpenBLAS: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port OpenBLAS for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_OpenBLAS/OpenBLAS/main.log

comment:4 Changed 9 years ago by NicosPavlov

Sorry for the late answer, but I am a little bit puzzled by this error, as it announces undefined symbols, which should be included in param.h, located in the same path as the code. Would have by any chance a special architecture, or a very new machine?

What happens if you try to compile this code by itself, by going to the path where the code is, and running

make getarch_2nd

?

comment:5 Changed 9 years ago by anowacki (Andy Nowacki)

(I filed a duplicate bug at ticket #48507 before spotting this issue.)

Nicos, I think your assessment is correct. I have the same behaviour when building on a MacBookPro12,1 (early 2015 MacBook Pro 13") which has an Intel Core i5-5287U processor, 'Broadwell-U'. I note that param.h has default values defined for codes up to Haswell (param.h:1193), but nothing newer. For some reason, getarch.c does not define a name for the processor in this machine other than 'INTEL_UNKNOWN', which means param.h defines no values, as is evident. (I don't think the 'CORE=UNKOWN' spelling mistake has a detrimental effect here.)

On a MacPro6,1 (late 2013 Mac Pro), with an Intel Xeon E5-1650v2, 'Ivy Bridge EP', getarch_2nd.c in OpenBLAS (as part of the julia port) compiled with no problem.

Running getarch in the build directory on the two machines, the output is:

$ ### MacBook Pro output: ###
$ for i in {0..2}; do ./getarch $i; done
CORE=UNKOWN
LIBCORE=unknown
-- snip --
#define INTEL_UNKNOWN
-- snip --
#define NUM_CORES 1
#define CHAR_CORENAME "UNKOWN"
SMP=1
### Mac Pro output ###
CORE=SANDYBRIDGE
LIBCORE=sandybridge
-- snip --
#define SANDYBRIDGE
-- snip --
#define NUM_CORES 1
#define CORE_SANDYBRIDGE
#define CHAR_CORENAME "SANDYBRIDGE"
SMP=1

I checked upstream (https://github.com/xianyi/OpenBLAS) and they seem to have fixed this on April 2 with the following commit:

commit 8977b3f2357c6dcc1e93812a0bf902d0aa37da65
Author: Zhang Xianyi <traits.zhang@gmail.com>
Date:   Thu Apr 2 11:08:03 2015 -0500

    Refs #529. Support Intel Broadwell by Haswell kernels.

 cpuid_x86.c             | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 driver/others/dynamic.c | 29 +++++++++++++++++++++++++
 2 files changed, 99 insertions(+)

However, this has not yet been merged into a tagged release or master.

comment:6 Changed 9 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:7 Changed 9 years ago by petrrr

Cc: andy.nowacki@… added

I CC reporter of #48507.

comment:8 Changed 9 years ago by NicosPavlov

Summary: Difficulty installing OpenBlasOpenBlas: difficulty detecting architecture

So the ticket indeed mainly seems to be a problem of architecture detection, then. This means that an easy workaround would be to use OpenBLAS-devel instead, which is following the latest changes on the develop branch of the git repository, where the changes have been committed.

I also tried to update the OpenBLAS port by adding a patch to include the changes to recognise the broadwell chips in r139234. Please let me know if this solves the issue, as I did not detect this one, being with a Haswell chip.

comment:9 Changed 9 years ago by anowacki (Andy Nowacki)

I can confirm that the patched port of OpenBLAS builds and a test program runs successfully after r139234. However, I guess the patch added might be having an unexpected effect when added to the 0.2.14 release. It seems to incorrectly identify the machine as having a Nehalem processor, not Broadwell:

$ /opt/local/var/macports/build/_Users_user_macports_trunk_dports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.2.14/getarch 0
CORE=NEHALEM
LIBCORE=nehalem
-- snip --
$ /opt/local/var/macports/build/_Users_user_macports_trunk_dports_math_OpenBLAS/OpenBLAS/work/OpenBLAS-0.2.14/getarch 1
#define NEHALEM
-- snip --
#define CORE_NEHALEM
#define CHAR_CORENAME "NEHALEM"

The same command on the OpenBLAS-devel branch gives the following output:

$ ./getarch 0
CORE=HASWELL
LIBCORE=haswell
--snip --
$ ./getarch 1
#define HASWELL
#define L2_SIZE 262144
-- snip --
#define CORE_HASWELL
#define CHAR_CORENAME "HASWELL"

The major difference is that the devel branch defines HAVE_FMA3.

A test program (mul.f90, attached) runs faster using the devel branch than the 0.2.14 release port, which leads me to think that the misidentification of the Broadwell processor in the MacBook Pro is responsible.

$ ### Link to OpenBLAS at git commit bb6e050509dc9aeb71f525b42444df57df2589d4 built at /tmp/OpenBLAS
$ gfortran -L/tmp/OpenBLAS/lib -lopenblas -fexternal-blas -fblas-matmul-limit=1 -o /tmp/a.out /tmp/mul.f90 && time /tmp/a.out 5000

real	0m4.423s
user	0m7.901s
sys	0m0.485s

$ ### Link to MacPorts OpenBLAS @0.2.14_2 +gcc48
$ gfortran -L/opt/local/lib -lopenblas -fexternal-blas -fblas-matmul-limit=1 -o /tmp/a.out /tmp/mul.f90 && time /tmp/a.out 5000

real	0m10.685s
user	0m20.366s
sys	0m0.492s

(Note that the numbers using -framework Accelerate for Apple's BLAS are very similar to OpenBLAS-devel.)

Sorry to be the bearer of bad news.

Changed 9 years ago by anowacki (Andy Nowacki)

Attachment: mul.f90 added

Test matrix multiplication program, designed to test BLAS performance.

comment:10 Changed 9 years ago by NicosPavlov

Thanks for the detailed feedback.

It is not so bad, then. It means that the latest OpenBLAS-devel can handle the newest processors, giving a good workaround, and the release 0.2.14 can at least build, even if it is not optimal as it does not handle the broadwell CPUs. I will eventually look for the additional patches required from the git repository to properly handle the newest CPUs, but that is a good start.

comment:11 Changed 9 years ago by anowacki (Andy Nowacki)

Just to clarify, I was building the latest develop branch of the OpenBLAS from GitHub. (My apologies for not being very clear, as I now see when re-reading.)

I have just tested the OpenBLAS-devel @20150807 port, and that has the same issue as the patched OpenBLAS @0.2.14_2 I'm afraid. The timings are the same as for @0.2.14_2, and it similary misidentifies the CPU as Nehalem (i.e., the output from getarch is identical). But, as you say, it does work, so the issue is partly resolved.

comment:12 Changed 9 years ago by anowacki (Andy Nowacki)

In fact, things are working as per the port file. The portfile contains:

    if { ![catch {sysctl hw.optional.avx1_0} has_avx] && $has_avx == 1 } {
        #Use clang if the processor has avx instructions
        default_variants +clang       
    } else {
        #Else, use gcc48 as default
        default_variants +gcc48
    }

And then, if the variant is not clang, we do the following:

        if {![variant_isset clang]} {
            puts $makeINC "NO_AVX = 1"
        }

(Note that sysctl hw.optional.avx1_0 outputs 1 on my machine.)

Because I have been using the +gcc48 variant (mainly just to avoid having to add dragonegg to my list of ports), the line NO_AVX = 1 is added to the Makefile.rule file, and it is this which leads to CORE=NEHALEM from getarch. If this is intended behaviour, probably something should be added to the information about the port to this effect.

Building with gcc, not clang, doesn't appear to lead to any build problems when using AVX instructions, and these give a big boost to speed. I wonder what the reason was to require (i) that gcc is needed for machines without AVX; and (ii) whether choosing a gcc?? variant should preclude using AVX instructions. Perhaps the latter situation was an unintended side-effect? Apologies if there are deeper causes I am missing.

I think this means OpenBLAS @0.2.12_2 is actually fixed, but perhaps both ports need their portfile tweaking?

comment:13 Changed 9 years ago by anowacki (Andy Nowacki)

Final comment. I now realise what led to this (https://github.com/xianyi/OpenBLAS/issues/349), and my success building with gcc was because my environment was being polluted when building it myself. Apologies for all the noise--things work fine for me, given this knowledge. Thanks for your help.

comment:14 Changed 9 years ago by NicosPavlov

Resolution: fixed
Status: newclosed

Yes, the fact of disabling AVX instructions is because only clang compiler can handle these ones, and the build fails with gcc compilers. However, you are right that there should be a warning message to let know the user of the consequences of the choice of compiler. This has been added in r139389.

I assume that the patch that was added from this ticket is still useful to detect certain architectures, and will be kept. Apart from that, as the situation seems resolved, I'll close the ticket.

Note: See TracTickets for help on using tickets.