scotch%intel: remove restrict (#7148)

The restrict compilation option with icc causes deadlock when multithreading is used. This issue has already been reported to the Scotch development team, but for current versions it is more reliable not to use the restrict compilation option.
This commit is contained in:
lpoirel 2018-03-21 20:22:50 +01:00 committed by Adam J. Stewart
parent 935cc30c17
commit 9d2fce4544

View file

@ -159,7 +159,7 @@ def configure(self):
if self.compiler.name == 'gcc':
cflags.append('-Drestrict=__restrict')
elif self.compiler.name == 'intel':
cflags.append('-restrict')
cflags.append('-Drestrict=')
mpicc_path = self.spec['mpi'].mpicc if '+mpi' in self.spec else 'mpicc'
makefile_inc.append('CCS = $(CC)')