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
b3345204
Commit
b3345204
authored
6 years ago
by
Axel Kohlmeyer
Browse files
Options
Downloads
Patches
Plain Diff
correct FFT definitions in docs and make -DFFT_KISSFFT explicit in CMake
parent
ddd8533d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmake/CMakeLists.txt
+2
-0
2 additions, 0 deletions
cmake/CMakeLists.txt
doc/src/Build_settings.txt
+2
-2
2 additions, 2 deletions
doc/src/Build_settings.txt
with
4 additions
and
2 deletions
cmake/CMakeLists.txt
+
2
−
0
View file @
b3345204
...
...
@@ -230,6 +230,8 @@ if(PKG_KSPACE)
endif
()
include_directories
(
${${
FFT
}
_INCLUDE_DIRS
}
)
list
(
APPEND LAMMPS_LINK_LIBS
${${
FFT
}
_LIBRARIES
}
)
else
()
add_definitions
(
-DFFT_KISSFFT
)
endif
()
set
(
PACK_OPTIMIZATION
"PACK_ARRAY"
CACHE STRING
"Optimization for FFT"
)
set_property
(
CACHE PACK_OPTIMIZATION PROPERTY STRINGS PACK_ARRAY PACK_POINTER PACK_MEMCPY
)
...
...
This diff is collapsed.
Click to expand it.
doc/src/Build_settings.txt
+
2
−
2
View file @
b3345204
...
...
@@ -43,7 +43,7 @@ obsolete by its developers.
[CMake variables]:
-D FFT=value #
kiss or fftw
3 or
fftw
2 or
mkl
, default is
fftw
3 if found, else
kiss
-D FFT=value #
KISSFFT or FFTW
3 or
FFTW
2 or
MKL
, default is
FFTW
3 if found, else
KISSFFT
-D FFT_SINGLE=value # yes or no (default), no = double precision
-D FFT_PACK=value # array (default) or pointer or memcpy :pre
...
...
@@ -59,7 +59,7 @@ the FFT library, you can set these variables:
[Makefile.machine settings]:
FFT_INC = -DFFT_FFTW3 # FFTW3, FFTW2, FFTW (same as FFTW3), MKL, or KISS
FFT_INC = -DFFT_FFTW3 #
-DFFT_
FFTW3,
-DFFT_
FFTW2,
-DFFT_
FFTW (same as
-DFFT_
FFTW3),
-DFFT_
MKL, or
-DFFT_
KISS
FFT
# default is KISS if not specified
FFT_INC = -DFFT_SINGLE # do not specify for double precision
FFT_INC = -DFFT_PACK_ARRAY # or -DFFT_PACK_POINTER or -DFFT_PACK_MEMCPY :pre
...
...
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