Opened 11 years ago

Closed 11 years ago

#38836 closed defect (fixed)

atlas: build fails very quickly

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: mojca (Mojca Miklavec)
Port: atlas

Description

Previously atlas would build for hours before failing; now it fails within 20 seconds. I tried the +mpclang32 and +mpclang33 variants with the same result; here's the log of the +mpclang33 variant.

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


BEGIN STAGE 1-0-0: SYSTEM PROBE/AUX COMPILE at 13:05
make[1]: *** [build] Error 255

Attachments (4)

main.log.bz2 (14.7 KB) - added by ryandesign (Ryan Carsten Schmidt) 11 years ago.
error_Corei264AVX.tar.bz2 (5.9 KB) - added by ryandesign (Ryan Carsten Schmidt) 11 years ago.
main.log.2.bz2 (11.9 KB) - added by ryandesign (Ryan Carsten Schmidt) 11 years ago.
+mpclang32
error_Corei164AVX.tar.bz2 (4.3 KB) - added by ryandesign (Ryan Carsten Schmidt) 11 years ago.
+mpclang32

Download all attachments as: .zip

Change History (12)

Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log.bz2 added

Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: error_Corei264AVX.tar.bz2 added

comment:1 in reply to:  description Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

Error report error_<ARCH>.tgz has been created in your top-level ATLAS
directory.  Be sure to include this file in any help request.

I've attached this file. Note that it was actually called <ARCH>.tar.bz2 not <ARCH>.tgz.

comment:2 Changed 11 years ago by Veence (Vincent)

Resolution: duplicate
Status: newclosed

See #38820. It’s a bug in the current llvm/clang-3.3

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: closedreopened

I get a similar quick failure with the +mpclang32 and +clang variants.

$ time sudo port install atlas +mpclang32 -gcc47 -universal
--->  Computing dependencies for atlas
--->  Fetching distfiles for atlas
Warning: Compiling Atlas with this version of clang is likely *NOT* to work. Please use clang-3.3 or higher.
--->  Verifying checksum(s) for atlas
--->  Extracting atlas
--->  Applying patches to atlas
--->  Configuring atlas
Selected C compiler: /opt/local/bin/clang-mp-3.2
Selected F77 compiler: gfortran47
Warning: AVX support is broken in these versions of clang. Please use clang-3.3 or higher. Downgrading.
--->  Building atlas
Error: org.macports.build for port atlas returned: command execution failed
Please see the log file for port atlas for details:
    /opt/local/var/macports/logs/_Users_rschmidt_macports_dports_math_atlas/atlas/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port atlas failed

real	0m46.807s
user	0m38.318s
sys	0m6.762s

Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log.2.bz2 added

+mpclang32

Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: error_Corei164AVX.tar.bz2 added

+mpclang32

comment:4 Changed 11 years ago by Veence (Vincent)

Well, it could be somehow the same bug, but since there is no vectorizing option with clang-3.2 or clang, it can mainfest itself somewhat differently. Did you try again with clang3.3?

comment:5 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

+mpclang33 is currently building. +mpclang32 still fails.

comment:6 Changed 11 years ago by Veence (Vincent)

Neither clang-mp-3.2 nor clang (at that time) seem to be fit to compile Atlas with AVX acceleration; this is no real surprise to me. I’m going to forbid the use of both compilers on AVX machines – but shall I ‘downgrade’ to gcc (which one?) or make the port fail?

comment:7 Changed 11 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

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

Resolution: fixed
Status: reopenedclosed

I suppose it works now. I close this bug.

Note: See TracTickets for help on using tickets.