Changed dependency to libsharp (MPI support, better performance). Added new power spectrum abstraction

This commit is contained in:
Guilhem Lavaux 2012-11-10 09:02:08 -05:00
parent bddd26a5ca
commit 414edbd28a
5 changed files with 390 additions and 46 deletions

View file

@ -1,6 +1,10 @@
SET(tolink ${GSL_LIBRARIES} CosmoTool ${CosmoTool_LIBS})
include_directories(${CMAKE_SOURCE_DIR}/src ${FFTW3_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIRS} ${NETCDF_INCLUDE_PATH} ${GSL_INCLUDE_PATH})
IF(SHARP_INCLUDE_PATH)
include_directories(BEFORE ${SHARP_INCLUDE_PATH})
ENDIF(SHARP_INCLUDE_PATH)
add_executable(testBQueue testBQueue.cpp)
target_link_libraries(testBQueue ${tolink})
@ -41,6 +45,11 @@ add_executable(testBSP testBSP.cpp)
target_link_libraries(testBSP ${tolink})
if (FFTW3_FOUND AND EIGEN3_FOUND)
add_executable(test_fft_calls test_fft_calls)
add_executable(test_fft_calls test_fft_calls.cpp)
target_link_libraries(test_fft_calls ${tolink} ${FFTW3_LIBRARIES})
endif (FFTW3_FOUND AND EIGEN3_FOUND)
if (SHARP_LIBRARY AND SHARP_INCLUDE_PATH AND EIGEN3_FOUND)
add_executable(test_sharp_calls test_sharp_calls.cpp)
target_link_libraries(test_sharp_calls ${tolink} ${SHARP_LIBRARY})
endif (SHARP_LIBRARY AND SHARP_INCLUDE_PATH AND EIGEN3_FOUND)