1 | #ifdef ESMC_RCS_HEADER |
---|
2 | "$Id$" |
---|
3 | "Defines the configuration for this machine" |
---|
4 | #endif |
---|
5 | |
---|
6 | #if 0 |
---|
7 | Earth System Modeling Framework |
---|
8 | Copyright 2002-2018, University Corporation for Atmospheric Research, |
---|
9 | Massachusetts Institute of Technology, Geophysical Fluid Dynamics |
---|
10 | Laboratory, University of Michigan, National Centers for Environmental |
---|
11 | Prediction, Los Alamos National Laboratory, Argonne National Laboratory, |
---|
12 | NASA Goddard Space Flight Center. |
---|
13 | Licensed under the University of Illinois-NCSA License. |
---|
14 | #endif |
---|
15 | |
---|
16 | #if !defined(INCLUDED_CONF_H) |
---|
17 | #define INCLUDED_CONF_H |
---|
18 | |
---|
19 | #define PARCH_darwin |
---|
20 | |
---|
21 | #ifdef ESMF_LOWERCASE_SINGLEUNDERSCORE |
---|
22 | #define FTN_X(func) func##_ |
---|
23 | #define FTNX(func) func##_ |
---|
24 | #endif |
---|
25 | #ifdef ESMF_LOWERCASE_DOUBLEUNDERSCORE |
---|
26 | #define FTN_X(func) func##__ |
---|
27 | #define FTNX(func) func##_ |
---|
28 | #endif |
---|
29 | |
---|
30 | #if defined (__cplusplus) |
---|
31 | // Typedef to match the data type of the 'hidden' string length |
---|
32 | // argument that Fortran uses when passing CHARACTER strings. |
---|
33 | #if (__GNUC__ > 7) |
---|
34 | #include <cstddef> |
---|
35 | typedef size_t ESMCI_FortranStrLenArg; |
---|
36 | #else |
---|
37 | typedef int ESMCI_FortranStrLenArg; |
---|
38 | #endif |
---|
39 | #endif |
---|
40 | |
---|
41 | #define ESMC_PRESENT(arg) ( (arg) != 0 ) |
---|
42 | |
---|
43 | #ifdef S32 |
---|
44 | #define ESMC_POINTER_SIZE 4 |
---|
45 | #endif |
---|
46 | #ifdef Sia64_64 |
---|
47 | #define ESMC_POINTER_SIZE 8 |
---|
48 | #endif |
---|
49 | #ifdef Sx86_64_32 |
---|
50 | #define ESMC_POINTER_SIZE 4 |
---|
51 | #endif |
---|
52 | #ifdef Sx86_64_small |
---|
53 | #define ESMC_POINTER_SIZE 8 |
---|
54 | #endif |
---|
55 | #ifdef Sx86_64_medium |
---|
56 | #define ESMC_POINTER_SIZE 8 |
---|
57 | #endif |
---|
58 | |
---|
59 | #endif |
---|