pvfmm.hpp 936 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #ifndef _PVFMM_HPP_
  2. #define _PVFMM_HPP_
  3. // Have MPI
  4. //#define PVFMM_HAVE_MPI
  5. // Disable assert checks.
  6. //#ifndef NDEBUG
  7. //#define NDEBUG
  8. //#endif
  9. // Parameters for memory manager
  10. #define PVFMM_MEM_ALIGN 64
  11. #define PVFMM_GLOBAL_MEM_BUFF 1024LL * 5LL // in MB
  12. #ifndef NDEBUG
  13. #define PVFMM_MEMDEBUG // Enable memory checks.
  14. #endif
  15. // Profiling parameters
  16. #define PVFMM_PROFILE 5 // Granularity level
  17. #define PVFMM_VERBOSE
  18. // MPI Wrapper
  19. #include <pvfmm/comm.hpp>
  20. // Memory Manager, Iterators
  21. #include <pvfmm/mem_mgr.hpp>
  22. // Vector
  23. #include <pvfmm/vector.hpp>
  24. // Matrix, Permutation operators
  25. #include <pvfmm/matrix.hpp>
  26. // Template vector intrinsics
  27. #include <pvfmm/intrin_wrapper.hpp>
  28. // OpenMP merge-sort and scan
  29. #include <pvfmm/ompUtils.hpp>
  30. // Profiler
  31. #include <pvfmm/profile.hpp>
  32. // Print stack trace
  33. #include <pvfmm/stacktrace.h>
  34. const int sgh = pvfmm::SetSigHandler(); // Set signal handler
  35. #endif //_PVFMM_HPP_