Better optimized ICC release flags
commit5099eeb6f605f68d8442ea1c69c85e24576cd150
authorRoland Schulz <roland.schulz@intel.com>
Fri, 16 Sep 2016 01:14:49 +0000 (15 18:14 -0700)
committerErik Lindahl <erik.lindahl@gmail.com>
Sun, 18 Sep 2016 14:32:33 +0000 (18 16:32 +0200)
treec3cb3c0a8fa94836a01057fc9ccffd5d2be6b73a
parentca19a19ffb2f50d1ab280fef2dc4179d1abbfdc8
Better optimized ICC release flags

Add those flags included in -fast which both helps performance
and are appropriate for GROMACS.

The flags included in -fast for Linux we weren't using were:
-ipo, -no-prec-div, -static, -fimf-domain-exclusion=15

Full static depends on static libraries to be installed and thus
will not always work. IPO increases compile time by a huge factor.
We do require that extreme values (e.g. large negative arguments
to exp and large positive to erfc) are computed correctly.

This leaves -no-prec-div -fimf-domain-exclusion=14 -static-intel
as safe and useful flags for GROMACS.

Change-Id: Ifbee69431841e3051c95f0b4c0ad204aac965c4e
cmake/gmxCFlags.cmake