forked from mpi4py/mpi4py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mpi.cfg
133 lines (107 loc) · 3.63 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
# 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
# Fujitsu MPI example
# -------------------
[fujitsu-mpi]
mpicc = mpifcc
mpicxx = mpiFCC
define_macros = OPENMPI_DLOPEN_LIBMPI=1
extra_compile_args = -Nclang
extra_link_args = -Knolargepage
# 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]
include_dirs = %(mpi_dir)s\include
libraries = impi
library_dirs = %(mpi_dir)s\lib\release
# 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
# MPIUNI (PETSc)
# --------------
[mpiuni]
include_dirs = conf/mpiuni:$PETSC_DIR/include:$PETSC_DIR/$PETSC_ARCH/include
# NoMPI
# -----
[nompi]
include_dirs = conf/nompi
[nompi-fast]
include_dirs = conf/nompi
define_macros = HAVE_CONFIG_H=1