forked from amusecode/amuse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.mk.in
139 lines (114 loc) · 2.61 KB
/
config.mk.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
# amuse configuration generated by ./configure from config.mk.in
PYTHON=@PYTHON@
CODE_GENERATOR=@CODE_GENERATOR@
#
# PYTHON embedding
#
PYTHON_DEV=@PYTHON_DEV@
CYTHON=@CYTHON@
PYTHONCONFIG=@PYTHONCONFIG@
PYTHONDEV_CFLAGS=@PYTHONDEV_CFLAGS@
PYTHONDEV_LDFLAGS=@PYTHONDEV_LDFLAGS@
#
# Compilers, for compiling without MPI
# these compilers must be the same or compatible with
# the mpi compilers
#
CXX=@CXX@
CC=@CC@
FC=@FC@
GFORTRAN_VERSION=@GFORTRAN_VERSION@
IFORT_VERSION=@IFORT_VERSION@
FC_ISO_C_AVAILABLE=@FC_ISO_C_BINDINGS@
#
# Default flags, append to these in the makefiles
#
CXXFLAGS=@CXXFLAGS@
CFLAGS=@CFLAGS@
FCFLAGS=@FCFLAGS@
LDFLAGS=@LDFLAGS@
#
# MPI Compilers
#
MPI_ENABLED=@WITH_MPI@
MPICXX=@MPICXX@
MPICC=@MPICC@
MPIFC=@MPIFC@
MPIEXEC=@MPIEXEC@
MPI_CFLAGS=@MPI_CFLAGS@
MPI_CXXFLAGS=@MPI_CXXFLAGS@
MPI_FCFLAGS=@MPI_FCFLAGS@
MPI_CLIBS=@MPI_CLIBS@
MPI_CXXLIBS=@MPI_CXXLIBS@
MPI_FC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@
SC_MPI_CLIBS=@SC_MPI_CLIBS@
SC_MPI_FCLIBS=@SC_MPI_FCLIBS@
export PYTHON CXX CC FC CXXFLAGS CFLAGS FCFLAGS MPICXX MPICC MPIFC LDFLAGS
export JAVA JAVAC JAVAH JAR JAVA_FLAGS
export FS_FLAGS FS_LIBS SC_FLAGS SC_CLIBS SC_FCLIBS SC_MPI_CLIBS SC_MPI_FCLIBS
export FFTW_FLAGS FFTW_LIBS
export GSL_FLAGS GSL_LIBS
export HDF5_FLAGS HDF5_LIBS
export OPENMP_FCFLAGS OPENMP_CFLAGS
export NVCC CUDA_TK CUDA_LIBS CUDA_ENABLED
export SAPPORO_VERSION SAPPORO_LIBS
export MPICFLAGS MPICCFLAGS MPIFCFLAGS
export IFORT_VERSION
export NVCC_FLAGS
export PYTHONDEV_LIBS PYTHONDEV_CFLAGS PYTHONDEV_LIBS
export FC_ISO_C_ENABLED
ifdef AMUSE_DIR
export AMUSE_DIR
endif