Fix compilation with PGI
authorRoland Schulz <roland@utk.edu>
Fri, 7 Dec 2012 05:26:43 +0000 (21:26 -0800)
committerRoland Schulz <roland@utk.edu>
Sat, 8 Dec 2012 04:54:31 +0000 (20:54 -0800)
commitc0c97dc78fb14719e96c0b9bd73f1c64797fb51e
tree8d572406a19c5b56d0ea9126e580af7471bba084
parent3e0842aad57dceae7fa47d207a5d457da769b203
Fix compilation with PGI

- The GMX_TEST_CFLAG with /ARCH doesn't fail because it isn't
  recognized as flag. Thus it is added and then causes trouble later
  because it is treated as filename.
- Extra { } for omp ordered
- Add warning to not use PGI because it fails the regressiontests
  (12.9 and 12.10) or crashes during the compilation with internal
  compiler errors (12.5, 11.9) (I didn't test more than those
  4 versions).
- I think it is worthwile to fix the first two issues even if PGI
  is not recommended. They could also affect other compilers and
  furture PGI version hopefully don't produce incorrect results.

Change-Id: I6ea24498a6c6712a8ad4b604a0b3c685de1ce0be
CMakeLists.txt
src/mdlib/fft5d.c