Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit 19ad3ac

Browse files
authored
Add new compiler specification for targeting KNL. (#94)
Update coreneuron package to remove -xHost
1 parent ae0e5b9 commit 19ad3ac

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

sysconfig/bb5/users/compilers.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,22 @@ compilers:
3838
fc: /gpfs/bbp.cscs.ch/apps/compilers/install/intel-18.0.1/compilers_and_libraries_2018.1.163/linux/bin/intel64/ifort
3939
spec: intel@18.0.1
4040
target: x86_64
41+
- compiler:
42+
environment: {}
43+
extra_rpaths: []
44+
flags:
45+
cflags: -xMIC-AVX512
46+
cxxflags: -xMIC-AVX512
47+
cppflags: -xMIC-AVX512
48+
modules: []
49+
operating_system: rhel7
50+
paths:
51+
cc: /gpfs/bbp.cscs.ch/apps/compilers/install/intel-18.0.1/compilers_and_libraries_2018.1.163/linux/bin/intel64/icc
52+
cxx: /gpfs/bbp.cscs.ch/apps/compilers/install/intel-18.0.1/compilers_and_libraries_2018.1.163/linux/bin/intel64/icpc
53+
f77: /gpfs/bbp.cscs.ch/apps/compilers/install/intel-18.0.1/compilers_and_libraries_2018.1.163/linux/bin/intel64/ifort
54+
fc: /gpfs/bbp.cscs.ch/apps/compilers/install/intel-18.0.1/compilers_and_libraries_2018.1.163/linux/bin/intel64/ifort
55+
spec: intel@18.0.1
56+
target: x86_64_knl
4157
- compiler:
4258
environment: {}
4359
extra_rpaths: []

var/spack/repos/builtin/packages/coreneuron/package.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def get_flags(self):
7979
if 'bgq' in spec.architecture and '%xl' in spec:
8080
flags = '-O3 -qtune=qp -qarch=qp -q64 -qhot=simd -qsmp -qthreaded -g'
8181
if '%intel' in spec:
82-
flags = '-g -xHost -O2 -qopt-report=5'
82+
flags = '-g -O2 -qopt-report=5'
8383
if '+knl' in spec:
8484
flags = '-g -xMIC-AVX512 -O2 -qopt-report=5'
8585
if '+gpu' in spec:

0 commit comments

Comments
 (0)