You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/installation/macos.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,11 +51,7 @@ where `<ISSM_PATH>` is the path to the copy of the ISSM source code that you che
51
51
## System Packages
52
52
**NOTE**: The following assumes use of the GNU compiler collection (i.e. `gcc`, `gfortran`), the <ahref="https://brew.sh"target="_blank">Homebrew package manager</a>, and `sudo` privileges.
53
53
54
-
In order to install ISSM on macOS, you will need the Xcode Command Line Tools, which can be installed with,
55
-
````
56
-
xcode-select --install
57
-
````
58
-
Alternatively, you can use the compiler and other build tools that come with <ahref="https://developer.apple.com/xcode/"target="_blank">Xcode</a>, but if you do not otherwise use Xcode as an IDE, we recommend installing only the Command Line Tools.
54
+
In order to install ISSM on macOS, you will need the compilers and other build tools that come with <ahref="https://developer.apple.com/xcode/"target="_blank">Xcode</a>.
59
55
60
56
{: .highlight-title }
61
57
> Important
@@ -67,7 +63,7 @@ Alternatively, you can use the compiler and other build tools that come with <a
67
63
68
64
Unfortunately, both the Command Line Tools and Xcode lack a Fortran compiler, which is required for various external packages. We recommend either of the following methods for installing `gfortran`,
69
65
70
-
- <a href="https://github.com/fxcoudert/gfortran-for-macOS" target="_blank">FX Coudert's GitHub repository for macOS installers for GNU Fortran</a>.
66
+
- <a href="https://github.com/fxcoudert/gfortran-for-macOS" target="_blank">FX Coudert's GitHub repository for macOS installers for GNU Fortran</a> (Preferred).
71
67
- Via Homebrew with,
72
68
````
73
69
brew install gfortran
@@ -87,7 +83,7 @@ Download and install the desired version of MATLAB from the <a href="https://www
87
83
<i id="macos-python-interface"></i>
88
84
### Python Interface
89
85
**NOTE**:
90
-
- We assume use of copy of Python 3 supplied by the Command Line Tools.
86
+
- We assume use of copy of Python 3 supplied by XCode.
91
87
- There are various methods for installing the required packages. The following is our suggestion.
92
88
93
89
Create a Python virtual environment for ISSM and activate it with,
@@ -196,6 +192,10 @@ If the configuration completed without any errors, ISSM can now be compiled with
196
192
make
197
193
make install
198
194
````
195
+
if you want to speed up the compilation, you can multithread make using
196
+
````
197
+
make -j4
198
+
````
199
+
change 4 to the number of threads you want to use.
199
200
200
-
You are now ready to
201
-
<a href="../getting-started" target="_top">get started with ISSM</a>!
201
+
You are now ready to <a href="../getting-started" target="_top">get started with ISSM</a>!
0 commit comments