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:
parent
935cc30c17
commit
9d2fce4544
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ def configure(self):
|
||||||
if self.compiler.name == 'gcc':
|
if self.compiler.name == 'gcc':
|
||||||
cflags.append('-Drestrict=__restrict')
|
cflags.append('-Drestrict=__restrict')
|
||||||
elif self.compiler.name == 'intel':
|
elif self.compiler.name == 'intel':
|
||||||
cflags.append('-restrict')
|
cflags.append('-Drestrict=')
|
||||||
|
|
||||||
mpicc_path = self.spec['mpi'].mpicc if '+mpi' in self.spec else 'mpicc'
|
mpicc_path = self.spec['mpi'].mpicc if '+mpi' in self.spec else 'mpicc'
|
||||||
makefile_inc.append('CCS = $(CC)')
|
makefile_inc.append('CCS = $(CC)')
|
||||||
|
|
Loading…
Reference in a new issue