-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merges release branch into master for full release of Auryn v0.7.
- Loading branch information
Showing
76 changed files
with
1,788 additions
and
794 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
language: cpp | ||
compiler: | ||
- gcc | ||
before_install: | ||
- sudo add-apt-repository ppa:boost-latest/ppa -y | ||
- sudo add-apt-repository ppa:dns/gnu -y | ||
- sudo add-apt-repository ppa:yjwong/cmake -y | ||
- sudo apt-get update -qq -y | ||
- sudo apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install build-essential libtool m4 --force-yes | ||
- sudo apt-get install libboost1.54-all-dev mpich2 libmpich2-dev libcr-dev -y | ||
- sudo apt-get install cmake cmake-data -y | ||
script: | ||
- CFLAGS="${CFLAGS:--O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m64 -mtune=generic}" ; export CFLAGS ; | ||
- CXXFLAGS="${CXXFLAGS:--O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m64 -mtune=generic}" ; export CXXFLAGS ; | ||
- LDFLAGS="${LDFLAGS:--Wl,-z,relro}";export LDFLAGS ; | ||
- cmake -DCMAKE_C_FLAGS_RELEASE:STRING="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE:STRING="-DNDEBUG" -DCMAKE_Fortran_FLAGS_RELEASE:STRING="-DNDEBUG" -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON && make | ||
|
||
notifications: | ||
email: | ||
recipients: | ||
- [email protected] | ||
- [email protected] | ||
on_success: change | ||
on_failure: always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
cmake_minimum_required (VERSION 2.6) | ||
project (Auryn) | ||
|
||
# The version number. | ||
set (Auryn_VERSION_MAJOR 0) | ||
set (Auryn_VERSION_MINOR 6) | ||
|
||
# Important GCC Compiler flags for Auryn's performance | ||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -march=native -ffast-math") | ||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -pedantic") | ||
|
||
# Display flags (for debugging only) | ||
# message("CMAKE_CXX_FLAGS_DEBUG is ${CMAKE_CXX_FLAGS_DEBUG}") | ||
# message("CMAKE_CXX_FLAGS_RELEASE is ${CMAKE_CXX_FLAGS_RELEASE}") | ||
|
||
# Required external MPI libraries | ||
FIND_PACKAGE(MPI REQUIRED) | ||
|
||
# Required Boost libraries | ||
SET(BOOST_MIN_VERSION "1.41.0") | ||
FIND_PACKAGE(Boost ${BOOST_MIN_VERSION} REQUIRED COMPONENTS mpi serialization program_options date_time) | ||
|
||
INCLUDE_DIRECTORIES( ${MPI_CXX_INCLUDE_PATH} ) | ||
INCLUDE_DIRECTORIES( ${Boost_INCLUDE_DIRS} ) | ||
INCLUDE_DIRECTORIES(src) | ||
|
||
ADD_SUBDIRECTORY(src) | ||
ADD_SUBDIRECTORY(examples) | ||
ADD_SUBDIRECTORY(tools) | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
ADD_EXECUTABLE( sim_background sim_background.cpp ) | ||
TARGET_LINK_LIBRARIES( sim_background auryn ${MPI_C_LIBRARIES} ${Boost_LIBRARIES} ) | ||
|
||
ADD_EXECUTABLE( sim_bg_lowpass sim_bg_lowpass.cpp ) | ||
TARGET_LINK_LIBRARIES( sim_bg_lowpass auryn ${MPI_C_LIBRARIES} ${Boost_LIBRARIES} ) | ||
|
||
ADD_EXECUTABLE( sim_bg_static sim_bg_static.cpp ) | ||
TARGET_LINK_LIBRARIES( sim_bg_static auryn ${MPI_C_LIBRARIES} ${Boost_LIBRARIES} ) | ||
|
||
ADD_EXECUTABLE( sim_brunel2k sim_brunel2k.cpp ) | ||
TARGET_LINK_LIBRARIES( sim_brunel2k auryn ${MPI_C_LIBRARIES} ${Boost_LIBRARIES} ) | ||
|
||
ADD_EXECUTABLE( sim_brunel2k_pl sim_brunel2k_pl.cpp ) | ||
TARGET_LINK_LIBRARIES( sim_brunel2k_pl auryn ${MPI_C_LIBRARIES} ${Boost_LIBRARIES} ) | ||
|
||
ADD_EXECUTABLE( sim_coba_benchmark sim_coba_benchmark.cpp ) | ||
TARGET_LINK_LIBRARIES( sim_coba_benchmark auryn ${MPI_C_LIBRARIES} ${Boost_LIBRARIES} ) | ||
|
||
ADD_EXECUTABLE( sim_dense sim_dense.cpp ) | ||
TARGET_LINK_LIBRARIES( sim_dense auryn ${MPI_C_LIBRARIES} ${Boost_LIBRARIES} ) | ||
|
||
ADD_EXECUTABLE( sim_epsp sim_epsp.cpp ) | ||
TARGET_LINK_LIBRARIES( sim_epsp auryn ${MPI_C_LIBRARIES} ${Boost_LIBRARIES} ) | ||
|
||
ADD_EXECUTABLE( sim_epsp_stp sim_epsp_stp.cpp ) | ||
TARGET_LINK_LIBRARIES( sim_epsp_stp auryn ${MPI_C_LIBRARIES} ${Boost_LIBRARIES} ) | ||
|
||
ADD_EXECUTABLE( sim_isp_big sim_isp_big.cpp ) | ||
TARGET_LINK_LIBRARIES( sim_isp_big auryn ${MPI_C_LIBRARIES} ${Boost_LIBRARIES} ) | ||
|
||
ADD_EXECUTABLE( sim_isp_orig sim_isp_orig.cpp ) | ||
TARGET_LINK_LIBRARIES( sim_isp_orig auryn ${MPI_C_LIBRARIES} ${Boost_LIBRARIES} ) | ||
|
||
ADD_EXECUTABLE( sim_poisson sim_poisson.cpp ) | ||
TARGET_LINK_LIBRARIES( sim_poisson auryn ${MPI_C_LIBRARIES} ${Boost_LIBRARIES} ) | ||
|
||
ADD_EXECUTABLE( sim_coba_binmon sim_coba_binmon.cpp ) | ||
TARGET_LINK_LIBRARIES( sim_coba_binmon auryn ${MPI_C_LIBRARIES} ${Boost_LIBRARIES} ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.