Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arbor
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
arbor-sim
arbor
Commits
5b297b29
Commit
5b297b29
authored
7 years ago
by
Vasileios Karakasis
Committed by
Sam Yates
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Updated Readme (#226)
* Update `README.md` to reflect the CMake options for vectorization.
parent
aa36e317
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+3
-3
3 additions, 3 deletions
README.md
with
3 additions
and
3 deletions
README.md
+
3
−
3
View file @
5b297b29
...
...
@@ -143,7 +143,7 @@ cd build_knl
# run cmake with all the magic flags
export
CC
=
`
which icc
`
export
CXX
=
`
which icpc
`
cmake <path to CMakeLists.txt>
-DCMAKE_BUILD_TYPE
=
release
-DNMC_THREADING_MODEL
=
tbb
-DNMC_WITH_PROFILING
=
ON
-DNMC_VECTORIZE_TARGET
=
KNL
-DNMC_USE_OPTIMIZED_KERNELS
=
ON
cmake <path to CMakeLists.txt>
-DCMAKE_BUILD_TYPE
=
release
-DNMC_THREADING_MODEL
=
tbb
-DNMC_WITH_PROFILING
=
ON
-DNMC_VECTORIZE_TARGET
=
KNL
make
-j
```
...
...
@@ -154,8 +154,8 @@ The flags passed into cmake are described:
-
`-DNMC_VECTORIZE_TARGET=KNL`
: generate AVX512 instructions, alternatively you can use:
-
`AVX2`
for Haswell & Broadwell
-
`AVX`
for Sandy Bridge and Ivy Bridge
-
`-DNMC_USE_OPTIMIZED_KERNELS=ON`
: tell the source to source compiler to generate optimized kernels that use Intel extensions
-
without these vectorized code will not be generated
.
Currently, the Intel compiler is required when you specify a vectorize target
.
#### run tests
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment