-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathconfigure.hpp.in
74 lines (55 loc) · 1.84 KB
/
configure.hpp.in
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#pragma once
enum {
// dirty cubesphere nblocks data
NBLOCKS = @NBLOCKS@,
// thermodynamics data
NPHASE_LEGACY = @NPHASE_LEGACY@,
// air-parcle data
NVAPOR = @NVAPOR@,
NCLOUD = @NCLOUD@,
NPRECIP = @NPRECIP@,
NCHEMISTRY = @NCHEMISTRY@,
NTRACER = @NTRACER@,
NTURBULENCE = @NTURBULENCE@,
// n-body data
NINT_PARTICLE_DATA = @NINT_PARTICLE_DATA@,
NREAL_PARTICLE_DATA = @NREAL_PARTICLE_DATA@
};
// Affine option (AFFINE or NOT_AFFINE)
#define @AFFINE_OPTION@
// Cubed Sphere option (CUBED_SPHERE or NOT_CUBED_SPHERE)
#define @CUBED_SPHERE_OPTION@
// NetCDF output (NETCDFOUTPUT or NO_NETCDFOUTPUT)
#define @NETCDF_OPTION@
// PNetCDF output (PNETCDFOUTPUT or NO_PNETCDFOUTPUT)
#define @PNETCDF_OPTION@
// FITS option (FITSOUTPUT or NOT_FITSOUTPUT)
#define @FITS_OPTION@
// HYDROSTATIC option (HYDROSTATIC or NOT_HYDROSTATIC)
#define @HYDROSTATIC_OPTION@
// MPI parallelization (MPI_PARALLEL or NOT_MPI_PARALLEL)
#define @MPI_OPTION@
// DISORT option (RT_DISORT or NOT_RT_DISORT)
#define @DISORT_OPTION@
// PVFMM option (ENABLE_PVFMM or DISABLE_PVFMM)
#define @PVFMM_OPTION@
// Google log option (ENABLE_GLOG or DISABLE_GLOG)
#define @GLOG_OPTION@
// python bindings (PYTHON_BINDINGS or NO_PYTHOND_BINDINGS)
#define @PYTHON_BINDINGS_OPTION@
// nblocks for exo3 option (USE_NBLOCKS or NOT_USE_NBLOCKS)
#define @USE_NBLOCKS@
//#define ENABLE_FIX
// logger
#define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_@LOGGER_LEVEL@
#define LOG_TRACE(...) SPDLOG_LOGGER_TRACE(__VA_ARGS__)
#define LOG_DEBUG(...) SPDLOG_LOGGER_DEBUG(__VA_ARGS__)
#define LOG_INFO(...) SPDLOG_LOGGER_INFO(__VA_ARGS__)
#define LOG_WARN(...) SPDLOG_LOGGER_WARN(__VA_ARGS__)
#define LOG_ERROR(...) SPDLOG_LOGGER_ERROR(__VA_ARGS__)
#define LOG_CRITICAL(...) SPDLOG_LOGGER_CRITICAL(__VA_ARGS__)
#ifdef __CUDACC__
#define DISPATCH_MACRO __host__ __device__
#else
#define DISPATCH_MACRO
#endif