From: Roland Schulz Date: Tue, 29 Jul 2014 23:37:19 +0000 (-0400) Subject: Workaround for ICC 14 X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=9e8061e13f48b1393e251e07eb94165f15ead4af;p=alexxy%2Fgromacs.git Workaround for ICC 14 Problem was only present with BUILD_SHARED_LIBS=no Change-Id: Ieb4377d819aa5eff3d139cdbe55775989118a738 --- diff --git a/src/gromacs/mdlib/perf_est.c b/src/gromacs/mdlib/perf_est.c index def9c5b310..c7382ab1ed 100644 --- a/src/gromacs/mdlib/perf_est.c +++ b/src/gromacs/mdlib/perf_est.c @@ -101,6 +101,9 @@ int n_bonded_dx(gmx_mtop_t *mtop, gmx_bool bExcl) */ ndx = 0; ndx_excl = 0; +#if __ICC == 1400 || __ICL == 1400 +#pragma novector /* Work-around for incorrect vectorization */ +#endif for (mb = 0; mb < mtop->nmolblock; mb++) { molt = &mtop->moltype[mtop->molblock[mb].type];