Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ScalFMM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
ScalFMM
Commits
c51c84a5
Commit
c51c84a5
authored
Sep 12, 2014
by
COULAUD Olivier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mv files
parent
363bcf5c
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
79 additions
and
0 deletions
+79
-0
Data/noDist/Readme
Data/noDist/Readme
+0
-0
Data/noDist/ellipsoid-bug.fma
Data/noDist/ellipsoid-bug.fma
+0
-0
Tests/noDist/testNewCompareKernels.cpp
Tests/noDist/testNewCompareKernels.cpp
+0
-0
Utils/CMakeLists.txt
Utils/CMakeLists.txt
+78
-0
Utils/email-sorted
Utils/email-sorted
+1
-0
No files found.
Data/Readme
→
Data/
noDist/
Readme
View file @
c51c84a5
File moved
Data/ellipsoid-bug.fma
→
Data/
noDist/
ellipsoid-bug.fma
View file @
c51c84a5
File moved
Tests/
Kernels
/testNewCompareKernels.cpp
→
Tests/
noDist
/testNewCompareKernels.cpp
View file @
c51c84a5
File moved
Utils/CMakeLists.txt
0 → 100755
View file @
c51c84a5
# check if compiling into source directories
STRING
(
COMPARE EQUAL
"
${
CMAKE_SOURCE_DIR
}
"
"
${
CMAKE_BINARY_DIR
}
"
insource
)
if
(
insource
)
MESSAGE
(
FATAL_ERROR
"
${
PROJECT_NAME
}
requires an out of source build. Goto scalfmm/Build and tapes cmake ../"
)
endif
(
insource
)
project
(
Examples_scalfmm CXX
)
set
(
EXECUTABLE_OUTPUT_PATH
${
CMAKE_BUILD_TYPE
}
)
ADD_DEFINITIONS
(
${
ScaLFMM_CXX_FLAGS
}
)
# Find all code files
file
(
GLOB_RECURSE
source_tests_files
./*.cpp
)
# Adding the project sources dir as an include dir
INCLUDE_DIRECTORIES
(
${
CMAKE_BINARY_DIR
}
/Src
${
CMAKE_SOURCE_DIR
}
/Src
)
# Add execs - 1 cpp = 1 exec
foreach
(
exec
${
source_tests_files
}
)
get_filename_component
(
execname
${
exec
}
NAME_WE
)
set
(
compile_exec
"TRUE"
)
# Test Blas dependency
file
(
STRINGS
"
${
exec
}
"
lines_blas REGEX
"@FUSE_BLAS"
)
if
(
lines_blas
)
if
(
NOT ScalFMM_USE_BLAS
)
MESSAGE
(
STATUS
"This needs BLAS =
${
exec
}
"
)
set
(
compile_exec
"FALSE"
)
endif
()
endif
()
# Test FFT dependency
file
(
STRINGS
"
${
exec
}
"
lines_fft REGEX
"@FUSE_FFT"
)
if
(
lines_fft
)
if
(
NOT ScalFMM_USE_FFT
)
MESSAGE
(
STATUS
"This needs FFT =
${
exec
}
"
)
set
(
compile_exec
"FALSE"
)
endif
()
endif
()
# Test MPI dependency
file
(
STRINGS
"
${
exec
}
"
lines_mpi REGEX
"@FUSE_MPI"
)
if
(
lines_mpi
)
if
(
NOT ScalFMM_USE_MPI
)
MESSAGE
(
STATUS
"This needs MPI =
${
exec
}
"
)
set
(
compile_exec
"FALSE"
)
endif
()
endif
()
# Dependency are OK
if
(
compile_exec
)
add_executable
(
${
execname
}
${
exec
}
)
SET_TARGET_PROPERTIES
(
${
execname
}
PROPERTIES ENABLE_EXPORTS TRUE
)
target_link_libraries
(
${
execname
}
${
scalfmm_lib
}
${
SCALFMM_LIBRARIES
}
)
# Install bin
install
(
TARGETS
${
execname
}
DESTINATION bin
)
endif
()
endforeach
(
exec
)
ToRemove
/email-sorted
→
Utils
/email-sorted
View file @
c51c84a5
...
@@ -33,6 +33,7 @@ shujin.cao@163.com
...
@@ -33,6 +33,7 @@ shujin.cao@163.com
t.ben.thompson@gmail.com
t.ben.thompson@gmail.com
t.betcke@ucl.ac.uk
t.betcke@ucl.ac.uk
vitoreafeliciano@msn.com
vitoreafeliciano@msn.com
wangjun5505@163.com
weygand@kit.edu
weygand@kit.edu
wgs@theworld.com
wgs@theworld.com
zcos123@gmail.com
zcos123@gmail.com
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment