Add Cray compiler support
authorDaniel Landau <dlandau@cray.com>
Mon, 24 Mar 2014 16:01:22 +0000 (11:01 -0500)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Wed, 26 Mar 2014 18:37:23 +0000 (19:37 +0100)
commitb1b68dab54cec976df132567ac048d70ad1b56c7
tree4913e0d4b4125f8ce1734fa0030cfded13914370
parent6cd2761a8d6bc411bb5b1f2314160197f374eb7c
Add Cray compiler support

 * Add support for SIMD intstructions with the Cray compiler with
   -hgnu. This is a general GNU compatibility mode so there
   also has to be a guard in the atomics section in threadMPI.
 * Add support for atomics with the Cray compiler.
 * Add Cray compiler support for cycle counting.
 * OpenMP detection for the Cray compiler in CMake before
   version 3.0 is broken, so refuse to proceed with that
   combination.

Change-Id: I1209f3a61ed1d4d49e56dacbb315235088c5eea6
cmake/gmxManageOpenMP.cmake
cmake/gmxTestSimd.cmake
src/gromacs/legacyheaders/thread_mpi/atomic.h
src/gromacs/legacyheaders/thread_mpi/atomic/cce.h [new file with mode: 0644]
src/gromacs/legacyheaders/thread_mpi/atomic/cce_intrinsics.h [new file with mode: 0644]
src/gromacs/legacyheaders/thread_mpi/atomic/cce_spinlock.h [new file with mode: 0644]
src/gromacs/timing/cyclecounter.h