Merge release-2019 into release-2020
authorRoland Schulz <roland.schulz@intel.com>
Tue, 7 Jan 2020 21:43:32 +0000 (13:43 -0800)
committerPaul Bauer <paul.bauer.q@gmail.com>
Wed, 8 Jan 2020 07:18:39 +0000 (08:18 +0100)
Change-Id: I34a795ad1fdc805d056401932f8c543ed77cfae7

1  2 
src/gromacs/pulling/pullutil.cpp

index 87589994f0129a56478ff3d2b69932b32a498c0f,ad33117e18f20f577a320c80c9cb1dd3bab55635..92dc7ef24ce035306b5ede508f06ab6834ac8613
@@@ -517,16 -526,19 +517,21 @@@ static void sum_com_part_cosweight(cons
  }
  
  /* calculates center of mass of selection index from all coordinates x */
 -#if defined(__INTEL_COMPILER) && ((__INTEL_COMPILER == 1900 && __INTEL_COMPILER_UPDATE >= 5) || __INTEL_COMPILER >= 1910)
 -#pragma intel optimization_level 2
+ // Compiler segfault with 2019_update_5 and 2020_initial
 -void pull_calc_coms(const t_commrec *cr,
 -                    pull_t *pull,
 -                    const t_mdatoms *md,
 -                    t_pbc *pbc,
 -                    double t,
 -                    const rvec x[], rvec *xp)
++#if defined(__INTEL_COMPILER) \
++        && ((__INTEL_COMPILER == 1900 && __INTEL_COMPILER_UPDATE >= 5) || __INTEL_COMPILER >= 1910)
++#    pragma intel optimization_level 2
+ #endif
 +void pull_calc_coms(const t_commrec* cr,
 +                    pull_t*          pull,
 +                    const t_mdatoms* md,
 +                    t_pbc*           pbc,
 +                    double           t,
 +                    const rvec       x[],
 +                    rvec*            xp)
  {
      real         twopi_box = 0;
 -    pull_comm_t *comm;
 +    pull_comm_tcomm;
  
      comm = &pull->comm;