@@ -38,14 +38,12 @@ OpenCoarrays source.
38
38
39
39
### macOS ###
40
40
41
- [ ![ homebrew] [ Homebrew badge ]] [ braumeister link ]
42
-
43
- #### [ Homebrew] ####
44
-
41
+ * [ Homebrew] :
42
+ [ ![ homebrew] [ Homebrew badge ]] [ braumeister link ]
45
43
This is the recommend OpenCoarrays installation method on macOS.
46
44
Basic Homebrew installation steps:
47
45
48
- ``` bash
46
+ ```
49
47
brew update
50
48
brew install opencoarrays
51
49
```
@@ -55,14 +53,13 @@ OpenCoarrays source.
55
53
with the GNU Compiler Collection ([ GCC] ). To install using the
56
54
[ ` Brewfile ` ] [ Brewfile ] with MPICH wrapping GCC, follow these steps:
57
55
58
- ``` bash
56
+ ```
59
57
brew tap homebrew/bundle
60
58
brew update
61
59
brew bundle
62
60
```
63
61
64
- #### [ MacPorts] ####
65
-
62
+ * [ MacPorts] :
66
63
An unmaintained [ OpenCoarrays Portfile] exists for the [ MacPorts] package
67
64
manager. Although the current OpenCoarrays contributors have no plans to
68
65
update the portfile, new contributors are welcome to asssume the port
@@ -114,7 +111,7 @@ eb OpenCoarrays-1.9.0-gompi-2017a.eb --robot
114
111
Once installed, use OpenCoarrays by loading the newly created environment
115
112
module ` OpenCoarrays/1.9.0-gompi-2017a ` :
116
113
117
- ``` bash
114
+ ```
118
115
module load OpenCoarrays/1.9.0-gompi-2017a
119
116
```
120
117
@@ -141,7 +138,7 @@ already installed, and is available as a compiler to Spack. Otherwise,
141
138
[ add a new compiler to Spack] . Once installed, OpenCoarrays can be
142
139
used by [ loading the environment modules with Spack] , e.g.
143
140
144
- ``` bash
141
+ ```
145
142
spack module loads --dependencies opencoarrays
146
143
```
147
144
@@ -152,7 +149,7 @@ spack module loads --dependencies opencoarrays
152
149
Use the OpenCoarrays FreeBSD, Port to install OpenCoarrays by
153
150
executing the following commands as root:
154
151
155
- ``` bash
152
+ ```
156
153
pkg install opencoarrays
157
154
```
158
155
@@ -182,7 +179,7 @@ OpenCoarrays by downloading and uncompressing our [latest release] and
182
179
running our installation script in the top-level OpenCoarrays source
183
180
directory (see above for the corresponding [ Windows] script):
184
181
185
- ``` bash
182
+ ```
186
183
tar xvzf OpenCoarrays-x.y.z.tar.gz
187
184
cd OpenCoarrays-x.y.z
188
185
./install.sh
@@ -210,21 +207,21 @@ of flags. Each flag also has a single-character version not shown here.
210
207
and installation files will be inside the OpenCoarrays source tree under
211
208
prerequisites/installations:
212
209
213
- ``` bash
210
+ ```
214
211
./install.sh
215
212
```
216
213
217
214
1 . Install non-interactively by assuming a "yes" answer to all
218
215
questions
219
216
220
- ``` bash
217
+ ```
221
218
./install.sh --yes-to-all
222
219
```
223
220
224
221
1 . Install with the specified compilers, overriding the default
225
222
compilers:
226
223
227
- ``` bash
224
+ ```
228
225
./install.sh --with-fortran <path-to-gcc-bin>/gfortran \
229
226
--with-cxx <path-to-gcc-bin>/g++ \
230
227
--with-c <path-to-gcc-bin>/gcc
@@ -237,42 +234,42 @@ of flags. Each flag also has a single-character version not shown here.
237
234
238
235
1 . Install only a specific prerequisite package (the default version):
239
236
240
- ``` bash
237
+ ```
241
238
./install.sh --package mpich
242
239
```
243
240
244
241
1 . Install a specific version of a prerequisite:
245
242
246
- ``` bash
243
+ ```
247
244
./install.sh --package cmake --install-version 3.7.0
248
245
```
249
246
250
247
1 . Download a prerequisite package (e.g., gcc/gfortran/g++ below) but
251
248
don't build or install it:
252
249
253
- ``` bash
250
+ ```
254
251
./install.sh --only-download gcc
255
252
```
256
253
257
254
1 . Print the default URL, version, or download mechanism that the
258
255
script will use for a given prerequisite package (e.g., mpich
259
256
below) on this system:
260
257
261
- ``` bash
258
+ ```
262
259
./install.sh --print-url mpich
263
260
./install.sh --print-version mpich
264
261
./install.sh --print-downloader mpich
265
262
```
266
263
267
264
1 . Install a prerelease branch (e.g., trunk below) of the GCC repository:
268
265
269
- ``` bash
266
+ ```
270
267
./install.sh --package gcc --install-branch trunk
271
268
```
272
269
273
270
1 . Install to a specific location:
274
271
275
- ``` bash
272
+ ```
276
273
./install.sh --install-prefix /opt/gnu/
277
274
```
278
275
@@ -282,7 +279,7 @@ of flags. Each flag also has a single-character version not shown here.
282
279
283
280
1 . Install a prerequisite package from a non-default URL:
284
281
285
- ``` bash
282
+ ```
286
283
./install.sh --package gcc \
287
284
--from-url https://github.com/sourceryinstitute/gcc/archive/teams-20170919.tar.gz \
288
285
--install-version teams-20170919
@@ -293,7 +290,7 @@ of flags. Each flag also has a single-character version not shown here.
293
290
294
291
1 . Speed up a GCC build at a higher risk of a faild build:
295
292
296
- ``` bash
293
+ ```
297
294
./install.sh --package gcc --disable-bootstrap
298
295
```
299
296
@@ -302,7 +299,7 @@ of flags. Each flag also has a single-character version not shown here.
302
299
303
300
1 . Speed up a GCC build with multithreading at a risk of a failed build:
304
301
305
- ``` bash
302
+ ```
306
303
./install.sh --package gcc --num-threads 4
307
304
```
308
305
@@ -348,7 +345,7 @@ your build directory be any directory other than the top-level OpenCoarays
348
345
source directory. In a bash shell, the following steps should build OpenCoarrays,
349
346
build the tests, run the tests, and report the test results:
350
347
351
- ``` bash
348
+ ```
352
349
tar xvzf opencoarrays.tar.gz
353
350
cd opencoarrays
354
351
mkdir opencoarrays-build
@@ -405,7 +402,7 @@ If none of the installation methods mentioned higher in this document are
405
402
work on your platform and if CMake is unavailable, build and install the
406
403
OpenCoarrays parallel runtime library as follows:
407
404
408
- ``` bash
405
+ ```
409
406
tar xvzf opencoarrays.tar.gz
410
407
cd opencoarray/src
411
408
make
0 commit comments