forked from mpi4py/mpi4py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmpi.cfg
192 lines (156 loc) · 5.17 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
# 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 [mpich], [openmpi], and [msmpi] 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 =
# MPICH example
# -------------
[mpich]
mpi_dir = /home/devel/mpi/mpich/4.0.0
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
# Open MPI example
# ----------------
[openmpi]
mpi_dir = /home/devel/mpi/openmpi/5.0.0
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
# 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
# Microsoft MPI example
# ---------------------
[msmpi-32bit]
mpi_dir = $ProgramFiles\Microsoft SDKs\MPI
include_dirs = %(mpi_dir)s\Include
libraries = msmpi
library_dirs = %(mpi_dir)s\Lib\x86
[msmpi-64bit]
mpi_dir = $ProgramFiles\Microsoft SDKs\MPI
include_dirs = %(mpi_dir)s\Include
libraries = msmpi
library_dirs = %(mpi_dir)s\Lib\x64
# Intel MPI for Windows
# ---------------------
[intelmpi-windows-32bit]
mpi_dir = $I_MPI_ROOT\ia32
include_dirs = %(mpi_dir)s\include
libraries = impi
library_dirs = %(mpi_dir)s\lib\release
[intelmpi-windows-64bit]
mpi_dir = $I_MPI_ROOT\intel64
include_dirs = %(mpi_dir)s\include
libraries = impi
library_dirs = %(mpi_dir)s\lib\release
# 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
# No MPI
# ------
[nompi]
include_dirs = conf/nompi
# MPIUNI (PETSc)
# --------------
[mpiuni]
include_dirs = conf/mpiuni:$PETSC_DIR/include:$PETSC_DIR/$PETSC_ARCH/include
# Fujitsu MPI example
# -------------------
[fujitsu-mpi]
mpicc = mpifcc
mpicxx = mpiFCC
define_macros = OPENMPI_DLOPEN_LIBMPI=1
extra_compile_args = -Nclang
extra_link_args = -Knolargepage