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
This builds OPM Flow, and it exports the path to the flow executable (i.e., executing in the terminal **which flow** should print the path).
164
+
This builds OPM Flow, and it exports the path to the flow executable. You can check if the installation of OPM Flow succeded by typing in the terminal **flow\-\-help**.
153
165
154
166
.. tip::
155
167
See `this repository <https://github.com/daavid00/OPM-Flow_macOS>`_ dedicated to build OPM Flow from source in the latest macOS (GitHub actions).
<liclass="toctree-l3"><aclass="reference internal" href="#source-build-in-linux-windows">Source build in Linux/Windows</a></li>
54
+
<liclass="toctree-l3"><aclass="reference internal" href="#brew-formula-for-macos">Brew formula for macOS</a></li>
53
55
<liclass="toctree-l3"><aclass="reference internal" href="#source-build-in-macos">Source build in macOS</a></li>
54
56
</ul>
55
57
</li>
@@ -141,11 +143,17 @@ <h2>OPM Flow<a class="headerlink" href="#opm-flow" title="Link to this heading">
141
143
<ulclass="simple">
142
144
<li><p>OPM Flow (<aclass="reference external" href="https://opm-project.org">https://opm-project.org</a>, Release 2025.10 or current master branches)</p></li>
143
145
</ul>
146
+
<sectionid="binary-packages">
147
+
<h3>Binary packages<aclass="headerlink" href="#binary-packages" title="Link to this heading"></a></h3>
148
+
<p>See the <aclass="reference external" href="https://opm-project.org/?page_id=36">downloading and installing</a> OPM Flow online documentation for
149
+
instructions to install the binary packages in Ubuntu and Red Hat Enterprise Linux, and for other platforms which are
150
+
supported either via source builds or through running a virtual machine.</p>
144
151
<divclass="admonition tip">
145
152
<pclass="admonition-title">Tip</p>
146
153
<p>See the <aclass="reference external" href="https://github.com/cssr-tools/pyopmnearwell/blob/main/.github/workflows/CI.yml">CI.yml</a> script
147
154
for installation of OPM Flow (binary packages) and the pyopmnearwell package in Ubuntu.</p>
148
155
</div>
156
+
</section>
149
157
<sectionid="source-build-in-linux-windows">
150
158
<h3>Source build in Linux/Windows<aclass="headerlink" href="#source-build-in-linux-windows" title="Link to this heading"></a></h3>
151
159
<p>If you are a Linux user (including the Windows subsystem for Linux, see <aclass="reference external" href="https://learn.microsoft.com/en-us/windows/python/web-frameworks">this link</a>
@@ -174,26 +182,34 @@ <h3>Source build in Linux/Windows<a class="headerlink" href="#source-build-in-li
174
182
<p>You can create a .sh file (e.g., build_opm_mpi.sh), copy the previous lines, and run in the terminal <strong>source build_opm_mpi.sh</strong></p>
175
183
</div>
176
184
</section>
185
+
<sectionid="brew-formula-for-macos">
186
+
<spanid="macos"></span><h3>Brew formula for macOS<aclass="headerlink" href="#brew-formula-for-macos" title="Link to this heading"></a></h3>
187
+
<p>For macOS, there are no available binary packages, so OPM Flow needs to be built from source. Recently, a formula to build flow using brew has
188
+
been added in <aclass="reference external" href="https://github.com/cssr-tools/homebrew-opm">https://github.com/cssr-tools/homebrew-opm</a>.
189
+
Then, you can try to install flow (v2025.10) by simply typing:</p>
<p>You can check if the installation of OPM Flow succeded by typing in the terminal <strong>flow --help</strong>.</p>
194
+
<divclass="admonition tip">
195
+
<pclass="admonition-title">Tip</p>
196
+
<p>See the actions in the <aclass="reference external" href="https://github.com/cssr-tools/homebrew-opm/actions">cssr-tools/homebrew-opm</a> repository.</p>
197
+
</div>
198
+
</section>
177
199
<sectionid="source-build-in-macos">
178
-
<spanid="macos"></span><h3>Source build in macOS<aclass="headerlink" href="#source-build-in-macos" title="Link to this heading"></a></h3>
179
-
<p>For macOS, there are no available binary packages, so OPM Flow needs to be built from source, in addition to the dune libraries
180
-
(see the <aclass="reference external" href="https://opm-project.org/?page_id=239">prerequisites</a>, which can be installed using macports or brew). For example,
181
-
with brew the prerequisites can be installed by:</p>
200
+
<h3>Source build in macOS<aclass="headerlink" href="#source-build-in-macos" title="Link to this heading"></a></h3>
201
+
<p>If you would like to build the latest OPM Flow from the master branch, then you can first install the prerequisites using brew:</p>
<p>In addition, it is recommended to uprade and update your macOS to the latest available versions (the following steps have
186
-
worked for macOS Tahoe 26.1 with Apple clang version 17.0.0).
187
-
After the prerequisites are installed and the vpyopmnearwell Python environment is created (see <aclass="reference internal" href="#vpyopmnearwell"><spanclass="std std-ref">Python package</span></a>),
188
-
then building OPM Flow can be achieved with the following bash lines:</p>
189
-
<p>This can be achieved by the following lines:</p>
206
+
worked for macOS Tahoe 26.2 with Apple clang version 17.0.0).
207
+
After the prerequisites are installed, then building OPM Flow can be achieved with the following bash lines:</p>
<p>This builds OPM Flow, and it exports the path to the flow executable (i.e., executing in the terminal <strong>which flow</strong> should print the path).</p>
235
+
<p>This builds OPM Flow, and it exports the path to the flow executable. You can check if the installation of OPM Flow succeded by typing in the terminal <strong>flow --help</strong>.</p>
223
236
<divclass="admonition tip">
224
237
<pclass="admonition-title">Tip</p>
225
238
<p>See <aclass="reference external" href="https://github.com/daavid00/OPM-Flow_macOS">this repository</a> dedicated to build OPM Flow from source in the latest macOS (GitHub actions).</p>
@@ -239,7 +252,7 @@ <h3>Source build in Linux/Windows<a class="headerlink" href="#source-build-in-li
239
252
<hr/>
240
253
241
254
<divrole="contentinfo">
242
-
<p>© Copyright 2023-2025, NORCE Research AS.</p>
255
+
<p>© Copyright 2023-2026, NORCE Research AS.</p>
243
256
</div>
244
257
245
258
Built with <ahref="https://www.sphinx-doc.org/">Sphinx</a> using a
0 commit comments