ScalFmmConfig.h.cmake 3.15 KB
Newer Older
1
// ===================================================================================
COULAUD Olivier's avatar
COULAUD Olivier committed
2 3 4 5 6 7 8 9 10 11 12 13 14
// Copyright ScalFmm 2011 INRIA, Olivier Coulaud, Berenger Bramas
// olivier.coulaud@inria.fr, berenger.bramas@inria.fr
// This software is a computer program whose purpose is to compute the FMM.
//
// This software is governed by the CeCILL-C and LGPL licenses and
// abiding by the rules of distribution of free software.  
// 
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public and CeCILL-C Licenses for more details.
// "http://www.cecill.info". 
// "http://www.gnu.org/licenses".
15
// ===================================================================================
16 17
#ifndef SSCALFMMCONFIG_H
#define SSCALFMMCONFIG_H
18 19 20 21 22 23
///////////////////////////////////////////////////////
// Debug
///////////////////////////////////////////////////////

// Uncomment the next line to use debug mode
#cmakedefine ScalFMM_USE_LOG
24

berenger-bramas's avatar
berenger-bramas committed
25 26 27 28
///////////////////////////////////////////////////////
// Blas
///////////////////////////////////////////////////////

29 30
#cmakedefine ScalFMM_USE_BLAS
#cmakedefine ScalFMM_USE_MKL_AS_BLAS
berenger-bramas's avatar
berenger-bramas committed
31

32 33
////////////////////////////////////////////////////////
// FFT
berenger-bramas's avatar
berenger-bramas committed
34
///////////////////////////////////////////////////////
35 36 37 38 39

#cmakedefine ScalFMM_USE_FFT
#cmakedefine ScalFMM_USE_MKL_AS_FFTW

//////////////////////////////////////////////////////
berenger-bramas's avatar
berenger-bramas committed
40 41 42
// MPI
///////////////////////////////////////////////////////

43
#cmakedefine ScalFMM_USE_MPI
44

45 46 47 48
///////////////////////////////////////////////////////
// Memory trace
///////////////////////////////////////////////////////

49
#cmakedefine ScalFMM_USE_MEM_STATS
50

51 52 53 54
///////////////////////////////////////////////////////
// Double precision
///////////////////////////////////////////////////////

55
#cmakedefine ScalFMM_USE_DOUBLE_PRECISION
56

57 58 59 60 61 62 63 64 65 66 67 68
///////////////////////////////////////////////////////
// CUDA
///////////////////////////////////////////////////////

#cmakedefine SCALFMM_USE_CUDA

///////////////////////////////////////////////////////
// STARPU
///////////////////////////////////////////////////////

#cmakedefine SCALFMM_USE_STARPU

69 70 71 72
///////////////////////////////////////////////////////
// SSE
///////////////////////////////////////////////////////

73
#cmakedefine ScalFMM_USE_SSE
74

75 76 77 78 79 80
///////////////////////////////////////////////////////
// AVX
///////////////////////////////////////////////////////

#cmakedefine ScalFMM_USE_AVX

81 82 83 84 85 86
///////////////////////////////////////////////////////
// STARPU
///////////////////////////////////////////////////////

#cmakedefine ScalFMM_USE_STARPU

87 88 89 90 91 92
///////////////////////////////////////////////////////
// Assert tests
///////////////////////////////////////////////////////

#cmakedefine ScalFMM_USE_ASSERT

93 94 95 96 97 98

#ifdef __INTEL_COMPILER
#pragma warning (disable : 858 ) 
#pragma warning (disable : 2326 ) 
#endif

COULAUD Olivier's avatar
COULAUD Olivier committed
99 100 101 102 103 104
///////////////////////////////////////////////////////
// Path to the ScalFMM DATA (For UTests)
///////////////////////////////////////////////////////
#include <string>
const std::string SCALFMMDataPath("@CMAKE_SOURCE_DIR@/Data/");

105
#endif // CONFIG_H