Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lammps
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
multiscale
lammps
Commits
3f153536
Commit
3f153536
authored
6 years ago
by
Richard Berger
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/master' into doc-tweak
parents
b55f3162
17e5da97
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/CMakeLists.txt
+3
-1
3 additions, 1 deletion
cmake/CMakeLists.txt
with
3 additions
and
1 deletion
cmake/CMakeLists.txt
+
3
−
1
View file @
3f153536
...
@@ -251,6 +251,7 @@ if(PKG_KSPACE)
...
@@ -251,6 +251,7 @@ if(PKG_KSPACE)
set
(
FFT_VALUES KISS
${
FFTW
}
MKL
)
set
(
FFT_VALUES KISS
${
FFTW
}
MKL
)
set_property
(
CACHE FFT PROPERTY STRINGS
${
FFT_VALUES
}
)
set_property
(
CACHE FFT PROPERTY STRINGS
${
FFT_VALUES
}
)
validate_option
(
FFT FFT_VALUES
)
validate_option
(
FFT FFT_VALUES
)
string
(
TOUPPER
${
FFT
}
FFT
)
if
(
NOT FFT STREQUAL
"KISS"
)
if
(
NOT FFT STREQUAL
"KISS"
)
find_package
(
${
FFT
}
REQUIRED
)
find_package
(
${
FFT
}
REQUIRED
)
if
(
NOT FFT STREQUAL
"FFTW3F"
)
if
(
NOT FFT STREQUAL
"FFTW3F"
)
...
@@ -790,8 +791,9 @@ if(PKG_USER-INTEL)
...
@@ -790,8 +791,9 @@ if(PKG_USER-INTEL)
set
(
INTEL_ARCH_VALUES cpu knl
)
set
(
INTEL_ARCH_VALUES cpu knl
)
set_property
(
CACHE INTEL_ARCH PROPERTY STRINGS
${
INTEL_ARCH_VALUES
}
)
set_property
(
CACHE INTEL_ARCH PROPERTY STRINGS
${
INTEL_ARCH_VALUES
}
)
validate_option
(
INTEL_ARCH INTEL_ARCH_VALUES
)
validate_option
(
INTEL_ARCH INTEL_ARCH_VALUES
)
string
(
TOUPPER
${
INTEL_ARCH
}
INTEL_ARCH
)
if
(
INTEL_ARCH STREQUAL
"
knl
"
)
if
(
INTEL_ARCH STREQUAL
"
KNL
"
)
set
(
CMAKE_EXE_LINKER_FLAGS
"
${
CMAKE_EXE_LINKER_FLAGS
}
-xHost -qopenmp -qoffload"
)
set
(
CMAKE_EXE_LINKER_FLAGS
"
${
CMAKE_EXE_LINKER_FLAGS
}
-xHost -qopenmp -qoffload"
)
set
(
MIC_OPTIONS
"-qoffload-option,mic,compiler,
\"
-fp-model fast=2 -mGLOB_default_function_attrs=
\\\"
gather_scatter_loop_unroll=4
\\\"\"
"
)
set
(
MIC_OPTIONS
"-qoffload-option,mic,compiler,
\"
-fp-model fast=2 -mGLOB_default_function_attrs=
\\\"
gather_scatter_loop_unroll=4
\\\"\"
"
)
add_compile_options
(
-xMIC-AVX512 -qoffload -fno-alias -ansi-alias -restrict -qoverride-limits
${
MIC_OPTIONS
}
)
add_compile_options
(
-xMIC-AVX512 -qoffload -fno-alias -ansi-alias -restrict -qoverride-limits
${
MIC_OPTIONS
}
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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