@@ -177,7 +177,7 @@ Compilation on OSX (>=10.13)
177
177
.. code-block :: bash
178
178
:linenos:
179
179
180
- brew cask install gfortran
180
+ brew -- cask install gfortran
181
181
182
182
.. note :: If you have installed gcc via brew, gfortran comes with it and you do not need this line
183
183
@@ -191,25 +191,25 @@ Compilation on OSX (>=10.13)
191
191
tar xf openmpi-4.0.1
192
192
cd openmpi-4.0.1/
193
193
# to install mpich
194
- curl -L http ://www.mpich.org/static/downloads/3.3 .2/mpich-3.3 .2.tar.gz --output mpich-3.3 .2.tar.gz
195
- tar xf mpich-3.3.2
196
- cd mpich-3.3 .2
194
+ curl -L https ://www.mpich.org/static/downloads/4.0 .2/mpich-4.0 .2.tar.gz --output mpich-4.0 .2.tar.gz
195
+ tar xf mpich-4.0.2.tar.gz
196
+ cd mpich-4.0 .2
197
197
198
198
.. code-block :: bash
199
199
:lineno-start: 4
200
200
201
201
# with brew gcc gfortran compilers
202
- ./configure CC=clang CXX=clang++ FC=gfortran-9 F77=gfortran-9 --prefix=/where/you/want/to/have/files/installed
202
+ FFLAGS=-fallow-argument-mismatch FCFLAGS=-fallow-argument-mismatch ./configure CC=clang CXX=clang++ FC=gfortran-11 F77=gfortran-11 --prefix=/where/you/want/to/have/files/installed
203
203
204
204
# with LLVM gcc and brew gfortran compilers
205
- ./configure CC=gcc-9 CXX=g++-9 FC=gfortran-9 F77=gfortran-9 --prefix=/where/you/want/to/have/files/installed
205
+ FFLAGS=-fallow-argument-mismatch FCFLAGS=-fallow-argument-mismatch ./configure CC=gcc-11 CXX=g++-11 FC=gfortran-11 F77=gfortran-11 --prefix=/where/you/want/to/have/files/installed
206
206
207
207
208
208
.. code-block :: bash
209
209
:lineno-start: 5
210
210
211
211
make -j< nbProcs>
212
- make -j < nbProcs > install
212
+ make install
213
213
214
214
4. Install the minimal libraries for **FreeFEM **
215
215
@@ -237,12 +237,12 @@ Compilation on OSX (>=10.13)
237
237
.. code-block :: bash
238
238
:linenos:
239
239
240
- curl -O http ://mirror.cyberbits.eu/ gnu/gsl/gsl-2.5 .tar.gz
241
- tar zxvf gsl-2.5 .tar.gz
242
- cd gsl-2.5
240
+ curl -O https ://mirror.ibcp.fr/pub/ gnu/gsl/gsl-2.7 .tar.gz
241
+ tar zxvf gsl-2.7 .tar.gz
242
+ cd gsl-2.7
243
243
./configure
244
244
make -j< nbProcs>
245
- make -j < nbProcs > install --prefix=/where/you/want/to/have/files/installed
245
+ make install --prefix=/where/you/want/to/have/files/installed
246
246
247
247
8. Download the latest Git for Mac installer `git <https://git-scm.com/download/mac >`__ and the **FreeFEM ** source from the repository
248
248
@@ -266,14 +266,12 @@ Compilation on OSX (>=10.13)
266
266
:lineno-start: 3
267
267
268
268
// with brew gcc gfortran compilers
269
- ./configure --enable-download CC=clang CXX=clang++ F77=gfortran-9
270
- FC=gfortran-9 --prefix=/where/you/want/to/have/files/installed
269
+ ./configure --enable-download -enable-optim CC=clang CXX=clang++ F77=gfortran-11
270
+ FC=gfortran-11 --prefix=/where/you/want/to/have/files/installed
271
271
272
272
// with LLVM gcc and brew gfortran compilers
273
- ./configure --enable-download CC=clang CXX=clang++ F77=gfortran-9
274
- FC=gfortran-9 --prefix=/where/you/want/to/have/files/installed
275
-
276
-
273
+ ./configure --enable-download -enable-optim CC=gcc CXX=g++ F77=gfortran-11
274
+ FC=gfortran-11 --prefix=/where/you/want/to/have/files/installed
277
275
278
276
10. Download the 3rd party packages to use FreeFEM plugins
279
277
0 commit comments