Project

General

Profile

Bug #1259

gcc-4.6.1 is buggy for AVX_256

Added by Mark Abraham almost 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Affected version - extra info:
Affected version:
Difficulty:
uncategorized
Close

Description

User reported problem on mailing list with the above combination. SSE4.1 worked on his hardware. Likely http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49002 is to blame, fixed in gcc-4.6.2.

Hopefully Vishar will report back that he succeeded with AVX_256 and a more recent compiler, and we can prevent this build combination.

Associated revisions

Revision 310d6352 (diff)
Added by Mark Abraham almost 3 years ago

Prohibit AVX_256 with buggy gcc 4.6.1

Fixes #1259

Change-Id: I7c523a90ccd0dd8fd3df6cb1914429e22a27ab5d

History

#1 Updated by Mark Abraham almost 4 years ago

  • Target version changed from 4.6.3 to 4.6.x

#2 Updated by Mark Abraham over 3 years ago

  • Status changed from New to Blocked, need info

#3 Updated by Rossen Apostolov almost 3 years ago

  • Subject changed from gcc-4.6.1 probably buggy for AVX_256 to gcc-4.6.1 is buggy for AVX_256
  • Status changed from Blocked, need info to Accepted

I can confirm that indeed gromacs-4.6.5 works with gcc-4.6.2, but fails with 4.6.1:

Gromacs version: VERSION 4.6.5
Precision: single
Memory model: 64 bit
MPI library: thread_mpi
OpenMP support: enabled
GPU support: disabled
invsqrt routine: gmx_software_invsqrt(x)
CPU acceleration: AVX_256
FFT library: fftpack (built-in)
Large file support: enabled
RDTSCP usage: enabled
Built on: Tue May 13 14:13:59 CEST 2014
Built by: [CMAKE]
Build OS/arch: Linux 2.6.32-358.23.2.el6.x86_64 x86_64
Build CPU vendor: GenuineIntel
Build CPU brand: Intel(R) Xeon(R) CPU E3-1285 v3 @ 3.60GHz
Build CPU family: 6 Model: 60 Stepping: 3
Build CPU features: aes apic avx avx2 clfsh cmov cx8 cx16 f16c fma htt lahf_lm mmx msr nonstop_tsc pcid pclmuldq pdcm pdpe1gb popcnt pse rdrnd rdtscp sse2 sse3 sse4.1 sse4.2 ssse3 tdt x2apic
C compiler: /afs/pdc.kth.se/home/r/rossen/vol00/local/gcc-4.6.1/bin/gcc GNU gcc (GCC) 4.6.1
C compiler flags: -mavx -Wextra -Wno-missing-field-initializers -Wno-sign-compare -Wall -Wno-unused -Wunused-value -fomit-frame-pointer -funroll-all-loops -fexcess-precision=fast -O3 -DNDEBUG

#4 Updated by Gerrit Code Review Bot almost 3 years ago

Gerrit received a related patchset '1' for Issue #1259.
Uploader: Mark Abraham ()
Change-Id: I7c523a90ccd0dd8fd3df6cb1914429e22a27ab5d
Gerrit URL: https://gerrit.gromacs.org/3436

#5 Updated by Mark Abraham almost 3 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

#6 Updated by Rossen Apostolov almost 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF