Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,19 @@
<center><h2 id="on-mac">On Mac</h2></center>

<p><strong>If you have a recent Mac with an Apple silicon (arm64) chip</strong>, mind the following:
Python cannot install the fast <code>MKL Pardiso solver</code> on arm64 natively and will use <code>Accelerate</code> by default, which becomes unacceptably slow for larger problems. There are two workarounds, either install pyoomph in a <code>Rosetta 2 terminal</code> to use MKL Pardiso or install <code>PETSc/SLEPc</code> and use <code>MUMPS</code> as fast linear solver instead.
Python cannot install the fast <code>MKL Pardiso solver</code> on arm64 natively and will use <code>Accelerate</code> by default, which becomes unacceptably slow for larger problems. There are two workarounds, either install pyoomph in a <code>Rosetta 2 terminal</code> to use MKL Pardiso or install <code>PETSc/SLEPc</code> and use <code>MUMPS</code> as fast linear solver instead.</p>

For the first option, you must run the installation command above in a <code>Rosetta 2 terminal</code>, see <a href="https://www.courier.com/blog/tips-and-tricks-to-setup-your-apple-m1-for-development/">here</a> how to set it up (note that recent systems must be handled as described <a href="https://developer.apple.com/forums/thread/718666">here</a>). Also, please make sure to not upgrade your <code>mkl</code> package, i.e. enforce it to version 2021.4.0.</p>
<ul><li><p>For the first option, you must run the installation command above in a <code>Rosetta 2 terminal</code>, see <a href="https://www.courier.com/blog/tips-and-tricks-to-setup-your-apple-m1-for-development/">here</a> how to set it up (note that recent systems must be handled as described <a href="https://developer.apple.com/forums/thread/718666">here</a>). Also, please make sure to not upgrade your <code>mkl</code> package, i.e. enforce it to version 2021.4.0.</p>

<codebox>
<p>python3 -m pip install mkl==2021.4.0</p>
</codebox>

<p> See <a href="https://pyoomph.readthedocs.io/en/latest/tutorial/installation/source/mac.html">here</a> for further details. Also, you might have to use a less recent version of python, see <a href="https://github.com/pyoomph/pyoomph/blob/main/Mac_arm64_with_Pardiso.md">here</a> for details.</p>
<p> See <a href="https://pyoomph.readthedocs.io/en/latest/tutorial/installation/source/mac.html">here</a> for further details. Also, you might have to use a less recent version of python, see <a href="https://github.com/pyoomph/pyoomph/blob/main/Mac_arm64_with_Pardiso.md">here</a> for details.</p> </li>

<p>For the second option (PETSc with MUMPS), please refer to <a href="https://pyoomph.readthedocs.io/en/latest/tutorial/installation/petscslepc.html">the installation instructions</a>.</p>


<p>In any case, make sure to have the <code>XCode</code> developer tools, e.g., by installing them via</p>
<li><p>For the second option (PETSc with MUMPS), please refer to <a href="https://pyoomph.readthedocs.io/en/latest/tutorial/installation/petscslepc.html">the installation instructions</a>.</p></li>
</ul>
<p><strong>In any case</strong>, make sure to have the <code>XCode</code> developer tools, e.g., by installing them via</p>

<codebox>
<p>xcode-select --install</p>
Expand Down
Loading