[gmx-users] avx2 with gcc 4.8.3

Roland Schulz roland at utk.edu
Tue Dec 16 01:03:23 CET 2014


Hi,

CMakeFiles/CMakeError.log should show why cmake thinks your gcc doesn't
support -mavx2.

Roland

On Mon, Dec 15, 2014 at 9:18 AM, Harry Mark Greenblatt <
harry.greenblatt at weizmann.ac.il> wrote:
>
> BS"D
>
> Dear Mark,
>
>   Here is where it fails:
>
> -- Try C++ compiler AVX2 flag = [-mavx2]
> -- Performing Test CXX_FLAG_mavx2
> -- Performing Test CXX_FLAG_mavx2 - Success
> -- Performing Test CXX_SIMD_COMPILES_FLAG_mavx2
> -- Performing Test CXX_SIMD_COMPILES_FLAG_mavx2 - Failed
> -- Try C++ compiler AVX2 flag = [/arch:AVX]
> -- Performing Test CXX_FLAG_arch_AVX
> -- Performing Test CXX_FLAG_arch_AVX - Failed
> -- Try C++ compiler AVX2 flag = [-hgnu]
> -- Performing Test CXX_FLAG_hgnu
> -- Performing Test CXX_FLAG_hgnu - Failed
> -- Try C++ compiler AVX2 flag = []
> -- Performing Test CXX_FLAG_
> -- Performing Test CXX_FLAG_ - Success
> -- Performing Test CXX_SIMD_COMPILES_FLAG_
> -- Performing Test CXX_SIMD_COMPILES_FLAG_ - Failed
> CMake Error at cmake/gmxTestSimd.cmake:244 (message):
>   Cannot find AVX2 compiler flag.  Use a newer compiler, or choose AVX SIMD
>   (slower).
> Call Stack (most recent call first):
>   CMakeLists.txt:716 (gmx_test_simd)
>
>
>
> Well, which ones fail? Inspecting the compiler output (e.g. using cmake
> --debug-trycompile and poking around it its output) is probably the only
> way to find that problem.
>
> Mark
>
>
>
>
> -------------------------------------------------------------------------
>
> Harry M. Greenblatt
>
> Associate Staff Scientist
>
> Dept of Structural Biology
>
> Weizmann Institute of Science        Phone:  972-8-934-3625
>
> 234 Herzl St.                        Facsimile:   972-8-934-4159
>
> Rehovot, 76100
>
> Israel
>
>
> Harry.Greenblatt at weizmann.ac.il<mailto:Harry.Greenblatt at weizmann.ac.il>
>
>
>
>
>
>
>
> --
> Gromacs Users mailing list
>
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before
> posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or
> send a mail to gmx-users-request at gromacs.org.
>


-- 
ORNL/UT Center for Molecular Biophysics cmb.ornl.gov
865-241-1537, ORNL PO BOX 2008 MS6309


More information about the gromacs.org_gmx-users mailing list