forked from mpi4py/mpi4py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mpi.cfg
230 lines (189 loc) · 6.11 KB
/
mpi.cfg
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
# Some Linux distributions have RPM's for some MPI implementations.
# In such a case, headers and libraries usually are in default system
# locations, and you should not need any special configuration.
# If you do not have MPI distribution in a default location, please
# uncomment and fill-in appropriately the following lines. Yo can use
# as examples the [mpich2], [openmpi], and [deinompi] sections
# below the [mpi] section (wich is the one used by default).
# If you specify multiple locations for includes and libraries,
# please separate them with the path separator for your platform,
# i.e., ':' on Unix-like systems and ';' on Windows
# Default configuration
# ---------------------
[mpi]
## mpi_dir = /usr
## mpi_dir = /usr/local
## mpi_dir = /usr/local/mpi
## mpi_dir = /opt
## mpi_dir = /opt/mpi
## mpi_dir = = $ProgramFiles\MPI
## mpicc = %(mpi_dir)s/bin/mpicc
## mpicxx = %(mpi_dir)s/bin/mpicxx
## define_macros =
## undef_macros =
## include_dirs = %(mpi_dir)s/include
## libraries = mpi
## library_dirs = %(mpi_dir)s/lib
## runtime_library_dirs = %(mpi_dir)s/lib
## extra_compile_args =
## extra_link_args =
## extra_objects =
# MPICH3 example
# --------------
[mpich3]
mpi_dir = /home/devel/mpi/mpich-3.1.0
mpicc = %(mpi_dir)s/bin/mpicc
mpicxx = %(mpi_dir)s/bin/mpicxx
#include_dirs = %(mpi_dir)s/include
#libraries = mpich opa mpl rt pthread
#library_dirs = %(mpi_dir)s/lib
#runtime_library_dirs = %(library_dirs)s
# MPICH2 example
# --------------
[mpich2]
mpi_dir = /home/devel/mpi/mpich2-1.4.1
mpicc = %(mpi_dir)s/bin/mpicc
mpicxx = %(mpi_dir)s/bin/mpicxx
#include_dirs = %(mpi_dir)s/include
#libraries = mpich opa mpl
#library_dirs = %(mpi_dir)s/lib
#runtime_library_dirs = %(library_dirs)s
# Open MPI example
# ----------------
[openmpi]
mpi_dir = /home/devel/mpi/openmpi-1.8.4
mpicc = %(mpi_dir)s/bin/mpicc
mpicxx = %(mpi_dir)s/bin/mpicxx
#include_dirs = %(mpi_dir)s/include
#libraries = mpi
library_dirs = %(mpi_dir)s/lib
runtime_library_dirs = %(library_dirs)s
# Sun MPI example
# ---------------
[sunmpi]
#mpi_dir = /opt/SUNWhpc/HPC8.2.1/gnu
mpi_dir = /opt/SUNWhpc/HPC8.1/sun
mpicc = %(mpi_dir)s/bin/mpicc
mpicxx = %(mpi_dir)s/bin/mpicxx
#include_dirs = %(mpi_dir)s/include
#libraries = mpi open-rte open-pal
library_dirs = %(mpi_dir)s/lib
runtime_library_dirs = %(library_dirs)s
# Platform MPI example
# --------------------
[pcmpi-linux-64bit]
mpi_dir = /opt/ibm/platform_mpi
mpicc = %(mpi_dir)s/bin/mpicc
mpicxx = %(mpi_dir)s/bin/mpiCC
define_macros = NON_BLOCKING_COLLECTIVES
runtime_library_dirs = %(mpi_dir)s/lib/linux_amd64
[pcmpi-linux-32bit]
mpi_dir = /opt/ibm/platform_mpi
mpicc = %(mpi_dir)s/bin/mpicc
mpicxx = %(mpi_dir)s/bin/mpiCC
define_macros = NON_BLOCKING_COLLECTIVES
runtime_library_dirs = %(mpi_dir)s/lib/linux_ia32
# HP MPI example
# --------------
[hpmpi]
mpi_dir = /opt/hpmpi
mpicc = %(mpi_dir)s/bin/mpicc
mpicxx = %(mpi_dir)s/bin/mpiCC
#include_dirs = %(mpi_dir)s/include
#libraries = hpmpio hpmpi dl
#library_dirs = %(mpi_dir)s/lib
#runtime_library_dirs = %(library_dirs)s
# SGI MPI example
# ---------------
[sgimpi]
define_macros = SGI_MPI=1
mpi_dir = /usr
mpicc = icc
mpicxx = icpc
include_dirs = %(mpi_dir)s/include
libraries = mpi
library_dirs = %(mpi_dir)s/lib
runtime_library_dirs = %(library_dirs)s
# IBM POE/MPI example
# -------------------
[poempi]
mpicc = mpcc_r
mpicxx = mpCC_r
# MPICH3 example (Windows)
# ------------------------
[mpich3-windows]
mpi_dir = $ProgramFiles\MPICH
include_dirs = %(mpi_dir)s\include
libraries = mpi
library_dirs = %(mpi_dir)s\lib
# MPICH2 example (Windows)
# ------------------------
[mpich2-windows]
mpi_dir = $ProgramFiles\MPICH2
include_dirs = %(mpi_dir)s\include
libraries = mpi
library_dirs = %(mpi_dir)s\lib
# Open MPI example (Windows)
# -------------------------
[openmpi-windows-32bit]
mpi_dir = $ProgramFiles\OpenMPI_v1.6.1-win32
#define_macros = OMPI_IMPORTS
include_dirs = %(mpi_dir)s\include
libraries = libmpi
library_dirs = %(mpi_dir)s\lib
[openmpi-windows-64bit]
mpi_dir = $ProgramFiles\OpenMPI_v1.6.1-win64
#define_macros = OMPI_IMPORTS
include_dirs = %(mpi_dir)s\include
libraries = libmpi
library_dirs = %(mpi_dir)s\lib
# DeinoMPI example
# ----------------
[deinompi]
mpi_dir = $ProgramFiles\DeinoMPI
include_dirs = %(mpi_dir)s\include
libraries = mpi
library_dirs = %(mpi_dir)s\lib
# Microsoft MPI example
# ---------------------
[msmpi-32bit]
mpi_dir = $ProgramFiles\Microsoft MPI
include_dirs = %(mpi_dir)s\inc
libraries = msmpi
library_dirs = %(mpi_dir)s\lib\i386
[msmpi-64bit]
mpi_dir = $ProgramFiles\Microsoft MPI
include_dirs = %(mpi_dir)s\inc
libraries = msmpi
library_dirs = %(mpi_dir)s\lib\amd64
# SiCortex MPI example
# --------------------
[sicortex]
mpicc = mpicc --gnu
mpicxx = mpicxx --gnu
# LAM/MPI example
# ---------------
[lammpi]
mpi_dir = /home/devel/mpi/lam-7.1.4
mpicc = %(mpi_dir)s/bin/mpicc
mpicxx = %(mpi_dir)s/bin/mpic++
include_dirs = %(mpi_dir)s/include
libraries = lammpio mpi lam
library_dirs = %(mpi_dir)s/lib
runtime_library_dirs = %(library_dirs)s
# MPICH1 example
# --------------
[mpich1]
mpi_dir = /home/devel/mpi/mpich-1.2.7p1
mpicc = %(mpi_dir)s/bin/mpicc
mpicxx = %(mpi_dir)s/bin/mpicxx
include_dirs = %(mpi_dir)s/include
libraries = mpich
library_dirs = %(mpi_dir)s/lib/shared:%(mpi_dir)s/lib
runtime_library_dirs = %(mpi_dir)s/lib/shared
# Fake MPI, just for testing
# --------------------------
[fakempi]
mpicc = cc
mpicxx = c++
include_dirs = misc/fakempi