Config.h 962 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#pragma once

/** \brief current AMDiS version */
#ifndef AMDIS_VERSION
#define AMDIS_VERSION  "AMDiS: Version 0.9.1"
#endif

#include <boost/config.hpp>

#define CACHE_LINE 16

#if defined(__clang__)					// Clang/LLVM.
  #include "config/Config_clang.h"
  
#elif defined(__ICC) || defined(__INTEL_COMPILER)	// Intel ICC/ICPC. 
  #include "config/Config_intel.h"
  
#elif defined(__GNUC__) || defined(__GNUG__)		// GNU GCC/G++.
  #include "config/Config_gcc.h"
  
#elif defined(__HP_cc) || defined(__HP_aCC)
  error: not supported compiler
  
#elif defined(__IBMC__) || defined(__IBMCPP__)
  error: not supported compiler
  
#elif defined(_MSC_VER)					// Microsoft Visual Studio. 
  #include "config/Config_msc.h"
  
#elif defined(__PGI)					// Portland Group PGCC/PGCPP.
  error: not supported compiler
//   #include "Config_pgi.h"  

#elif defined(__SUNPRO_C) || defined(__SUNPRO_CC)
  error: not supported compiler
#endif

#include "config/Config_defaults.h"